You are here: Re: Open-save .php file error instead of execute? « PHP Programming Language « IT news, forums, messages
Re: Open-save .php file error instead of execute?

Posted by Rik on 06/30/06 11:25

Adam wrote:
> On one site I'm working on I occasionally get an error where instead
> of executing the PHP file as per normal, the browser sees the page as
> a file (therefore opens up a execute/save pop-up).
>
> All these pages work fine locally on my Apache/WinXP but produces
> these errors on the remote server (Linux/on Apache/1.3.34).
>
> Where do I start looking?
>
> I suspect there's some malformed headers being produced/sent as some
> of the scripts use re-direction.
>
> Or is it some basic Apache misconfiguration (it's on a remote hosted
> server)?

1. Check wether all your files end on .php after redirection (you could have
altered that locally, but that's not standard.
2. Try reading the error log of the server, and check what is's doing when
it serves the php as a normal file.

Grtz,
--
Rik Wasmus

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация