RE: [PHP] diffrance : require(); a file from localhost and from a domain.
| From: | Lazor, Ed | Date: | Wed, 26 Jun 2002 20:51:32 +0000 |
| Subject: | RE: [PHP] diffrance : require(); a file from localhost and from a domain. | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-104062@lists.php.net to get a copy of this message | ||
Isn't this an example of using require in the wrong context, since you don't
typically load a gif file and attempt to process it as a PHP file?
http://www.php.net/manual/en/function.require.php
The require() statement includes and evaluates the specific file.
-----Original Message-----
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".
****************************************************************************
This message is intended for the sole use of the individual and entity to
whom it is addressed, and may contain information that is privileged,
confidential and exempt from disclosure under applicable law. If you are
not the intended addressee, nor authorized to receive for the intended
addressee, you are hereby notified that you may not use, copy, disclose or
distribute to anyone the message or any information contained in the
message. If you have received this message in error, please immediately
advise the sender by reply email and delete the message. Thank you very
much.