You are here: Re: PHP failed to parse my script « PHP Language « IT news, forums, messages
Re: PHP failed to parse my script

Posted by Paul on 05/26/05 09:35

Du wrote:
> I received a scary peice of news from one of the user from my site. he
> saying that he was able to save the source code when trying to view my site
> (it was not parsed at all, he sent me the raw php script of my site)
>
> is this an apache hickup or i got some bug in my script?
>
> my first thought is apache failed to register the MIME type for that
> instant, and the make the php file acts like a text file
>
> what kinna things i can do to prevent this?
>
> so far all i done is move all my password files (db and other things) above
> the webroot path
>
>
> thanks, any input is greatly appreciated!
>
>
>
Hey... my first guess would be that your script's extension is not
registered? (ie if you have php code inside and .html file and apache
isn't configured to parse .html files.. then your php will come through
none parsed. Does this happen every time? are you able to recreate the
problem? or has it only happened once as far as you know and worked the
rest of the time?

 

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

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