variable issue encountered... help needed!
Just don't use register globals and use "if ($_POST)" instead of
"if($action=='post')" so you don't have to include that ?action=post in
the query string of your action.
Dvdmandt wrote:
> Accutually, I intented
Just don't use register globals and use "if ($_POST)" instead of
"if($action=='post')" so you don't have to include that ?action=post in
the query string of your action.
Dvdmandt wrote:
Accutually, I intented ?action=post, and if($action=='post'), just forgot to
add method="post".. :p
--
Regards
Accutually, I intented ?action=post, and if($action=='post'), just forgot to
add method="post".. :p
--
// DvDmanDT
MSN: dvdmandt¤hotmail.com
Mail: dvdmandt¤telia.com
"Blake Schroeder" <[EMAIL PROTECTED]> skrev i meddelandet
news:[EMAIL PROTECTED]
> One problem
> wrong
>
> right
>
> ?action is a
I agree. I believe the default FORM METHOD is GET.
> One problem
> wrong
>
> right
>
> ?action is a variable with a value of post
>
> -Blake
>
>
> DvDmanDT wrote:
>
>>Hmm.. Are there any PHP settings that only applies to that vhost? Can you
>>please try to run PHP as CGI few tries.. If the inp
Is this what your are trying to do?
$var = $_POST['var'];
if($var)
var_dump($_REQUEST);
else
{
?>
DvDmanDT wrote:
Hmm.. Are there any PHP settings that only applies to that vhost? Can you
please try to r
One problem
wrong
right
?action is a variable with a value of post
-Blake
DvDmanDT wrote:
Hmm.. Are there any PHP settings that only applies to that vhost? Can you
please try to run PHP as CGI few tries.. If the input is corrupt, that
_could_ be caused by the Apache2 which accutually is marked
Hmm.. Are there any PHP settings that only applies to that vhost? Can you
please try to run PHP as CGI few tries.. If the input is corrupt, that
_could_ be caused by the Apache2 which accutually is marked as
experimental... Basicly, this would get currupt?
(wierd-var-test.php)
Or are there
From: "Jason Wong" <[EMAIL PROTECTED]>
> On Monday 05 April 2004 22:46, [EMAIL PROTECTED] wrote:
> > Thank you all for your ideas so far, however, I ahve gone through all my
> > code, and cannot seem to find the culprit.
>
> I believe it is a known bug with a particular old version of PHP, try
usi
On Monday 05 April 2004 22:46, [EMAIL PROTECTED] wrote:
> Thank you all for your ideas so far, however, I ahve gone through all my
> code, and cannot seem to find the culprit.
I believe it is a known bug with a particular old version of PHP, try using
the latest.
--
Jason Wong -> Gremlins Assoc
Fri)
Phone: 508-480-4523 (Thursdays only)
[EMAIL PROTECTED]
PGP Public Key - http://gvarosky.conversent.net/gvarosky.txt
-Original Message-
From: Kim Steinhaug [mailto:[EMAIL PROTECTED]
Sent: Monday, April 05, 2004 6:04 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Re: Weird variable issue encoun
My first thought is that some dynamic code on this page has an error.
Typical like this :
news:[EMAIL PROTECTED]
> This problem only seems to be happening on one of the virtual hosts on
this
> system, and I cannot seem to figure out just what it is.
>
> I have a simple form posting to search.php,
11 matches
Mail list logo