[PHP-DB] Re: Sessions help needed !!!

2006-02-18 Thread Neil Smith [MVP, Digital media]
At 22:19 17/02/2006, you wrote: From: Chris Payne [EMAIL PROTECTED] To: php-db@lists.php.net Date: Fri, 17 Feb 2006 17:18:57 -0500 Message-ID: [EMAIL PROTECTED] MIME-Version: 1.0 Content-Type: multipart/alternative; boundary==_NextPart_000_000F_01C633E6.3C6626A0 Subject: Sessions

RE: Re: [PHP-DB] Re: sessions

2004-12-13 Thread Norland, Martin
-Original Message- From: John Holmes [mailto:[EMAIL PROTECTED] You are wrong. :) Having register_globals OFF helps to prevent poorly written programs from being vulnerable to users setting variables in the URL/header/cookie data. You can still write horribly insecure programs

[PHP-DB] Re: sessions

2004-12-11 Thread Shen Kong
Hi, if your register_global = on you can do it like you do, if register_global = off, use it like this: session_start(); session_register(session_username); //or $_SESSION[session_username] = null; session_register(session_level); // or $_SESSION[session_level] = null;

Re: [PHP-DB] Re: sessions

2004-12-11 Thread Joseph Crawford
correct me if i am wrong but i have been told it is bad and insecure to use register_global=on i have seen many comercial scripts that rely on this and it just makes me laugh On Sat, 11 Dec 2004 16:48:05 +0800, Shen Kong [EMAIL PROTECTED] wrote: Hi, if your register_global = on you can do it

Re: Re: [PHP-DB] Re: sessions

2004-12-11 Thread John Holmes
From: Joseph Crawford [EMAIL PROTECTED] correct me if i am wrong but i have been told it is bad and insecure to use register_global=on You are wrong. :) Having register_globals OFF helps to prevent poorly written programs from being vulnerable to users setting variables in the

[PHP-DB] Re: Sessions and MySQL?

2003-10-16 Thread pete M
might seem a bit long winded but this is how I would code it $sql = INSERT INTO $table ( salutation, name, city} VALUES { $sql .= '.$_SESSION{'salutation'].', $sql .= '.$_SESSION{'name'].', $sql .= '.$_SESSION{'city'].' ) mysql_query($sql); regards pete mysql_query(INSERT INTO $table (

Re: [PHP-DB] Re: Sessions and MySQL?

2003-10-16 Thread Viorel Dragomir
I'm not sure that this code will work. Try to use $_SESSION['..'] and (..). [Don't use the {, } for this purposes. vio- - Original Message - From: pete M [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, October 16, 2003 4:02 PM Subject: [PHP-DB] Re: Sessions and MySQL? might

[PHP-DB] Re: Sessions help needed!

2003-07-05 Thread Ronaldo Villarosa
It recently happened to me too... however, I use the session_id() to keep track of the same session... I also use a table to check on who's who.. Anyway, it was working fine and all of a sudden the client complained that no one can log in... I echoed the session id of the pages and saw that

[PHP-DB] Re: sessions

2002-05-23 Thread Michael Virnstein
make sure that there is no character anywhere before session_start(). this also includes whitspaces. so check you're files, if there are whitspaces before the ?php or if there's any include file included before the session_start, which has whitspaces before the ?php or after the ?. of course you

[PHP-DB] Re: Sessions

2002-02-05 Thread Joe Van Meer
Hi there, make sure you aren't outputting anything to the browser prior to sending headers ie the echos on top of page 3. When you register a session variable you should assign it a value ie: session_register(mysessionvar); $mysessionvar = $whateveryouwish; Also make sure session_start(); is at

[PHP-DB] Re: Sessions and Frames

2001-10-19 Thread m0sh3
i don't think frames are the problem. check again if you printing anything in same frame before session_start(); Tjaybelt [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I have a site that is successfully using sessions and authentication. However, I am working

[PHP-DB] Re: sessions in PHP

2001-09-25 Thread Steve Brett
http://www.phpbuilder.com/columns/ good articles on sessions Steve Nirat [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... can anyone guide me to using sessions in PHP i've tried it a lot of times but its not working. any help tutorials would be helpful... --

RE: [PHP-DB] Re: sessions

2001-02-23 Thread Hoover, Josh
Configure PHP with this line included --enable-trans-sid This will automatically put the session ID after every URL if the user does not have cookies enabled. Josh Hoover KnowledgeStorm, Inc. Searching for a new IT solution for your company? Need to improve your product marketing? Visit

AW: [PHP-DB] Re: sessions

2001-02-23 Thread Matthias Kopolt
. Februar 2001 15:00 An: 'Pankaj Ahuja'; php-db list Betreff: RE: [PHP-DB] Re: sessions Configure PHP with this line included --enable-trans-sid This will automatically put the session ID after every URL if the user does not have cookies enabled. Josh Hoover KnowledgeStorm, Inc. Searching