The Cache: Technology Expert's Forum
 
*
Welcome, Guest. Please login or register. September 16, 2019, 11:55:55 PM

Login with username, password and session length


Pages: [1]
  Print  
Author Topic: Problem posting bookmark to aim.com  (Read 2226 times)
nattsurfaren
Journeyman
***
Offline Offline

Posts: 64


View Profile
« on: October 09, 2009, 05:48:23 PM »

Well I'm really tired in my head now so I need your help. (please)

I'm using these parameters to post:
Code:
k=ao1DXq3-XvCo-yj5
succUrl=http%3A%2F%2Fconnect.aim.com%2Fshare%2F%3Furl%3Dhttp%253A%252F%252Fwww.google.com%26title%3DMyTitle%26description%3Dtwo%2Bwords
r=
f=qs
c=
authMethod=
tokenType=
usrd=18871546
md5=
sig_sha1=
sig_sha256=
idType=SN
uiType=
language=
doSNSAuth=-1
forceRateLimit=false
oauth_token=
uiAction=PASSWORD
fb_binding=
s=mail%40mail.com
pwd=sorry

action url is:
https://api.screenname.aol.com/auth/xlogin?ts=1255134916 where ts is time()

I'm using this function to post:
Code:
function PostCurlSimple($PostData, $PostUrl, $httpreferer = false)
{
    InitSettings($cookie, $proxy, $proxyport, $agent);
    //dump("cookie post = $cookie");
    $postarr["postdata"] = $PostData;


    $ch = curl_init();
    curl_setopt($ch, CURLOPT_POST, true);


    curl_setopt($ch, CURLOPT_POSTFIELDS, $postarr["postdata"]);
    curl_setopt($ch, CURLOPT_URL, $PostUrl);


    if (!empty($proxy))
    {
        curl_setopt($ch, CURLOPT_PROXY, $proxy);
        curl_setopt($ch, CURLOPT_PROXYPORT, $proxyport);
    }

    curl_setopt($ch, CURLOPT_USERAGENT, $agent);
    //curl_setopt($ch, CURLOPT_HEADER, 1);
    curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 400);
    curl_setopt($ch, CURLOPT_TIMEOUT, 800);
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
    curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
    curl_setopt($ch, CURLOPT_COOKIEFILE, $cookie);
    curl_setopt($ch, CURLOPT_COOKIEJAR, $cookie);
    curl_setopt($ch, CURLOPT_FAILONERROR, true);
    curl_setopt($ch, CURLOPT_VERBOSE, false);
    curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
    curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 1);
    curl_setopt($ch, CURLOPT_SSLVERSION, 2);
    if ($httpreferer)
    {
        curl_setopt($ch, CURLOPT_REFERER, $httpreferer);
    }

    $data = curl_exec($ch);


    $last_url = curl_getinfo($ch, CURLINFO_EFFECTIVE_URL);

    $GLOBALS["lasturl"] = $last_url;

    curl_close($ch);
    return $data;

}




The refere url is:
https://api.screenname.aol.com/auth/login?succUrl=http%3A%2F%2Fconnect.aim.com%2Fshare%2F%3Furl%3Dhttp%253A%252F%252Fwww.google.com%26title%3DMyTitle%26description%3Dtwo%2Bwords&k=ao1DXq3-XvCo-yj5&f=qs


Grateful for any help on this.

/Natt
Logged
nattsurfaren
Journeyman
***
Offline Offline

Posts: 64


View Profile
« Reply #1 on: October 10, 2009, 07:09:52 AM »

I fixed it now.
Logged
perkiset
Olde World Hacker
Administrator
Lifer
*****
Offline Offline

Posts: 10096



View Profile
« Reply #2 on: October 10, 2009, 11:28:01 AM »

This Cache is really something else, huh!  ROFLMAO ROFLMAO ROFLMAO
Logged

It is now believed, that after having lived in one compound with 3 wives and never leaving the house for 5 years, Bin Laden called the U.S. Navy Seals himself.
nattsurfaren
Journeyman
***
Offline Offline

Posts: 64


View Profile
« Reply #3 on: October 10, 2009, 12:42:41 PM »

WTF I can recall that I posted by mistake before but then fixed it. But now I can't find the non cached section. Where is the real forum?
Logged
perkiset
Olde World Hacker
Administrator
Lifer
*****
Offline Offline

Posts: 10096



View Profile
« Reply #4 on: October 10, 2009, 01:38:08 PM »

um, what?
Logged

It is now believed, that after having lived in one compound with 3 wives and never leaving the house for 5 years, Bin Laden called the U.S. Navy Seals himself.
nutballs
Administrator
Lifer
*****
Offline Offline

Posts: 5627


Back in my day we had 9 planets


View Profile
« Reply #5 on: October 10, 2009, 06:53:17 PM »

lol natt 
Logged

I could eat a bowl of Alphabet Soup and shit a better argument than that.
Pages: [1]
  Print  
 
Jump to:  

Perkiset's Place Home   Best of The Cache   phpMyIDE: MySQL Stored Procedures, Functions & Triggers
Politics @ Perkiset's   Pinkhat's Perspective   
cache
mart
coder
programmers
ajax
php
javascript
Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks


Valid XHTML 1.0! Valid CSS!