[PHP] PHP QUERY_STRING

2002-05-21 Thread Stavros Patiniotis

Hello,

My web server hdd just crashed, and I have replaced and rebuilt it with a
new drive.

All of my websites have been transferred over the the new site from
backup, and I am having a problem with PHP seeing GET variables.

My searching says that I should look in the php.ini file, but cannot
see any settings that would apply.

Can any one help, eg


http://webserver/stav.php?Action=Run



stav.php
?
//test

print Action is $Action;

?


Any suggestions or pointers would be much appreciated.




Kind Regards,


0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0
 escape net
  m a k i n g   t h e   n e t  w o r k   f o r   y o u

465b South Road ph 8293 2526
KESWICK SA 5035 fx 8293 2949
0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0


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




Re: [PHP] PHP QUERY_STRING

2002-05-21 Thread Stavros Patiniotis


Hello,

Great stuff!

Thank you!

Kind Regards,


0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0
 escape net
  m a k i n g   t h e   n e t  w o r k   f o r   y o u

465b South Road ph 8293 2526
KESWICK SA 5035 fx 8293 2949
0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0

On Tue, 21 May 2002, Rasmus Lerdorf wrote:

 register_globals



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




[PHP] PHP form data

2002-05-21 Thread Stavros Patiniotis


Hello,

I am experiencing problems with receiving form data into my
scripts.  The phpinfo() function shows me:

PHP_SELF
_POST[Action] checkEmail 
_POST[emailAddress]   st 
_POST[submit] Next  
_COOKIE[uid]
_COOKIE[emailAddress]
_COOKIE[testCookie]   Success 


However, I can only see $Action in my script, if I try to access
$emailAddress, it doesn't work.

Any pointers, or documents to refer me to??


Kind Regards,


0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0
 escape net
  m a k i n g   t h e   n e t  w o r k   f o r   y o u

465b South Road ph 8293 2526
KESWICK SA 5035 fx 8293 2949
0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0


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




Re: [PHP] PHP form data

2002-05-21 Thread Stavros Patiniotis

 
 I am experiencing problems with receiving form data into my
 scripts.  The phpinfo() function shows me:
 
 PHP_SELF
 _POST[Action]   checkEmail 
 _POST[emailAddress] st 
 _POST[submit]   Next  
 _COOKIE[uid]
 _COOKIE[emailAddress]
 _COOKIE[testCookie] Success 
 

Further to my last email, I'd just like to point out that the scripts that
I am using used to work with an older php4 version (not sure of the
version number).

I'd also like to point out how the script works:

(1) joinup.php
   -set test cookie
   -delete emailAddress cookie
   -redirect to joinup1.php

(2) joinup1.php
   -if test cookie
   -ask for email/passwd -submit
   -sumbits to self with Action=checkEmail
   -checkemail is failing due to this problem.

So basically the $emailAddress variable is being overwritten by the
emailAddress cookie in (1).  How can I prevent this?  Remember that I need
to delete the emailAddress cookie as the user will not be able to sign in
in (2) when they to use a different email address (which is required).


Thanks.


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