prodigy2k7 Posted April 11, 2006 Share Posted April 11, 2006 before I get into any details (I want my code hidden as much as possible as it deals with databases)I am trying to create a page where you can recover your password.i am basically getting trash on the output...I cant copy n paste so ill take a ss and brush out the secret parts... ;\ lol...[img src=\"http://img131.imageshack.us/img131/2765/wtf6fm.png\" border=\"0\" alt=\"IPB Image\" /] Quote Link to comment Share on other sites More sharing options...
shocker-z Posted April 11, 2006 Share Posted April 11, 2006 We're going to need to see your backend code else it's impossible to see where your going wrong.. just blank out your database username and password and should be fine then.. Quote Link to comment Share on other sites More sharing options...
wildteen88 Posted April 11, 2006 Share Posted April 11, 2006 If you are worried about people seeing your PHP code then they wont as PHP is parsed on the server and not by the browser. The only thing the user sees is the output of your PHP code, ie text/html when they go to view > source code in a web browser.The aboove also applies when they attempt to download the page too.Becuase when a user clicks a link or downaload a file from the server, by going to file save as and its a .php file the server will see its PHP and activate the PHP Intepreter that parses your code. Then it'll return the output to the server and the server thne returns the outputted text/HTML to the web browser which will parse the HTML/CSS/Javascript returned from the output.This is how PHP works so I wouldn't worry too much people seeing your PHP code as its a fat chance unless your host misconfigers their servers. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.