Welcome, Guest. [ Log In ]
Question   Can I make my index page a cgi or php script?
Search KBase


Top 5 in this Area:
1. How can people subscribe to my mailing list?
2. Do you have this perl module installed on your servers?
3. What's the difference between PHP-CGI and PHP as an Apache module?
4. PHP Security
5. How do I dump data into MySQL?

 
Can I make my index page a cgi or php script?
Yes. Simply name the file 'index.cgi'.

You can also have a php script be your index page by naming it "index.php" or "index.phtml" or "index.php3" or "index.pcgi"!

Just make sure that you don't also have a file named index.html in the same directory, because the server will use that one instead!

Last updated: Nov 22, 2002.