Jump to content

user system password recovery


prodigy2k7

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\" /]
Link to comment
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.
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

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.