[PHP] setup connection to sybase

2003-03-12 Thread P Lok
Cannot setup connection to remote Sybase db.
Using Apache 1.3.x + PHP 4.x on Windows 2000 server.
Remote Sybase db on Windows 2000 server.

PHP manual says Servername in sybase_connect() defines in 'interfaces' file.
What are they?  Where are they?

rgds



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



[PHP] How to count & check # of user connected

2003-03-24 Thread P Lok

Does anyone know how to count & check # of user logged on (and not logged off) using 
PHP?
Should I use session?

best regards
./pl


Re: [PHP] How to count & check # of user connected

2003-03-24 Thread P Lok
Thanks!
Could u pls tell me where can I find the said topic?
Is the record in db still valid if the user has disconnected?

rgds
./pl


"Marek Kilimajer" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> This has been discussed before. It depends on what kind of
> authentication you use. Sessions are great for this, but you need to use
> your own session save handler, save sessions to sql db, and then use
> select count(*)
>
> P Lok wrote:
>
> >Does anyone know how to count & check # of user logged on (and not logged
off) using PHP?
> >Should I use session?
> >
> >best regards
> >./pl
> >
> >
> >
>



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