Thanks for your reply. After trying a little I found out the problem: Apache seems to include HTTP headers into the file or something, messing up the images. Here's a code snippet that fixes the bug. It now works! :)
<?php
function http_get($url)
{
$url_stuff = parse_url($url);
$port =...
Hey all,
I've got a big problem. When downloading remote websites using fopen() [sourcecode below] text-files get downloaded correctly however images can't get displayed (they get downloaded, but they're mostly smaller than their original counterparts). The most strange thing, however, is that...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.