Archive for March, 2008

File Uploaders with PHP

You can build a lot of things with PHP and one important program you can compile are file uploaders which will be important when you need to place images or other files necessary for you site.

If you’re a PHP developer who has built a certain number of web applications, then it’s quite probable that you’ve already worked with HTTP file uploads. They play a relevant role in the business logic of any PHP program that permits users to transfer specific files from their client computers to a web server via a web-based front-end, which is generally represented by an online form.

(Source) Devshed

Familiarizing Yourself with PHP Programming Tags

Just like any programming language today, PHP has its share of commands which we now call as tags. These as the ones used to start and end a program or a website output in this case.

For some people, it may be too complicated but given a couple of sessions and trial on how to program using PHP, most of these tags such as and will become elementary for most.

Tags are the starting and ending point for a specific code snippet belonging to any scripting language. For this purpose first of all you have to understand the process of a web page display in your browser window i.e Internet Explorer (IE), Opera or FireFox (FF).

(Source) How to Forge

Familiarizing yourself with PHP Variables

hacker.gif

In programming, PHP has its share of own variables and command lines that will be different from other standard web applications used for website designs today. While they may be hard to get used to in the primary stages, do remember that PHP programming is a totally new software you have to get acquainted with.

Similar to any new programming language, you will encounter errors and problems in the early stages. A lot of it will eventually be taken out as you learn from the errors and overlooked commands in the end. All it needs is constant practice and debugging so that you can understand what you have been leaving out in the course of understanding the use of the PHP software.

Restoring your MySQL Database (part 2)

figure18.jpg

Locate the database you just created at the list of MySQL databases at the left side of the screen and then click it. Click the name of the database to open the admin site for this database. Then click the tab that says “Import” so you can import the backup copy of your previous MySQL database. Click on the “Go” button once you entered the “browse” button and have surfed to the backup pile. The import is not complete yet; wait for the confirmation message that will be loaded to verify that the queries have been finished. If you have successfully restored your MySQL database, you should have database tables and information at the left side of your screen.

Restoring your MySQL Database (part 1)

shot1107_01.jpg

You may have a few reasons why you need to restore your MySQL database and as long as you have your database backed up, you will actually find it easy to restore your MySQL database. Create a new MySQL database by logging into the control panel of your web host and click the link for creating a MySQL database. You can use your old username, password and database name for you not to update anymore and fill in again the configuration file on the scripts that power your site. After creating a new database, return to the main page. Look for “PhpMyAdmin” link; click it for you to enter the admin area.