Jump to content

How To Save Login Information (User&pass) In A File On The Server?


Recommended Posts

Hi all;

 

I've uploaded a php code for a proxy browser that is here:

http://www.4shared.com/zip/MT-eEmCR/surrogafier.html

 

I want to add a procedure to it to log any username and password or other information entered through this browser;

Better to be saved in a text file.

 

I've searched about this issue and found some points as following:

http://stackoverflow.com/questions/4486177/set-a-cookie-to-save-login-details-php

http://stackoverflow.com/questions/2382329/how-can-i-get-browser-to-prompt-to-save-password

 

But I couldn't conclude a working solution (a piece of code for adding to the surrogafier.php code) !

I'm so much new to php programming and I'm going to use this modified browser in part of my project, so I can't discern which solution is better (set cookie, save in the session or ...) and where should I add the required code in the surrogafier.php (browser) ?

 

Perhaps, something like Firefox reaction to save user&pass during first login to Gmail in browser...

 

Anyway, I need a piece of PHP code to add it somewhere inside the surrogafier.php proxy browser to log and save the entered user&pass and other details in a text file on the server,

 

Could you put here this piece of code and guild me where I should add it in the surrogafier.php code to be able to test it using WampServer, etc?

 

I so much appreciate you if help me.

TIA.

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.