You are here: Re: Passing a variable between pages or scripts « All PHP « IT news, forums, messages
Re: Passing a variable between pages or scripts

Posted by J.O. Aho on 11/14/06 12:35

aaron.reese@tiscali.co.uk wrote:
> or append the variables to the end of the href URL as
> www.callthispage.co.uk/callthispage.html?variable1=999&variable2=XYZ
>
> You can then strip them off in the receiving page using $HTTP_GET_VARS
> and use them in the same way as you would $_POST values.

You should always use $_GET over $HTTP_GET_VARS, which is deprecated and will
with release of PHP 6 be gone for good (PHP 5 can enable this, but default
turned off).


//Aho

 

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

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