Help regarding Yahoo Japan Auction script

Discussion in 'PHP' started by hassanahmad2, Dec 22, 2009.

  1. #1
    Hello,

    I have a bidding system script in php which logs into Yahoo japan auction's website and automatically places a bid there. It was working fine up till now. But it stopped working a few days back.

    The problem is that when the script tries to open the following page to get the .challenge (hidden input field) value, it shows an another page instead.
    Here's its screenshot (translated):
    http://picly.com/pictures/303e6f6fcbcc354d1b0dd49042894e08.png

    I am really stuck into this problem. Any help will be greatly appreciated.

    Thanks in advance,
    Hassan
     
    hassanahmad2, Dec 22, 2009 IP
  2. xenon2010

    xenon2010 Peon

    Messages:
    237
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I think you are missing to post some hidden fields..
    or you need to use and change user agent if you were using CURL...
    thats all what I can think for now..
     
    xenon2010, Dec 22, 2009 IP
  3. hassanahmad2

    hassanahmad2 Active Member

    Messages:
    243
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    60
    #3
    hassanahmad2, Dec 22, 2009 IP
  4. hassanahmad2

    hassanahmad2 Active Member

    Messages:
    243
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    60
    #4
    One thing more, when I run the script from my computer then it loads the page correctly via cURL!
     
    hassanahmad2, Dec 22, 2009 IP
  5. xenon2010

    xenon2010 Peon

    Messages:
    237
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #5
    this error happens when you run it from the server?
     
    xenon2010, Dec 22, 2009 IP
  6. hassanahmad2

    hassanahmad2 Active Member

    Messages:
    243
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    60
    #6
    Yes, only when I run it from server.
     
    hassanahmad2, Dec 22, 2009 IP
  7. xenon2010

    xenon2010 Peon

    Messages:
    237
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #7
    then all I can say yahoo have blocked your server's IP, you can do nothing about it, the only solution you can do is you need to use proxies with CURL. that's all what you can do..
    they have blocked your server IP because you were sending lots of requests to their servers.
    I've faced similar thing with their translator Babel fish. after number of requests they blocked my site for 24 hours.
    so just go for proxies.
     
    xenon2010, Dec 22, 2009 IP