note 65858 added to function.session-start

From: Date: Tue, 09 May 2006 04:02:41 +0000
Subject: note 65858 added to function.session-start
Groups: php.notes 
Request: Send a blank email to php-notes+get-110923@lists.php.net to get a copy of this message
This may be one of the dumber things posted here, but I just wasted a bit of time figuring it out. Using <?php session_start; ?> will NOT start a session for you, but for some reason its processed happily by the compiler and no error is outputted. For those of you who, like me, missed the important part, you need to have the (): <?php session_start(); ?> ---- Server IP: 64.71.164.2 Probable Submitter: 141.158.71.50 ---- X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER autolearn=no version=2.64 ---- Manual Page -- http://www.php.net/manual/en/function.session-start.php Edit -- http://master.php.net/note/edit/65858 Del: integrated -- http://master.php.net/note/delete/65858/integrated Del: useless -- http://master.php.net/note/delete/65858/useless Del: bad code -- http://master.php.net/note/delete/65858/bad+code Del: spam -- http://master.php.net/note/delete/65858/spam Del: non-english -- http://master.php.net/note/delete/65858/non-english Del: in docs -- http://master.php.net/note/delete/65858/in+docs Del: other reasons-- http://master.php.net/note/delete/65858 Reject -- http://master.php.net/note/reject/65858 Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#110923) next »