.php extension
| From: | Luis Miguel N. Tavora | Date: | Tue, 28 May 2002 22:30:34 +0000 |
| Subject: | .php extension | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-99579@lists.php.net to get a copy of this message | ||
Hi there.
I've started to code in PHP a couple of days ago, so
I'm really a newbie.
As far as I understood it, for a server process the php
code, the file must have the extension .php
But then, the apache server (for example) requires a file
index.html to be placed in the directory public_html/ ...
Does that mean that I can't have any php in my main page?
I've tried to overcome this by creating a symbolic link
index.html--->index.php
but didn't manage to "fool" the server, as it didn't
process the .php code!
Any suggestions/help will be much appreciated!
Thx in advance
Luis
------------------------------
Luis Miguel N. Távora
lmtavora@estg.iplei.pt
Message sent via Sylpheed
sylpheed-claws.sourceforge.net
------------------------------