[PHP] Re: forms and sessions ?

2003-01-09 Thread Munir
Scott wrote:

hi

I'm having some problems submitting forms while using sessions :o(

I have a form, that will only display if the session vars exist and are not
null or empty. I'm using this is the form handler




Write some more information so that we know what u want ok :)


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




[PHP] Re: Forms and Sessions not working

2002-11-16 Thread conbud
Hi,
If your register_globals is off then you will need to use
$_GETand $_POST  to get the data from the form.

echo $_POST['Name'];

Lee

Chris Jackson [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
 Hi all:
 Im new to php and i have an isue.

 php4.2.3 windows 2000 advanced server


 I create a simple form page that posts back to its self and im unable to
 retreive the posted form data to display on the page.

 it seems like all my GLOBAL amd SESSION stuff isnt working.
 sample code:


 form name=form method=post action=thispage.php
 Your Namebr
 input type=text name=Name value=?PHP $Name ?br
 input type=submit name=Submit value=Submit
 /form

 Im thinking that it may be a setting in the php.ini file but i dont know..
 Please help.

 Thanks.





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




[PHP] Re: Forms and sessions

2002-08-15 Thread Kondwani Spike Mkandawire

Donpro [EMAIL PROTECTED] wrote in message
007601c24462$fec36fe0$[EMAIL PROTECTED]">news:007601c24462$fec36fe0$[EMAIL PROTECTED]...
 Hi,

 How can I keep values in a from when using session_start() and later, the


I always keep variables as hidden HTML variables Note: you'd
have to include backslashes if you are using PHP

 echo input type = hidden \name=var1\ value = \$var1\;


 Back Button on my Browser after posting via POST?


I may be wrong but in my experience with Sessions you may use
the back Button as long as your Script has reached the
destroy session statement...  If the Script is executing after a point
at which the Session has been destroyed you'll get a
*Page Expired* Notice...

Hope this helps...
 Thanks,
 Don


Spike...



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