Jump to content

[SOLVED] unsure what to call this question, it is php related tho!


stelthius

Recommended Posts

Basicly, i have a login form, with the login process done on the same page, now, my forgot password i want to have that code in login.php also, but only be called when i click the forgot password button and then it will change the table to the forgot password table with the email input area & send button... so say for instance i name the button login.php?=op=doforgotpass how would i start off my forgot password code so the button can call it, my explanations are pretty Shi**y so im sorry if its a bad en lol

Link to comment
Share on other sites

i dont fully understand what you mean here mate but from what i can see maybe this could be a solution

 

 

if ($_GET['op'] == 'doforgotpass') {


YOUR 'FORGOT PASSWORD' CODE HERE

}

 

then when the url login?op is equal to 'doforgotpass'

 

the code will be displayed :).

 

James.

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.