problem in curl

Discussion in 'PHP' started by Invisible_Flash, Nov 5, 2011.

  1. #1
    how can i grab the url of the site after loading it using cURL?
    i want http://forums.digitalpoint.com in url box after loading curl script.
    i've tried get_headers option but it's giving me the localhost/test.php in the url box.
    help me out
     
    Invisible_Flash, Nov 5, 2011 IP
  2. Blink UI ™

    Blink UI ™ Peon

    Messages:
    4
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    If you were able to retrieve the contents, you should have the URL as well. What is the problem exactly ?
     
    Blink UI ™, Nov 5, 2011 IP
  3. kasun0777

    kasun0777 Well-Known Member

    Messages:
    355
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    138
    #3
    some times cant see with your localhost. you can see that after upload on your server.
    if can you use arrays, i think u will be happy.
     
    kasun0777, Nov 5, 2011 IP