Re: [PHP] diffrance : require(); a file from localhost and from adomain.

2002-06-27 Thread Marek Kilimajer
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 c

Re: [PHP] diffrance : require(); a file from localhost and from adomain.

2002-06-26 Thread Rasmus Lerdorf
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 200