Jay Moore wrote:
in the response you'll be getting the raw http response (including headers); so you're saving them as well thus not a valid image file.can't see why: $image = file_get_contents('http://10.10.10.3/record/current.jpg'); wouldn't work for you..file_get_contents worked beautifully. Thanks for the suggestion! Jay
no problem + credit to Andrew who suggested the same thing more concisely! glad you got a fix -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

