[PHP] include_once(blah); vs $blah=blah; include($blah);

2002-06-11 Thread Henry
My web hosting company is running php 4.0.4pl1 Why should it be that these are different ?php global $root; include_once(include\blah.php); ? and ?php global $root; $blah=include\blah.php; include_once($blah); ? When I say different I mean; 1) global variable are not avaiable in the

RE: [PHP] include_once(blah); vs $blah=blah; include($blah);

2002-06-11 Thread Jonathan Rosenberg
, June 11, 2002 8:15 AM To: [EMAIL PROTECTED] Subject: [PHP] include_once(blah); vs $blah=blah; include($blah); My web hosting company is running php 4.0.4pl1 Why should it be that these are different ?php global $root; include_once(include\blah.php); ? and ?php global $root

Re: [PHP] include_once(blah); vs $blah=blah; include($blah);

2002-06-11 Thread Henry
tly (i.e., no parens around the include file name). -Original Message- From: Henry [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 11, 2002 8:15 AM To: [EMAIL PROTECTED] Subject: [PHP] include_once(blah); vs $blah=blah; include($blah); My web hosting company is runn

RE: [PHP] include_once(blah); vs $blah=blah; include($blah);

2002-06-11 Thread Jonathan Rosenberg
: Re: [PHP] include_once(blah); vs $blah=blah; include($blah); I did as you suggest with an interesting result: include_once blah.php; worked var $blah=blah.php; include_once $blah; gave the following error: Parse error: parse error in including file on line line number Where

Re: [PHP] include_once(blah); vs $blah=blah; include($blah);

2002-06-11 Thread Henry
9:11 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] include_once(blah); vs $blah=blah; include($blah); I did as you suggest with an interesting result: include_once blah.php; worked var $blah=blah.php; include_once $blah; gave the following error: Parse error: par

RE: [PHP] include_once(blah); vs $blah=blah; include($blah);

2002-06-11 Thread Jonathan Rosenberg
comment. -Original Message- From: Henry [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 11, 2002 9:45 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] include_once(blah); vs $blah=blah; include($blah); No, the line number is just of the line in the includING file of the include_once

RE: [PHP] include_once(blah); vs $blah=blah; include($blah);

2002-06-11 Thread Martin Towell
blah.php; include_once $blah; ? see if it behaves differently (i.e., no parens around the include file name). -Original Message- From: Henry [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 11, 2002 8:15 AM To: [EMAIL PROTECTED] Subject: [PHP] include_once(blah); vs $blah=blah; inclu

Re: [PHP] include_once(blah); vs $blah=blah; include($blah);

2002-06-11 Thread Jim lucas
Message - From: Martin Towell [EMAIL PROTECTED] To: 'Henry' [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Tuesday, June 11, 2002 4:31 PM Subject: RE: [PHP] include_once(blah); vs $blah=blah; include($blah); if that's a direct copy of what you've got, then the parse error's probably to do with the var