Re: Fw: include() statement goofing me up - help

From: Date: Tue, 11 Jun 2002 17:59:45 +0000
Subject: Re: Fw: include() statement goofing me up - help
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-101589@lists.php.net to get a copy of this message
Doug, it seems to work fine here. So long as the remote server has PHP installed (which it looks like they do) then include() should work the same as a local file. Could it be a configuration issue perhaps? Test: http://www.helpelf.com/test/test.php Code: http://www.helpelf.com/test/test.phps -Kevin ----- Original Message ----- From: "Doug DeVries" <m.devries@attbi.com> To: "Leotta, Natalie (NCI/IMS)" <LeottaN@ims.nci.nih.gov> Cc: <php-general@lists.php.net> Sent: Tuesday, June 11, 2002 11:36 AM 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 > > > > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.general (#101589) next »