This PHP file contains genuine XML code, WML code and HTML4 code and exports the page relevant to the browser detected. Currently, only Internet Explorer 5 is capable of using XML with XSL - the extensible stylesheet that allows transformation of XML data as well as formatting. For more information on XML and browsers, view the codehelp XML tutorial.
PHP is server based and not all web servers have PHP. To find out, create a simple text file and type: <?php phpinfo(); ?>. Now save the file with a .php3, .php, or .phtml extension and upload to your server using FTP. Unlike most servers that allow CGI/Perl scripts, if your server supports PHP the script files can be placed in any directory and no permissions need to be changed. If PHP is running on your server, when you access this file using your HTML browser, you will see a welcome page generated by the PHP engine detailing all the options and variables in use by PHP on your server. Please note that this information could be useful to someone trying to crack into your server, so save the file to your home computer as HTML using your web browser then delete the phpinfo script from the server using FTP.
It is important to check the configuration of PHP on your server, using the information generated by phpinfo() because PHP can be configured to perform a variety of tasks from dynamic image generation to database integration using MySQL etc. Not all these features will be installed on your server. You may need to ask your ISP or webhost for help before PHP will be able to do the tasks you require.
This is part of www.codehelp.co.uk Copyright © 1998-2004 Neil Williams
See the file about.html for
copying conditions.