I had the following script in a server with register_globals=on, but I try to make it work on a server with register_globals=off and it those not response correctly, if someone knows who to make the script work on a server with register_globals=off please reply.
<?
session_register('contador');
?>
<HTML>
<HEAD>
<TITLE>contador.php</TITLE>
</HEAD>
<BODY>
<?
If (isset($contador)==0)
{$contador=0;}
++$contador;
echo "<a href=\"contador.php\">Has recargado esta página $contador veces</a>";
?>
</BODY>
</HTML>