You are here: Re: Problem with POST variables (PHP5) « PHP Programming Language « IT news, forums, messages
Re: Problem with POST variables (PHP5)

Posted by Jim Michaels on 02/12/06 07:58

it doesn't look like you are using HTML strict like you were saying. in
fact, there is no DTD. you should try using one, not that it would help
much.
This is what I saw for HTML. You shouldn't be outputting stuff before HTML
element anyway.

I tried this form and look what I got...
Array ( [abc] => 123 )
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-

transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>test me</title>
</head>

<body>
<form action="http://www.webmarkdesigns.com.au/my_test.php5?abc=123"
method="post">
<input type="text" name="txtMe" value="Test">
<input type="submit" value="Submit">
</form>
</body>
</html>

you appear to be using $_GET[] or $_REQUEST[], not $_POST[] in your
print_r().



"samudasu" <samudasu@hotmail.com> wrote in message
news:1139302438.061221.56970@z14g2000cwz.googlegroups.com...
> EGPCS is the correct default, sorry for the typo. There are several PHP
> directives that can be set in httpd.conf and .htaccess files but it
> doesn't seem variables_order is the problem in this case although you
> can try.
> http://us2.php.net/configuration.changes
>

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация