Very Easy, Help me finish Autologin script

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Very Easy, Help me finish Autologin script

    Can anyone complete this code so it can directly be saved as example.php? I really need this, i would have done this simple thing myself but im AWAY frm my pc:-( all u need 2 do is add the php and html tags no scripting required.just make this code run able pls. .heres the code :
    $login ="http://www.pay***.com/login_script.php";
    $c = curl_init();
    curl_setopt($c, CURLOPT_URL, $login);
    curl_setopt($c, CURLOPT_COOKIEJAR,"cookies.txt");
    curl_setopt($c, CURLOPT_COOKIEFILE,"cookies.txt");
    curl_setopt($c, CURLOPT_POST, 1);
    curl_setopt($c, CURLOPT_POSTFIELDS,"username=sifat3d&password=aint gonnatellya");
    curl_setopt($c, CURLOPT_RETURNTRANSFER, 1);
    curl_setopt($c, CURLOPT_FOLLOWLOCATION,1);
    $login_done = curl_exec($c);
    echo $login_done;

    #2
    is that any chance paypal.com

    Comment


      #3
      nope

      Originally posted by CreativityKills View Post
      is that any chance paypal.com
      no, its not. I just wrote pay. Its not even related to paypal, its for the mig33 script i request at my first post but no one seemed to reply to it so i kept exploring google, got some help, used the very little of my coding knowledge and ended up with this code. Im in cox'sbazaar away from my home. Just help me finish the code pls. Its not 4r harm bt increasing my miglevel ;-)

      Comment

      Working...
      X