If they are the same the difference will be in $HTTP_HOST and (if different) $SERVER_ADDR, but you want be able to find that out in a gif file.
Rasmus Lerdorf wrote: >That is the technical difference. Both will make HTTP requests and issue a >GET request to fetch the image file. One opens a connection to localhost >(normally the loopback at 127.0.0.1) and the other opens a connection to >www.domain.com (at whatever ip that resolves to) > >-Rasmus > >On Wed, 26 Jun 2002 [EMAIL PROTECTED] wrote: > > > >>I think thats more than obvious Erik.. I asked for the tecnical >>diffrance. Anybody? >> >> >> >> >> >>>On Wednesday, June 26, 2002, at 03:19 PM, <[EMAIL PROTECTED]> wrote: >>> >>> >>> >>>>tecnically whats the diffrance if I do: >>>> >>>>require("http://localhost/image.gif"); >>>>or >>>>require("http://www.domain.com/image.gif"); ? >>>> >>>> >>>The first one requires the file at "localhost/image.gif", and the >>> >>> >>second >> >> >>>one requires the file at "www.domain.com/image.gif". >>> >>> >>>Erik >>> >>> >>> >>> >>>---- >>> >>>Erik Price >>>Web Developer Temp >>>Media Lab, H.H. Brown >>>[EMAIL PROTECTED] >>> >>> >>>-- >>>PHP General Mailing List (http://www.php.net/) >>>To unsubscribe, visit: http://www.php.net/unsub.php >>> >>> >>> >>> >> >>-- >>PHP General Mailing List (http://www.php.net/) >>To unsubscribe, visit: http://www.php.net/unsub.php >> >> >> > > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php