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.
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.