php3-list | 199901
Date: 01/16/99
- Next message: Ben Schmidt: "[PHP3] imap_mail_compose"
- Previous message: Richard Lynch: "Re: [PHP3] Saving in a text file"
- In reply to: Mike-E: "[PHP3] 'Require' question"
- Next in thread: ZioBudda: "Re: [PHP3] 'Require' question"
- Reply: ZioBudda: "Re: [PHP3] 'Require' question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Well, require is meant to grab a file and stick it in the PHP script just like it
was part of the file. So, if the file was remote, you couldn't just grab the file
and stick it in because you would have to make an HTTP request to get the file. So
I doubt this would work. If you try it and it doesn't work, I assume that means
you're stuck with just local file system paths.
Mike-E wrote:
> Hello everyone.
>
> This is my first posting to this list, so be easy on me. :)
>
> I'm in the process of changing all my sites over to PHP, from the
> CPU/memory-intensive CGI that it's currently on. I'm trying to keep
> everything as centralized as possible, on one server. Right now, I'm
> messing with including files, and I'm curious if there is any way to include
> a file by using an absolute URL, like this:
>
> require("http://www.blah.com/cgi-bin/blah.inc");
>
> If not, that's cool. I'll just use the filesystem path...
>
> Thanks all.
>
> Peace,
> Mike
>
> +=======================================+
> Tha Shacks -- Your Gaming Sites of DEATH!
> www.thashack.com
> www.doomshack.com ||| www.bloodshack.com
> www.starshack.com ||| www.uoshack.com
> www.dukeshack.com ||| www.aoeshack.com
> www.shogoshack.com | www.tribesshack.com
> +=======================================+
>
> --
> PHP 3 Mailing List http://www.php.net/
> To unsubscribe send an empty message to php3-unsubscribe <email protected>
> To subscribe to the digest list: php3-digest-subscribe <email protected>
> For help: php3-help <email protected> Archive: http://www.php.net/mailsearch.php3
> List administrator: zeev-list-admin <email protected>
-- PHP 3 Mailing List http://www.php.net/ To unsubscribe send an empty message to php3-unsubscribe <email protected> To subscribe to the digest list: php3-digest-subscribe <email protected> For help: php3-help <email protected> Archive: http://www.php.net/mailsearch.php3 List administrator: zeev-list-admin <email protected>
- Next message: Ben Schmidt: "[PHP3] imap_mail_compose"
- Previous message: Richard Lynch: "Re: [PHP3] Saving in a text file"
- In reply to: Mike-E: "[PHP3] 'Require' question"
- Next in thread: ZioBudda: "Re: [PHP3] 'Require' question"
- Reply: ZioBudda: "Re: [PHP3] 'Require' question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

