Re: [PHP] Question about session_id() and session_start()

2013-05-21 Thread Tim Schofield
On 20/05/2013, Maciek Sokolewicz maciek.sokolew...@gmail.com wrote: On 20-5-2013 22:14, Tim Schofield wrote: Matijn There are well over half a million lines of source code in PHP. It seems a little unhelpful to tell someone to go and read half a million lines of C when you could just tell

Re: [PHP] Question about session_id() and session_start()

2013-05-20 Thread Tim Schofield
Matijn There are well over half a million lines of source code in PHP. It seems a little unhelpful to tell someone to go and read half a million lines of C when you could just tell them the answer? Thanks Tim Course View Towers, Plot 21 Yusuf Lule Road, Kampala T +256 (0) 312 314 418 M +256 (0)

Re: [PHP] Unexpected behaviour from define()

2010-06-24 Thread Tim Schofield
On 24/06/10 22:41, James Long wrote: Perhaps I am missing something basic here. Why does the LOG_WARNING constant take on a value of 4, when it is defined with a value of 1? Thank you! Jim $ cat bug.php ? define( 'LOG_NORMAL', 0 ); define( 'LOG_WARNING', 1 ); define( 'LOG_ERROR', 2 );

Re: [PHP] Unexpected behaviour from define()

2010-06-24 Thread Tim Schofield
On 24/06/10 23:08, Ashley Sheridan wrote: On Thu, 2010-06-24 at 23:02 +0100, Tim Schofield wrote: Very strange, as ? define( 'LOG_NORMAL', 0 ); define( 'LOG_WARNiNG', 1 ); define( 'LOG_ERROR', 2 ); echo 'LOG_NORMAL ' . LOG_NORMAL .\n; echo 'LOG_WARNiNG ' . LOG_WARNiNG .\n; echo