Reply to Re: unexpected }

Your name:

Reply:


Posted by Oliver Grδtz on 11/22/07 03:16

Rik Wasmus schrieb:
>> 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....
>
> md5_file() => f0fa03b6e3479c5f45ff6f0174ad378d
> Yours?

>php -r "echo md5_file('quiztaker.php')";
f0fa03b6e3479c5f45ff6f0174ad378d

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_maxlifetime")/60);
?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
// 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

--
public class ValidationMessage
{
//internal members
string messageId;
string messageText;
string helpLink;
/* ... */
double cheeseburger;
char broiled;
long time;

//helper functions
/* ... */
}

[Back to original message]


УдалСнная Ρ€Π°Π±ΠΎΡ‚Π° для программистов  •  Как Π·Π°Ρ€Π°Π±ΠΎΡ‚Π°Ρ‚ΡŒ Π½Π° Google AdSense  •  England, UK  •  ΡΡ‚Π°Ρ‚ΡŒΠΈ Π½Π° английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Π‘Π°ΠΉΡ‚ ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ Π² Π‘Ρ‚ΡƒΠ΄ΠΈΠΈ Π’Π°Π»Π΅Π½Ρ‚ΠΈΠ½Π° ΠŸΠ΅Ρ‚Ρ€ΡƒΡ‡Π΅ΠΊΠ°
ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ΠΈΠ΅ ΠΈ ΠΏΠΎΠ΄Π΄Π΅Ρ€ΠΆΠΊΠ° Π²Π΅Π±-сайтов, Ρ€Π°Π·Ρ€Π°Π±ΠΎΡ‚ΠΊΠ° ΠΏΡ€ΠΎΠ³Ρ€Π°ΠΌΠΌΠ½ΠΎΠ³ΠΎ обСспСчСния, поисковая оптимизация