At 22:19 17/02/2006, you wrote:
From: "Chris Payne" <[EMAIL PROTECTED]>
To:
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 help needed !!!
> -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
> progr
> 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 URL/hea
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
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;
$_SESSION['sessio
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 P
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
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
diffe
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 .
of course you also cannot send any other characters or html to the browser
before session_start is called. A workaround could be done usi
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 a
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 wor
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...
, 23. 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.
Sea
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 Knowle
This could be because cookies have been disabled. Can I find a way such
that my code works even if cookies have been disabled ??
- Original Message -
From: Pankaj Ahuja
To: php-db list
Sent: Friday, February 23, 2001 12:04 PM
Subject: sessions
I am trying to execute the following c
15 matches
Mail list logo