| |
| |||||||||||||
PHP pagesPHP is a server-side, cross-platform, HTML embedded scripting language. More information about php can be found at http://www.php.net. Default directory for PHP script files on HOSTEX is /www. Server interprets files as PHP scripts only if they have .php, .phtml, .php3 extension. Permissions of these pages do not differ from HTML pages: -rw-r--r-- (644). You can also access MySQL database using php. You can use zlib, gd, freetype, dbase.dbf php modules with your server. Easy installation of PHP Base Library: 1) Download latest version of the Library from http://phplib.netuse.de/ 2) Extract it: > tar xzvf phplib-<ver>.tar.gz change your current directory to newly created "phplib-<ver>" directory. 3) Modify 'DB_Example' class description in 'php/local.inc' file:
class DB_Example extends DB_Sql {
var $Host = "
4) Use FTP to transfer contents of './php' directory to './lib'
directory.
5) Uncomment all 'include' statements in all files in './pages' directory. Use FTP to transfer contents of './pages' directory to your virtual server '/www/pages' directory. 6) Insert contents from './stuff/create_database.mysql' file to "Run SQL query/queries on database" field in HOSTEX database administration system from Control Center. Now you should be able to use PHP Base Library. | ||||||||||||||
| ||||||||||||||