Hello Dimitri,
my Env: PHP 5.2.5, DBG 2.15.5, IDE Delphi4PHP.
my SampleCode:
<?php
header("Content-Type: text/html; charset=utf-8");
$r = 0;
?>
<html><head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<title>Test</title>
</head>
<body width="100%" height="100%">
<form name="form2" id="f2" action="test1.php" method="post" accept-charset="utf-8" enctype="multipart/form-data">
<div>
<input name="test1" id="test1" type="text" value='öäöäüöäüöüÖÄÜ$%&'/>
<input name="btn" id="btn" type="submit" value="Submit"/>
</div>
</form>
<?php
var_dump($GLOBALS);
?>
</body>
</html>
|
my Problem: When i set a breakpoint after submit the form in the PHP Script to view the Locals and Globals Var Window in the IDE, only GLOBALS and POST are displayed (no $_REQUEST, $_SERVER, $_GET or my global Vars. This happens only when i have special Language Characters in the Edit Field. If i write for Example >>TEST<< in the Edit Field, and submit the Form, all Vars are displayed in the IDE Debug Windows Locals and Globals.
The var_dump($GLOBALS); is complete.
The IDE, the Debugger, the Script are all UTF-8.
Is this an Error or have i a Version Confict between PHP and DBG Listener.
Can you help ?
John