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

2002-06-11 Thread Jonathan Rosenberg
Out of curiosity, try ?php global $root; $blah=include\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,

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

2002-06-11 Thread Henry
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 the including file is the file that was doing the include! Previously

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
] 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 the including file

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