PDA

View Full Version : Verifying Usernames


chucknorris
12th March 2007, 14:10
Hi!

Does anyone know how I can check the existance of a specific user
from php?


bye
-chuck

the_angry_angel
12th March 2007, 14:17
Check the output from a fetch of the PST (http://www.lfsforum.net/showthread.php?t=14480) stats for the username you want to query. If it doesnt' exist LFSW outputs pst: no valid username

Edit: wrong error code.

chucknorris
12th March 2007, 14:25
yeah thanks. But I dont like that pubstat thingy since i have to register some weird ident key wich is necessarily linked with my username. I thought that "IsOnline" picture might be useful, but it always shows "offline", even if the user doesnt exist at all.

the_angry_angel
12th March 2007, 14:30
If you're making a program for public use just stick in a settings field where anyone can use their own key...?