PHP Code To Visit a URL?

Discussion in 'PHP' started by MidwestMerchant, Jul 2, 2007.

  1. #1
    Hello all..I am no php expert but I am curious if anyone knows of a tutorial to writing a php script which will allow me to visit a website and insert a variable..then pause before going to the next website in line and doing the same thing.

    Any help is appriciated!
     
    MidwestMerchant, Jul 2, 2007 IP
  2. nico_swd

    nico_swd Prominent Member

    Messages:
    4,153
    Likes Received:
    344
    Best Answers:
    18
    Trophy Points:
    375
    #2
    Can you be more specific? What do you mean by "insert a variable"? And why pause? What are you trying to achieve with this?
     
    nico_swd, Jul 2, 2007 IP
  3. MidwestMerchant

    MidwestMerchant Banned

    Messages:
    804
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I would like to have the script visit a linkdump website (site made for dumping your URLs at)..The script would visit the site and input my URL (the variable)..then pause before visiting the next site..However the pause really isn't neccesary.
     
    MidwestMerchant, Jul 2, 2007 IP
  4. ansi

    ansi Well-Known Member

    Messages:
    1,483
    Likes Received:
    65
    Best Answers:
    0
    Trophy Points:
    100
    #4
    i would suggest checking out libcurl. send some post data over to the site, sleep(1), goto next site.
    www.php.net/curl
     
    ansi, Jul 2, 2007 IP