On 6/24/01 10:22 PM, in article
9h6788$s91$[EMAIL PROTECTED], ""Rob Beckett""
<[EMAIL PROTECTED]> wrote:

>> If the file has a .php extension, my browser tries to download it.
>> If the file has a .php3 extension, I see the source code of the file.
>> If the file has a .php4 extension, my browser tries to download it.
> 
> Ok, I'm not a pro, but this stinks of (to call it something) the httpd.conf
> or definitions missing that tells the server how to process the file.
> 
> Got the: "AddType application/x-httpd-php .php" line in there? And the
> LoadModule command?
> 
> Just an idea. AFAIK, your browser will do what it does with the file being
> sent depending on the header sent, MIME-type, etc, and if your browser is
> trying to download it, then it's not receiving the right output from
> Apache/PHP, assuming the file is even being pre-processed.
> 
> Hopefully someone can agree or disagree here.
> 
> Have fun,
> 
> Rob Beckett.
> [EMAIL PROTECTED]
> 
> [NP: Da Hool - Meet Her At The Love Parade (Nalin & Kane Mix)]
> 
> 
> 
I figured it out.  I had several different "AddType" lines for php.  I
removed all but the AddType application/x-httpd-php .php line and everything
works just fine!

Thanks,
    Floyd


-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to