Re: [PHP] Re: old guy newbie needs some help

2004-07-18 Thread Skippy
On Mon, 19 Jul 2004 01:41:49 +0800 Jason Wong <[EMAIL PROTECTED]> wrote: > Not strictly correct. Use session_start() *before* *any* *output* - the > archives keep pointing this out. A quick search on the error message > "cannot send headers" will lead to loads of answers. Yet people still keep > a

Re: [PHP] Re: old guy newbie needs some help

2004-07-18 Thread Jason Wong
On Sunday 18 July 2004 16:08, Harlequin wrote: > New myself but have started reading around sessions and found that you need > two things enabled at the server end: > > track_vars Recent versions of PHP have track_vars enabled, period. > trans-sid I believe you mean: session.use_trans_sid T

Re: [PHP] Re: old guy newbie needs some help

2004-07-18 Thread Justin Patrin
You don't have to put it right at the beginning of the file, it just has to be before any output. Please see: https://www.reversefold.com/tikiwiki/tiki-index.php?page=PHPFAQs#id681470 If that could use better wording and more info, let me know. On Sun, 18 Jul 2004 09:08:26 +0100, Harlequin <[EM

[PHP] Re: old guy newbie needs some help

2004-07-18 Thread Harlequin
Bob. New myself but have started reading around sessions and found that you need two things enabled at the server end: track_vars trans-sid and bruce is right - you need to make sure the session_start command is immediately after the opening PHP tag. -- - Michael M

[PHP] Re: old guy newbie needs some help

2004-07-17 Thread Michael Purdy
Bob A. Example path session.save_path = c:\http\cgi\session Basically a directory under the root of your webserver B. session_start() must be before any other commands in your script such as HTML. So Line 1: