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 Tim Streater on 11/14/06 12:10

In article <1163505571.048647.193820@k70g2000cwa.googlegroups.com>,
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.

Not if you have 30 or 40 variables to pass. Up to now I have used a form
with hidden variables but I am going to look at the session stuff. Not
quite clear in my mind how to use it as we don't have sessions as such.

> Of course by doing this the user will see the values being passed
> across in the URL string (unless you use Ajax) and it will make the
> page ungoogleable.

That might be considered an advantage.

-- tim

 

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

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