$_GET['variable_name'] for GET variables
and
$_POST['variable_name'] for POST variables.

Change the "variable_name" to whatever was in your form, for example the
below variable name is
"cust_name"

<input type="text" name="cust_name">

For session it would be $_SESSION['session_name']

etc etc

The above should get you going, but read up in the manual.

Cheers,
-Ryan


On 3/4/2004 6:55:50 PM, Patrick Fowler ([EMAIL PROTECTED]) wrote:
> I installed SuSE Linux 9.0 along with php.  The flag below is turned off
> by default.  I could not send any vars with a post or get form.  I
> turned it one and all works well.  The comments tell you not to turn it
> on because of possible security issues and to code around it.  My
> question is how do you send vars and session var from page to page
> without it turned on?  Any info would be a big help.  Thanks for your
> time.
>
>
> ; You should do your best to write your scripts so that they do not
> require
> ; register_globals to be on;  Using form variables as globals can easily
> lead
> ; to possible security problems, if the code is not very well thought
> of.
> register_globals = On
>
>
>
> Patrick Fowler
> Unix Admin/database Admin
> Wynit, Inc.
> 6847 Ellicott Drive
> East Syracuse, NY 13057
> V (315)437-1086 x2172
> F (315)437-0432

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

Reply via email to