|  | Posted by Geoff Berrow on 12/23/06 07:44 
Message-ID: <1166835153.013937.264740@79g2000cws.googlegroups.com> fromChuck contained the following:
 
 >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.
 
 Don't worry.  If you can see the code you won't be accessing anything.
 Once you get PHP working you won't see it.  However, it's a good idea to
 but really sensitive stuff (db username and password etc) above the web
 root, just in case PHP accidentally gets turned off.
 
 --
 Geoff Berrow (put thecat out to email)
 It's only Usenet, no one dies.
 My opinions, not the committee's, mine.
 Simple RFDs http://www.ckdog.co.uk/rfdmaker/
  Navigation: [Reply to this message] |