You are here: Re: Newbie: Variable Scope: Passing arrays between PHP programs. « PHP Programming Language « IT news, forums, messages
Re: Newbie: Variable Scope: Passing arrays between PHP programs.

Posted by Sjoerd on 07/11/07 21:29

qazwart wrote:
> * Use a SQL database. This seems like a bit of overkill for just this
> one item.
> * Use hidden fields: There could be dozens, if not hundreds of
> releases to choose from. That's a lot of data to pack into a form.
> * Use cookies: I know I can pass single pieces of data to cookies, but
> a whole array?
>
> So, exactly how do you pass a lot of information from one PHP program
> to another between http calls?

You can use serialize to get a string representation of an array. You
can store this string in a hidden field, a cookie, a session variable, a
file, etc.

 

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

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