Jump to content

Archived

This topic is now archived and is closed to further replies.

prodigy2k7

user system password recovery

Recommended Posts

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\" /]

Share this post


Link to post
Share on other sites
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..

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.