View Single Post
Old Jun 17th, 2007, 6:37 AM   #2
Mocker
Hobbyist Programmer
 
Mocker's Avatar
 
Join Date: Oct 2005
Location: Indiana
Posts: 216
Rep Power: 0 Mocker is an unknown quantity at this point
Send a message via AIM to Mocker
exec("wget -O /path/to/tmp/file 'http://longurlthinger.com'");
$fh = fopen("/path/to/tmp/file", "r");

or even better, get a host that provides php with the curl library available. Limiting fopen and fsockopen is pretty common but they should have curl enabled
__________________
#programmingforums relay - http://thegupstudio.com/cgi-bin/pforelay.cgi
freelance scripts - http://ryanguthrie.com/index.html
Mocker is offline   Reply With Quote