Reply to Re: [PHP] Passing objects between pages

Your name:

Reply:


Posted by Jochem Maas on 09/27/00 11:33

Matt Monaco wrote:
> What is the best way to pass an object between pages? Currently I am
> first
> serializing, then doing a base64_encode, this doesn't seem entirely
> efficient. (Especially the encode).
>
> I am however using the encode because I have the serialized object as the
> value of a hidden form element. I can only have alphanumerics here.

stick the object in $_SESSION, making sure that you ALWAYS include the
relevant class definition(s) BEFORE starting the session.


>

[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

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