<?php
if(isset($number_17))
{
}
else
{
srand ((double) microtime() * 1000000);
$number_17 = rand();
session_register("number_17");
}
?>
Was hoping that I could get some feedback here. This script has always worked fine, however today it decided to start assigning a unique id to all pages.
I realise that I could just use the built in session variable assigned with session_start but this code was put in place long before I arrived. I do not see a problem with the syntax and in theory it should work.
Appreciate your feedback.
John