[PHP-DB] Re: How To Detrmine Session End

2004-08-04 Thread Josh Acecool M
Add a timeout value, if user does not refresh page or have any activity in X seconds, logout or do not list. Mubashar-Hotmail [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi all, In the scenario of Who are online now on the site, how we track user If a he don't click on Logout

[PHP-DB] Re: Web page paginator that doesn't rely on the LIMIT clause

2004-08-03 Thread Josh Acecool M
That will take alot of resources, but if you only want 20 then make a variable to count, $i or so, $++; each time it goes through, after 20 make it stop the script. Ross Honniball [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi all, I use the LIMIT statement to control paging of

[PHP-DB] php-db@lists.php.net is currently protecting themselves from receiving junk mail using Spamcease Just this once, click the link below so I can receive your emails.

2004-08-03 Thread Josh Acecool M
What is this? I received this E-Mail, and the link goes to something other than PHP.net [EMAIL PROTECTED] is currently protecting themselves from receiving junk mail using Spamcease Just this once, click the link below so I can receive your emails. You won't have to do this again. -- PHP

[PHP-DB] Eval a file, and it gives parse error because it uses a preg_match statement with \$

2004-08-02 Thread Josh Acecool M
And well, this is kind of annoying aswell.. A variable isnt getting passed to the files it Evals.. Basically, its the new template engine im coding, its a class, its about 8x faster than the old method of buffering. In the class I evaluate the template, but variables from files included by the