IPB

USA Search | UK Search Search Directory | Free Forex Web Proxy

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
What should i do to hide php code with DB connection?, Technical Question
admin
post Jul 16 2008, 04:21 PM
Post #1


Administrator
***

Group: Root Admin
Posts: 7,518
Joined: 9-May 08
Member No.: 1



Question:

I'm new to PHP. I want to log in to the page and authenticate the user with the DB info. What should i do to hide the PHP code from the page source? Or is there another way?

Answer:
Your php code is never revealed if its in <?php ?> or <? ?> block and the php interpreter is working properly on your webserver. If you are also concerned about hiding it from the source code also (if its open source) then you should consider encoding the whole code through zend guard.

Thanks
Php Expert


--------------------
-------------------------------------------------------------------------------------------
AdGuru.org is a current happenings discussions board for Information Technology, News and Fun
visit: www.adguru.org
Go to the top of the page
 
+Quote Post
admin
post Nov 5 2008, 05:36 PM
Post #2


Administrator
***

Group: Root Admin
Posts: 7,518
Joined: 9-May 08
Member No.: 1



any other php related question?


--------------------
-------------------------------------------------------------------------------------------
AdGuru.org is a current happenings discussions board for Information Technology, News and Fun
visit: www.adguru.org
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
Tags

1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 1st December 2008 - 10:08 PM