Reply to Re: PHP Uploader displays PHP Code in IE. Works fine in Firefox, Safari

Your name:

Reply:


Posted by shimmyshack on 06/29/07 03:21

On Jun 28, 9:30 pm, <haven...@bellsouth.net> wrote:
> I just wrote a PHP file uploader. It works perfectly in Firefox (PC-XP) and
> Safari (Mac OS-X). But in IE, when you click upload IE shows the PHP source
> file. I've searched all my PHP books and online PHP and can find nothing
> about IE showing the source.
>
> I've looked at the code in Dreamweaver and several other editors. It sure
> does not look like there are errors.
>
> Help Please! Thank you.
>
> Lynn
> l...@wetbasement.com



by "PHP source file" do you mean actual PHP code - if so the only
choice you have is to keep looking for errors in your code, because
there are some as Aho says.
Have you got weird server setup that detects browsers by user agent
and does things differently for IE?
It is perhaps because IE is sending slightly different details to the
server that your server is responding differently, have you got a bug
in your html, javascript that might not work properly in IE and so is
not sending the right details.

Source code is never returned unless theres a bug with your server
config, or a downloader script that is opening and serving php code,
it is always a server problem even if the problem is only caused by
bad client code.

[Back to original 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

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