Re: [PHP] Newman Asks, Do i have to use session_name('sid') every...

2002-07-25 Thread PHP Developers

http://crushme.clients.philipnz.com/crushweb.php?startWeb=guest_book&sid=63e
9864efec3df8d84455e9e7fdb39a2&PHPSESSID=810e806280e1f6e26a3d04fea3242766

sid = the session, and when session_name('sid'); it adds
&PHPSESSID=810e806280e1f6e26a3d04fea3242766 to the url?

whats up with that?


- Original Message -
From: "Richard Baskett" <[EMAIL PROTECTED]>
To: "Philip J. Newman" <[EMAIL PROTECTED]>; "PHP General"
<[EMAIL PROTECTED]>
Sent: Thursday, July 25, 2002 7:50 PM
Subject: Re: [PHP] Newman Asks, Do i have to use session_name('sid')
every...


> Just once when you first create the session.
>
> Rick
>
> This is the final test of a gentleman--his respect for those who can
> be of no possible service to him. - William Lyon Phelps
>
> > From: "Philip J. Newman" <[EMAIL PROTECTED]>
> > Date: Thu, 25 Jul 2002 19:43:23 +1200
> > To: <[EMAIL PROTECTED]>
> > Subject: [PHP] Newman Asks, Do i have to use session_name('sid') every
...
> >
> > session_name('sid');
> > session_start();
> >
> > Do i have to use session_name('sid'); every time i use session_start();
or
> > can session_name be used once?
> >
> > ---
> > Philip J. Newman.
> > PhilipNZ.com Design Solutions
> > http://www.philipnz.com/
> > [EMAIL PROTECTED]
> >
> > Mob: +64 (25) 6144012.
> > Tele: +64 (25) 6144012.
> >
> > Personal Site:
> > Philip J. Newman
> > Internet Developer
> > http://www.philipsdomain.com/
> > [EMAIL PROTECTED]
> >
> >
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] Why would this command just Die!

2002-05-19 Thread Php Developers

This command just dies!

I have checked sql connection  ... ok
the insert into line ... ok

Pfft it just don't wanna work





## Out put on page ##

INSERT INTO prizeline (id, email, name, address, answers, date) VALUES ('', 
'[EMAIL PROTECTED]', 'newman', '12 Newman ave Auckland', 'In Season, James, 
John', 'Monday 20th of May 2002 10:22:05 AM')There has been an error