LMNT> As far as I understood it, for a server process the php
LMNT> code, the file must have the extension .php 

You can use any extension for PHP, as long as you tell Apache (or
other web server) to process files of that extension as PHP files.

LMNT> Does that mean that I can't have any php in my main page?

No.  If using Apache, you can set the value of DirectoryIndex (in
httpd.conf) to index.php index.html index.whatever.  You can have a
list of them. Apache will first look for the first name in the list,
and so on.

- Julie

--> Julie Meloni
--> www.thickbook.com

Find "Sams Teach Yourself MySQL in 24 Hours" at

PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to