Justtechjobs.com Find a programming school near you






Online Campus Both


php3-list | 199901

Re: [PHP3] 'Require' question From: Joey Smith (joey <email protected>)
Date: 01/28/99

You could do require($DOCUMENT_ROOT . $PHP_SELF);
or the like....not quite the same thing, but should get you where
you're headed, if you think it over a bit.
----- Original Message -----
From: Mike-E <mike <email protected>>
To: <php3 <email protected>>
Sent: Saturday, January 16, 1999 6:49 PM
Subject: [PHP3] 'Require' question

>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>
>
>--feofgjpfiecdnllnobki
>Content-Disposition: inline; filename="php3.26009"
>

--
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>