Doh! Sorry, Natalie not Doug, and I'm glad to see you got it working. -Kevin
----- Original Message ----- From: "Kevin Stone" <[EMAIL PROTECTED]> To: "Doug DeVries" <[EMAIL PROTECTED]>; "Leotta, Natalie (NCI/IMS)" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Tuesday, June 11, 2002 11:59 AM Subject: Re: [PHP] Fw: include() statement goofing me up - help > 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" <[EMAIL PROTECTED]> > To: "Leotta, Natalie (NCI/IMS)" <[EMAIL PROTECTED]> > Cc: <[EMAIL PROTECTED]> > 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)" <[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 > > > > > > > > -- > 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