Reply to Having resource variables over several scripts

Your name:

Reply:


Posted by Benjamin Mack on 10/10/05 18:03

Hey,

I am trying to have e.g. a file opened over several scripts. When
opening a file with "fopen" I receive a variable of the type resource
(like "Resource ID #3"), but when I try to save this variable in the
SESSION and try to use it on another page, I get a "null" variable.

Because I need to have the same and exact resource (not opened every
time I load a new page) and since it is apparently not possible to store
it in a session, I wanted to ask if somebody had the same issue once,
and maybe there is some help out there.
Could I somehow serialize the resource, then give it to another page via
GET or POST?

I would really appreciate if somebody has some hints...

Thanks,
benni.
-SDG-

[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

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