Reply to Re: how to hide PHP from browser?

Your name:

Reply:


Posted by seaside on 12/23/06 01:05

Chuck schrieb:

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

Install Apache's PHP module. Depending on your linux distribution, you
might probably configure certain stuff. In case you use SuSE,
everything should be automatic.

Once PHP is installed, Apache hands over each PHP file to the PHP
processors, which in turn computes results. If PHP isn't installed,
Apache handles PHP files as any other file - and thus passed it along
to the browser as is.

[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

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