[PHP] Session Authentication etc...

2002-04-30 Thread Troy Lynch
I'm currently rewriting a website in PHP and something I'm looking to do is login and logouts but also have a page to view who is logged at the present time. I've kinda made some login code which basically checks the database and then sets a cookie which I think I will change cause it looks like

[PHP] Getting ip address of client and displaying a number in decimal format.

2001-09-13 Thread Troy Lynch
I'm trying to find out how to do 2 things one. I'd like to get the ip address of the client machine so I can write it to a database. And then I'd like to convert a number to show 2 decmials to the right like for money etc Thanks Troy -- PHP General Mailing List (http://www.php.net/) To