Re: Keeping file pointers open after script end

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, June 9, 2007 3:44 pm, Tijnema wrote:
> Is there any way to keep a file pointer open after script is finished,
> so that it can be access later, by passing it through session?

No.

Well, okay, *MAYBE* you could hack something up with exec() and fork
some kind of external process that keeps it open and...

You'd be better off to:
  1. just re-open the file and see how badly it affects performance
  2. write a custom PHP daemon to keep the file open and talk over port

Why do you think you need this -- Sometimes telling us the Big Picture
is much more fruitful than just asking such a specific question.

-- 
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some indie artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux