Re: [PHP] PHP and file extensions

2003-03-20 Thread Chris Hewitt
Beauford.2002 wrote: accessed unless you log in - is there a way to have this line in an html file without changing the extension to .php? Yes, but you need to tell Apache (in the AddType line in httpd.conf) to parse all .html files with php. This has a performance implication for ordinary

Re: [PHP] PHP and file extensions

2003-03-20 Thread Beauford.2002
PROTECTED] Sent: Thursday, March 20, 2003 4:28 AM Subject: Re: [PHP] PHP and file extensions Beauford.2002 wrote: accessed unless you log in - is there a way to have this line in an html file without changing the extension to .php? Yes, but you need to tell Apache (in the AddType line

Re: [PHP] PHP and file extensions

2003-03-20 Thread Nikunj Virani
What about IIS. This is what the customer is usingand I know d*** about IIS. I would assume that there is a similar thing for IIS, but have no idea where to even look. If you are using IIS 3.0 Check out install.txt file which comes with PHP Win32 Binary. It says: Run Regedit. Navigate

[PHP] PHP and file extensions

2003-03-19 Thread Beauford.2002
Still working on this authentication script and have a small question. Each page on the site needs to have one line of code on it so it can't be accessed unless you log in - is there a way to have this line in an html file without changing the extension to .php? On the same note, there is a small