You are here: Re: how to hide PHP from browser? « PHP Programming Language « IT news, forums, messages
Re: how to hide PHP from browser?

Posted by Rik on 12/24/06 11:12

Chuck wrote:
> Hi,
>
> I'm using Apache, and I created a .php page and viewed it
> in Firefox, and discovered that all of the <? ?> content
> was visible using View Source.
>
> How do I hide that PHP code from users?
>
> That code necessarily has PHP commands for acessing
> a database and so on... sensitive stuff.


If you have enabled php and you still see the code, try using <?php to open
a php block, and look up short open tags.


--
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

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