|
Posted by Rik on 07/19/07 15:58
On Thu, 19 Jul 2007 17:56:57 +0200, Rik <luiheidsgoeroe@hotmail.com> wro=
te:
> session_start();
> if(!isset($_SESSION['hits']) $_SESSION['hits'] =3D 0;
> $_SESSION['hits']++;
>
> if(!isset($_SESSION['User'] || !is_object($_SESSION['User'])) {
> $_SESSION['User'] =3D new User();
> $message =3D sprintf( "jqz cbig90--\$hits =3D=3D %d.", $_SESSION['hit=
s']);
> system_error( $message);
> }
> if(!is_object($_SESSION['User'])) {
> $message =3D sprintf( "jqz cbig93--\$hits =3D=3D %d.", $_SESSION['hit=
s']);
> system_error( $message);
> system_error( "Unable to instan_tiate User object." );
> }
-- =
Rik Wasmus
Navigation:
[Reply to this message]
|