Sometimes when visiting a php page, the browser asks me to download the .php file with nothing in it

Posted by John on Stack Overflow See other posts from Stack Overflow or by John
Published on 2010-03-08T19:49:58Z Indexed on 2010/03/08 19:51 UTC
Read the original article Hit count: 144

Filed under:
|

I've noticed an unusual problem with some of my php programs. Sometimes when visiting a page like profile.edit.php, the browser throws a dialogue box asking to download profile.edit.php page. When I download it, there's nothing in the file. profile.edit.php is supposed to be a web form that edits user information.

I've noticed this on some of my other php pages as well. I look in my apache error logs, but don't see any errors. How do i figure out why this is happening?

© Stack Overflow or respective owner

Related posts about php

Related posts about error