hi,
i have a unit this:
PHP Code:
<?php
require_once("vcl/vcl.inc.php");
//Includes
use_unit("forms.inc.php");
use_unit("extctrls.inc.php");
use_unit("stdctrls.inc.php");
//Class definition
class Unit12 extends Page
{
public $Panel1 = null;
public $Button1 = null;
function Unit12Create($sender, $params)
{
$b=1;
}
function Panel1Show($sender, $params)
{
echo <<<CODE
<button class="Button" type="submit" name="Btn_index" value="Btn_login">
<span class="btn">
<span class="l"></span>
<span class="r"></span>
<span class="t">login</span>
</span>
</button>
CODE;
}
}
global $application;
global $Unit12;
//Creates the form
$Unit12=new Unit12($application);
//Read from resource file
$Unit12->loadResource(__FILE__);
//Shows the form
$Unit12->show();
?>
if i execute under firefox the post and the result of $_POST['Btn_index'] is what i expect. if i execute under IE the $_POST['Btn_index'] is not what i excpect. Did somebody can help me to know why ?
To know simply put a break point at $b = 1; and whatch what $_POST contains under Ie and Firefox.
Thank's for help.
Paolo.
PS: no matter about the CSS the result is the same with or w/out the CSS.