|
Integrate a Database with Your Website - mySQL and PHPFor those of you with more complex needs, we can provide both PHP scripting and mySQL support your sites. Your web site control panel provides a PHP based tool, PhpMyAdmin (Version 2.6.4) to support mySQL administration. We also provide links to some sample PHP scripts below.
This is an advanced scripting language which can be used to make your web pages more dynamic. It is active for all sites at no extra cost. PHP is similar to Perl, and can be used for basically anything you would use a Perl script for. The advantage is that PHP is built into the web server program itself and does not require the additional execution time Perl scripts need. Consult the PHP site for complete documentation. We have some recommended books here.
DEBUG TIPS: When debugging you scripts here is an example .htaccess file you can place in your directory so that you can see compiler warnings on your browser. It also shows you how to redirect traffic from an HTML version of a file, to a php version. Lines beginning with a '#" are comments. This file will also affect all subdirectories. # Turn on screen display of php warnings and errors.
# Force existing php3 files to be handled as php4 MySQL Password: check our permissions help for a way to reference your MySQL password from PHP in a secure manner. Please remember that we cannot edit/debug scripts you may write. These are programming tools and do require more experience than standard HTML. If you need a project done, we would be happy to give you a quote on the effort.
"What needs to change" - The new PHP 5 has been implemented We recommend you review the information below to make sure your scripts will be compatible. The following page at the PHP web site has some excellent information: |
|