Re: [PHP] Understanding session variables with input field and register_global

2007-02-20 Thread Haydar TUNA
Hello, Can you send your code? I can help you :) -- Haydar TUNA Republic Of Turkey - Ministry of National Education Education Technology Department Ankara / TURKEY Web: http://www.haydartuna.net ""Jay Blanchard"" <[EMAIL PROTECTED]>, haber iletisinde sunlari yazdi:[EMAIL PROTECTED] [sni

Re: [PHP] Understanding session variables with input field and register_global

2007-02-20 Thread Richard Lynch
On Tue, February 20, 2007 10:32 am, Otto Wyss wrote: > I've an input field in a form > > > and with register_global I can use this field in PHP as variable > $username. You really really should turn OFF register_global for new code development... > Yet if I use a session variable > > $_SESSION['

RE: [PHP] Understanding session variables with input field and register_global

2007-02-20 Thread Brad Fuller
> -Original Message- > From: Otto Wyss [mailto:[EMAIL PROTECTED] > Sent: Tuesday, February 20, 2007 11:32 AM > To: php-general@lists.php.net > Subject: [PHP] Understanding session variables with input field and > register_global > > I've an input fiel

Re: [PHP] Understanding session variables with input field and register_global

2007-02-20 Thread Németh Zoltán
2007. 02. 20, kedd keltezéssel 17.32-kor Otto Wyss ezt írta: > I've an input field in a form > > > and with register_global I can use this field in PHP as variable > $username. Yet if I use a session variable > > $_SESSION['username'] = 'value' > > the variable $username gets the same value.

RE: [PHP] Understanding session variables with input field and register_global

2007-02-20 Thread Jay Blanchard
[snip] I've an input field in a form http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Understanding session variables with input field and register_global

2007-02-20 Thread Otto Wyss
I've an input field in a form and with register_global I can use this field in PHP as variable $username. Yet if I use a session variable $_SESSION['username'] = 'value' the variable $username gets the same value. On the other side when I enter a value in the input field, the session variabl