You are here: Re: how do you send a lot of data between scripts « PHP Programming Language « IT news, forums, messages
Re: how do you send a lot of data between scripts

Posted by P Pulkkinen on 01/31/07 11:44

"Gunnar G" <debian@comhem.se> kirjoitti
viestiss�:iJ_vh.30820$E02.12529@newsb.telia.net...
>> use sessions or shared memory functions
> Which one would you suggest (is easiest for me to use and learn)?
> All I want to do is to send a bunch of arrays from one page to another.
> That's all.

I don't comment shared memory functions, because i have not used them, but
session is anyway one easy and common way and you'll learn to love it, but
remember about sessions:

1) remember to START session => session_start() or if they are autostarted
in php.ini no problem
2) both scripts should be in same host (but directory doesn't matter)
3) you have a choice to make:
a) you pass session_id in EVERY necessary url, automagically(php.ini) or
manually
OR
b) it is stored to cookie and then users MUST have cookies enabled.
this seems to be default setting. this is safer but problem is if user has
disabled cookies

... or something like this...

 

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

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