What should i do to hide php code with DB connection?, Technical Question |
![]() ![]() |
What should i do to hide php code with DB connection?, Technical Question |
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 |
|
|
|
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 |
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 1st December 2008 - 10:08 PM |