Curl Error

Discussion in 'Programming' started by stevenleeskiies, May 31, 2012.

  1. #1
    Hello, I just wanted to ask if you guys can fix this curl error I'm having.
    Before migrating to my current server, all my scripts were working perfectly fine and now one of my scripts have stopped working.

    Warning: get_headers() [function.get-headers]: Filename cannot be empty in /home/admin/public_html/script.php on line 34

    The only difference is before I had cpanel installed, now I have DirectAdmin. I've turned safe_mode and open_basedir off because that seemed to get all the other curl scripts to work however theres just this one script that isnt working.

    If anyone can help me out, I would appreciate it.
     
    stevenleeskiies, May 31, 2012 IP
  2. kbduvall

    kbduvall Peon

    Messages:
    71
    Likes Received:
    3
    Best Answers:
    4
    Trophy Points:
    0
    #2
    Can you post the contents of script.php please? Be sure to surround the code in the forum's PHP tags to preserve formatting and highlight syntax.
     
    kbduvall, May 31, 2012 IP