I've tried other ways but my problem still continues... I can not pass
$login var out of the function.
I don't have this problem in the two previous functions because I pass this
variable as function argument, but this last function that doesn't have
arguments I can't see the $login (even
Thanks for your reply but for example, my problem is more like the following
php3:
?
$login='';
Function login() {
global $login;
echo('form enctype=multipart/form-data method=post
action=test.php3?s=1');
echo(' pLogin/pinput type=text name=login size=10');
echo('input type=submit
this will ensure that the variable is a POST var vs a GET var too...
function test()
{
global $HTTP_POST_VARS;
echo $HTTP_POST_VARS['login'];
}
--
Chris Lee
[EMAIL PROTECTED]
Miguel Ribeiro [EMAIL PROTECTED] wrote in message
9dpgkk$mdb$[EMAIL PROTECTED]">news:9dpgkk$mdb$[EMAIL
Hi,
I'm struggling to pass from 3 functions (and one of them have a html form
POST) one simple variable called $login.
Once in the function (that have form with POST) is calling a php3 without
passing the $login (like: common.php3login='someone') and since the next
function doesn't have any
4 matches
Mail list logo