I need a bit of help with a little script.

Discussion in 'PHP' started by tfusion, Feb 1, 2008.

  1. #1
    Basically i want to make a script that will autostumble a website with many accounts but first i want to try to make it work with one... however it seems to not be stumbling the website but it does the rest.

    $loginURL = "http://www.stumbleupon.com/login.php";
    $loginFields = "username=$username&password=$password";
    hitForm($loginURL, $loginFields);
    
    hitPage("http://www.stumbleupon.com/rate.php?rating=1&url=http//www.linksfusion.com/&charset=ISO-8859-1&referer=&version=mozbar%203.16%20xpi&username=$usercode&password=$passcode/");
    
    print hitPage("http://$username.stumbleupon.com/");
    PHP:
    i have the functions for hitPage and hitForm too. and of course i wont show you the variables that contain my account info.

    I just need a little help, will pay if needed but i dont have much.
    You can PM me or for a fluid chat u can add me to MSN, AOL, ICQ or Yahoo! i'm online almost all the time!
    I'm pretty sure the problem is in the 5th line because when i try to put that in my browser it says
    So... i don't know which format to use.
    NOTE: I'm using a firefox plugin for getting that information!
     
    tfusion, Feb 1, 2008 IP
  2. Jey64

    Jey64 Peon

    Messages:
    38
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    PHP version?
     
    Jey64, Feb 1, 2008 IP
  3. tfusion

    tfusion Peon

    Messages:
    566
    Likes Received:
    32
    Best Answers:
    0
    Trophy Points:
    0
    #3
    The version cPanel shows is 4.4.7
     
    tfusion, Feb 1, 2008 IP
  4. tfusion

    tfusion Peon

    Messages:
    566
    Likes Received:
    32
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Ok i think i found something about PHP version on the information i pulled from my plugin.
    And my host uses 4.4.7, is that a problem?
     
    tfusion, Feb 2, 2008 IP
  5. timelf123

    timelf123 Peon

    Messages:
    897
    Likes Received:
    24
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Pastebin or send the complete script and I will do my best to fix it


    Tim
     
    timelf123, Mar 10, 2008 IP
  6. corb

    corb Peon

    Messages:
    319
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Ever get this to work?
     
    corb, Mar 11, 2008 IP
  7. tfusion

    tfusion Peon

    Messages:
    566
    Likes Received:
    32
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Yes i got this to work... somehow :D
     
    tfusion, Mar 13, 2008 IP
  8. corb

    corb Peon

    Messages:
    319
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Oh wow! Well that surely is a testimant to how good your php is. (I don't suppose you'd be willing to share? )
     
    corb, Mar 13, 2008 IP