Re: diffrance : require(); a file from localhost and from a domain.

From: Date: Wed, 26 Jun 2002 20:06:30 +0000
Subject: Re: diffrance : require(); a file from localhost and from a domain.
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-104055@lists.php.net to get a copy of this message
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 php@net.co.cr wrote: > I think thats more than obvious Erik.. I asked for the tecnical > diffrance. Anybody? > > > > > > > On Wednesday, June 26, 2002, at 03:19 PM, <php@net.co.cr> 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 > > pricee@hhbrown.com > > > > > > -- > > 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 >

« previous php.general (#104055) next »