Re: [PHP] source code display

2004-06-07 Thread Ben Ramsey
Oh, I also meant to mention this: Are you sure that Apache is loading in the correct PHP module? The following lines are in my httpd.conf file: LoadModule php4_module modules/libphp4.so AddType application/x-httpd-php php Assuming you're using PHP 3 instead of PHP 4, I guess you would load php3

Re: [PHP] source code display

2004-06-07 Thread Ben Ramsey
JN> Don't know if it matters or not, but all the 'examples' I've seen JN> have the dot before the extension, ie JN> JN> AddType application/x-httpd-php .php .php3 I've never used the dot (.) before the extension in Apache, and all works well. -- Regards, Ben Ramsey http://benramsey.com

Re: [PHP] source code display

2004-06-07 Thread John Nichel
Nguyen, Long P (Mission Systems) wrote: Yes. AddType application/x-httpd-php php php3 Don't know if it matters or not, but all the 'examples' I've seen have the dot before the extension, ie AddType application/x-httpd-php .php .php3 -- John C. Nichel KegWorks.com 716.856.9675 [EMAIL PROTECTED] --

RE: [PHP] source code display

2004-06-07 Thread Nguyen, Long P (Mission Systems)
Yes. AddType application/x-httpd-php php php3 -Original Message- From: John Nichel [mailto:[EMAIL PROTECTED] Sent: Monday, June 07, 2004 9:49 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] source code display Nguyen, Long P (Mission Systems) wrote: > Hi - > > When I try to br

Re: [PHP] source code display

2004-06-07 Thread John Nichel
Nguyen, Long P (Mission Systems) wrote: Hi - When I try to bring up an "index.php3" file on a browser, what display are source codes. And when I tried to bring up the same "index.php" file, I get the following: Is your web server parsing *.php3 files as php? Apache: AddType application/x-httpd-

Re: [PHP] source code display

2004-06-07 Thread Matt Matijevich
[snip] When I try to bring up an "index.php3" file on a browser, what display are source codes. [/snip] I dont see http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] source code display

2004-06-07 Thread Nguyen, Long P (Mission Systems)
Hi - When I try to bring up an "index.php3" file on a browser, what display are source codes. And when I tried to bring up the same "index.php" file, I get the following: _ setCols(2); $loginBox->addRow('Username'); $loginBox->addRow(