Le Bam = Confused...

Status
Not open for further replies.

bam bam

New member
Oct 9, 2007
962
11
0
I think i asked this before, but i presume the thread got locked out.
So i'll ask again.

Does anyone have any ideas how i can automate the "Send To" function on Stumbleupon?

At the minute i'm using Autoit but it's crap.

I don't know much about php but i read in Syndk8 (and i quote);

Unless you're having trouble and are hung up somewhere, there's no need to use one of those things to find out how to build your post packets.

Simply download the source of the form, then change the action="" to some place on your own site that has a PHP script that looks like this:

With the following code:

PHP:
<?php
echo('<pre>');
print_r($_POST);
print_r($_COOKIE);
echo('</pre>');
?>

So i used Live HTTP Headers and got the following from the Generator tab:

HTML:
POST /referral.php?username=1234567 url=http%3A%2F%2Fwww.google.com%2F&friend=Someone&note=Something%20Random&version=mozbar%203.17%20xpi%20BETA-2007-12-12-a&username=1234567&password=6ff4e53e62c8e002a844df67e6b11c90

Obviously i've changed things to protect my Batman-like identity. :anon.sml:

So where do i go from here in order to automate it?

By all means flame me for being a PHP newb and being in over my head.
 


I don't mess with StumbleUpon so somebody else correct me if i'm wrong.

Use CURL to post this data. You probably need to login first though (u can do that with CURL too).
Curl allows you to post forms (and log into sites).
So check PHP: CURL - Manual and google for some examples. Spend some time and i'm sure you'll be able to figure it out, or ask more specific questions then.
 
Status
Not open for further replies.