Re: Include() and Require()
| From: | Sandeep Hundal | Date: | Thu, 13 Jul 2000 12:54:41 +0000 |
| Subject: | Re: Include() and Require() | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-6423@lists.php.net to get a copy of this message | ||
I think it might be a permissions problem...
try to telnet to your server and make sure its readable
from outside...
/sunny
--- Danny Tuppeny / Web Fever
<Danny.Tuppeny@WebFever.cjb.net> wrote: > Hi folks,
>
> I'm pretty new to the list, and have just hit a problem.
>
> I read this in the php manual:
> =
> As long as support for the "URL fopen wrapper" is enabled
> when you configure
> PHP (which it is unless you explicitly pass the
> --disable-url-fopen-wrapper
> flag to configure), you can use HTTP and FTP URLs with
> most functions that
> take a filename as a parameter, including the require()
> and include()
> statements.
> =
>
> But when I use
>
require('http://www.mycgiserver.com/~webfever/headerfooter.php')
> I get
> errors about not being able to read from the file. I know
> it exists (I'm not
> that stupid!!).
>
> Anyone know what's going on?
>
> If anyone replies, can they hit 'replie to all', cos I
> get this in digest,
> and it'll be quicker for me to find my reply. Man you
> guys know how to send
> a lot of mail!!
>
> D@nny
> ======================================
> Join The Web Fever Discussion
> List at http://www.topica.com/lists/WebFever!
> Don't forget to enter Danny@WebFever.cjb.net
> as the refferrer when you sign up!
> ======================================
> Danny Tuppeny
> Email: Danny.Tuppeny@WebFever.cjb.net
> Web: http://WebFever.cjb.net
> FREE MP3 Player: http://WebFever.cjb.net/mp3.php3
> Voice/Fax: 07092-103640
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail:
> php-general-unsubscribe@lists.php.net
> For additional commands, e-mail:
> php-general-help@lists.php.net
> To contact the list administrators, e-mail:
> php-list-admin@lists.php.net
>
__________________________________________________
Do You Yahoo!?
Get Yahoo! Mail Free email you can access from anywhere!
http://mail.yahoo.com/