Test this script and reload page.

<?php
session_start();

if (isset($_GET["foo"]))
    $_SESSION["foo"]++;

echo $_SESSION["foo"];

$foo = 1;
?>

With suphp enabled $_SESSION["foo"] return always 2, sees
not possible use the same name for local variable and
session variable.

With standard PHP installation you get wanted results 1,2,3,4...

Alessandro

_______________________________________________
suPHP mailing list
[email protected]
http://lists.marsching.biz/mailman/listinfo/suphp

Reply via email to