Jump to content


user system password recovery

  • Please log in to reply
2 replies to this topic

#1 prodigy2k7

  • New Members
  • Pip
  • Newbie
  • 9 posts

Posted 11 April 2006 - 03:18 AM

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

#2 shocker-z

  • Members
  • PipPipPip
  • Advanced Member
  • 864 posts
  • LocationNottingham

Posted 11 April 2006 - 08:54 AM

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..
www: www.ukchat.ws | irc: irc.ukchat.ws chan: #blufudge

#3 wildteen88

  • Staff Alumni
  • Advanced Member
  • 10,482 posts
  • LocationUK, Bournemouth

Posted 11 April 2006 - 09:05 AM

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.

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users