Reply to Re: Get/POst method not working

Your name:

Reply:


Posted by J.O. Aho on 06/09/07 18:26

macsaregreat@gmail.com wrote:
> hi, I have a get method <?php echo $_GET['submission_id']; ?> It
> worked just fine on my host, bu then It wont work on a server at
> 1and1.

As we don't know what version of php the later one uses, we can't for sure say
what's wrong, but it could be that you aren't using the get method, but post,
in which case you should have used $_POST, but when unsure how a page will be
called on and you aren't that picky about the moethod, then use $_REQUEST.

If they use an old version of php (pre 4.1.0), then use $HTTP_GET_VARS and/or
$HTTP_POST_VARS. Keep in mind that those won't work well on newer versions of php.

--

//Aho

[Back to original 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

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