RE: [PHP] Fw: include() statement goofing me up - help

From: Date: Tue, 11 Jun 2002 17:41:03 +0000
Subject: RE: [PHP] Fw: include() statement goofing me up - help
Groups: php.general 
Request: Send a blank email to php-general+get-101582@lists.php.net to get a copy of this message
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:m.devries@attbi.com] Sent: Tuesday, June 11, 2002 1:36 PM To: Leotta, Natalie (NCI/IMS) Cc: php-general@lists.php.net 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)" <LeottaN@ims.nci.nih.gov> To: "'Jay Blanchard'" <jay.blanchard@niicommunications.com>; <php-general@lists.php.net> 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:jay.blanchard@niicommunications.com] > Sent: Tuesday, June 11, 2002 1:27 PM > To: php-general@lists.php.net > 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 > >

« previous php.general (#101582) next »