Re: GetImageSize problem

From: Date: Sun, 21 Jan 2001 15:31:11 +0000
Subject: Re: GetImageSize problem
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-35898@lists.php.net to get a copy of this message
Hello! First - some ISP block you from get files from their server by a httpd request (that is what php does... I think!). To be sure if this is set or not, in the other ISP (not the one that the images are) write a simple html like this: <html><head><title>loading images between servers</title></head><body> <br><br> <img src="http://Domain/ImagesDir/ImagesName.gif"> </body></html> In "http://Domain/ImagesDir/ImagesName.gif" be sure to put the correct domain and location of the image. This should show the image... If not you could have two problems: the link is wrong or the filter is set. Imagine this - I have a web site in an ISP with my domain like: http://www.mydomain.com and all the paths are gting the images from a free server like geocities.com so I don;t expend money on buying large amounts of bandwith for my site... If you think this way you know why they do that. if this works, just use thi path "http://Domain/ImagesDir/ImagesName.gif" in all your scripts for getimagesize... I expect that this helps. Rom

« previous php.general (#35898) next »