I cannot compile this:
try that :
foreach ($HTTP_POST_VARS as $key => $var){
print "VAR: $var KEY = $key";
}
Regards,
Andrey Hristov
- Original Message -
From: "mweb" <[EMAIL PROTECTED]>
To: "phplist" <[EMAIL PROTECTED]>
Sent: Friday, November 30, 2001 10:03 AM
Subject: [PHP] HTTP_PO
try:
reset($HTTP_POST_VARS);
at the begining of the code. if that doesn't work verify your html again.
make sure the 's are between the form tag. php doesn't ignore
certain form fields. =)
i'm the habit of reading arrays like...
while(list($k,$v) = each($HTTP_POST_VARS)) {
echo "key is $k -
ory tree!
This also works both ways :
$loc = "../files/poese.txt"
$loc = "..//files//poese.txt"
-Original Message-
From: Jason [mailto:[EMAIL PROTECTED]]
Sent: 30 November 2001 10:54
To: mweb; phplist
Subject: Re: [PHP] HTTP_POST_VARS truncated
try:
reset($HTTP_POST_VARS);
at
> reset($HTTP_POST_VARS);
>
> at the begining of the code. if that doesn't work verify your html again.
> make sure the 's are between the form tag. php doesn't ignore
> certain form fields. =)
>
> i'm the habit of reading arrays like...
> while(list($k,$v) = each($HTTP_POST_VARS)) {
> echo "
4 matches
Mail list logo