Re: unexpected }
Oliver Grätz wrote:
Remember, when you include the file, it's effectively the same as
copying/pasting the source into the file. IOW, a syntax error (i.e. an
unmatched '"'( can be carried over into the included file.
--
=============== ===
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attgl obal.net
=============== ===
Oliver Grätz wrote:
Rik Wasmus schrieb:
>md5_file() =f0fa03b6e3479c 5f45ff6f0174ad3 78d
>Yours?
>
f0fa03b6e3479c5 f45ff6f0174ad37 8d
>
Nope, we're shoveling the same coals into the engine...
>
And I can even get some HTML output from the script after changing the
top of the file to
>
<?php
function getconfigvar() {return '';}
$_SESSION['minutes']=(int)(ini_get( "session.gc_max lifetime")/60);
?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dt d">
// now the rest follows...
>
so this is no fake OK message. It reallys seems to have something to do
with some very subtle differences in the PHP version or configuration.
Hard to catch, giving up...
>
OLLi
>
>>Win64,
>>PHP 5.2.4 (cli) (built: Aug 30 2007 07:06:31),
>>Parse error: syntax error, unexpected '}' in quiztaker.php on line 648
>>>
>>Weird....
>>PHP 5.2.4 (cli) (built: Aug 30 2007 07:06:31),
>>Parse error: syntax error, unexpected '}' in quiztaker.php on line 648
>>>
>>Weird....
>Yours?
>php -r "echo md5_file('quizt aker.php')";
>
Nope, we're shoveling the same coals into the engine...
>
And I can even get some HTML output from the script after changing the
top of the file to
>
<?php
function getconfigvar() {return '';}
$_SESSION['minutes']=(int)(ini_get( "session.gc_max lifetime")/60);
?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dt d">
// now the rest follows...
>
so this is no fake OK message. It reallys seems to have something to do
with some very subtle differences in the PHP version or configuration.
Hard to catch, giving up...
>
OLLi
>
copying/pasting the source into the file. IOW, a syntax error (i.e. an
unmatched '"'( can be carried over into the included file.
--
=============== ===
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attgl obal.net
=============== ===
Comment