Re: [PHP] session_destroy problem

2003-01-11 Thread Tamás Árpád
You da man. Unload is perfect. If the problem he mentioned before prevents the browser from finishing its communication with the server you can always send a wait command with sufficient time for things to finish up. I'll start testing in a live environment with it now. Thank you for the

Re: [PHP] session_destroy problem

2003-01-10 Thread Tamás Árpád
Yes, the JavaScript code can run before the browser is closed but it would not be finish running because the browser closing had been executed. Someone had tried it before and struggled with it. But that is a good advice, thanks for jumping in. I really doubt that browsers doesn't run the

Re: [PHP] Re: some kind of library loader

2002-04-03 Thread Tamás Árpád
On Thu, 4 Apr 2002, Maxim Maletsky wrote: You can try to load all those classes as texts into a db and then to execute the needed ones as eval()ed strings. It could be easy for you to create the logic because the PHP code are stings and are never included but SELECTed. Not sure if this

Re: [PHP] Re: some kind of library loader

2002-04-03 Thread Tamás Árpád
Have you considered simply using require_once? Yes, actually I'm using it now, but it's not enough. Also, you can find out if a class was defined by calling 'class_exists()'. In this way you might save something. The best way thought is what Miguel was saying: load the files conditionally with a