Re: Problem of varibles between webpages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

For table form format ( sample ),

<form method="" action="">
<table>
<tr><td>Your Name : </td><td><input name="name" size=30 maxlength="60"></td></tr>
<tr><td>Address:</td><td><input name="address" size=30 maxlength="60"></td></tr>
</table>
</form>

"name" and "address" is varible, so how can we pass these two varible without register_globals function ( actually it is disable ) to another webpage ?

Many thank for your help !

Edward.

John Holmes wrote:

> > From: edwardspl@xxxxxxxxxx
>
> > After disable the globals varibles function...
> > Then how to transfer varibles between webpages with the following ways ?
>
> register_globals has nothing to do with how you pass variables... you still use the URL or forms. It only changes how you access them in PHP scripts, i.e. using $_GET['var'] instead of $var.
>
> > 1, Table form format.
>
> wtf is this?
>
> > 2, Hyperlink ( click and go to another webpage ) format.
>
> The variables passed in a URL are available in $_GET and $_REQUEST.

I have ever try to use $_GET and $_REQUEST, but fail...
I will send my samples in here.

> > 3, upload file ( through php into database ).
>
> $_FILES
>
> ---John Holmes...
>
> UCCASS - PHP Survey System
> http://www.bigredspark.com/survey.html

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux