hey kinda trying to get to grips with sessions (not getting very far)
i run this script;
PHP Code:
<?php
session_start();
session_register("count");
$count++;
echo "$count";
?>
as it says in the book and i get this error
ive looked through php.ini and everything seems to be ok i dont really want to turn register.globals on as its bad programming (or so people say) or is it that i have my error reporting to high?
[EDIT] I changed the error reporting as it says in the error but it didnt sort the porblem (as i thought it wouldnt)
also i uploaded the script the my web host and it worked fine
This is a very delicate area, as of php4. Your local server if running php4 where your online server prob is running php3. Thats why it works onlin and not on your local server.