You are here: Re: How to move arrays from html webpage to webpage? « PHP Programming Language « IT news, forums, messages
Re: How to move arrays from html webpage to webpage?

Posted by Toby Inkster on 01/15/07 14:14

duzhidian@gmail.com wrote:

> There are a couple techniques to move information from different html
> web page to web page.
> 1. URL;
> 2. Cookie;
> 3. Form;
> 4. Session;

All of them *could* be used to store and retrieve array information, but
sessions are by far the easiest.

The others are only capable of storing and retrieving strings (not
arrays), so you'd need to use/write functions to do array<=>string
conversion. (serialize() and unserialize() are the the built-in PHP
functions to convert between array and string, and should be used
unless you have an overwhelming reason not to.)

--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact

 

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

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