You are here: Re: funny problem « PHP Programming Language « IT news, forums, messages
Re: funny problem

Posted by Tomasz Wysocki on 10/17/94 11:30

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Joseph S. napisał(a):
> Hi,
> (1) I have about 8-9 .php files which are far from complex. I first
> used GET in all of them. Worked fine. Then I changed all method="get"
> to method="post" and $_GET to $_POST with search-replace, thinking that
> it should work, but, it seems the $_POST variables are not getting
> populated. Then I tried a simple one-page script using post - works
> fine. So what could be the problem? I am not using
> import_request_variables() or any such advanced feature.

Maybe you using something like:

echo "<a href=\"index?a=$a\">text</a>";

This is works only with $_GET.

Tom Wysocki
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDYTbOLaRVEfZTNaERAs59AJ9lWhreocKG3wTuUdqFIJzObB0bFACcCu8D
IHtXYxGa5wywG5GH0aB2LV4=
=UOBG
-----END PGP SIGNATURE-----

 

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

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