At least it makes more sense now that you're getting the failed to open
error.  I'd try putting a small file in the php4/pear directory and see if
you can include that.  If so, then it's still a path problem - like maybe
it's looking to php4/pear/http://....

Since I don't have anything including successfully, this is all the help I
can be :-)

Good luck!

-Natalie

-----Original Message-----
From: Doug DeVries [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, June 11, 2002 1:36 PM
To: Leotta, Natalie (NCI/IMS)
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Fw: include() statement goofing me up - help


I've changed the source file on this issue. Slightly different error, but
still no joy. Thanks for taking the time with this.

<html>
<head>
</head>
<body>
test area should show 4 lines of news


<?php
include
("http://www.gospelcom.net/mnn/includes/pubNewsTease.php?li=yes&limit=4";)
?>


</body>

</html>

----- Original Message -----
From: "Leotta, Natalie (NCI/IMS)" <[EMAIL PROTECTED]>
To: "'Jay Blanchard'" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Tuesday, June 11, 2002 10:30 AM
Subject: RE: [PHP] Fw: include() statement goofing me up - help


> That may be the case, but I had assumed the show() was a function in 
> the file that should be included.
>
> When I include files and it doesn't work (I've only started trying 
> today
and
> discovered the beauties of the include_path) it says:
> Fatal error: Failed opening required 'includeFile.inc'
> (include_path='.:/opt/net/utils/lib/php') in /prj/web/.../file.php on 
> line
4
>
> So I would guess that his include() is working and there either is no
show()
> in the file or he isn't actually including it, which goes back to your
idea.
> Hopefully he'll give us more info :-)
>
> -Natalie
>
> -----Original Message-----
> From: Jay Blanchard [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, June 11, 2002 1:27 PM
> To: [EMAIL PROTECTED]
> Subject: RE: [PHP] Fw: include() statement goofing me up - help
>
>
> you are getting the error
>
> Fatal error: Call to undefined function: show() in 
> e:\solomonsporch.org\test.php on line 9
>
> show() is not a function, try include()
>
>
> Jay
>
> "Wouldn't it be great if lists were like the Magic 8 Ball or a Quija
board?"
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to