Question about validating a user

Started by Jen Smith, July 27, 2006, 09:44:45 PM

Previous topic - Next topic

Jen Smith

I have a question, this sounds (in theory) pretty simple, but figured I'd toss this out there so people can point out problems, etc.

I have my SMF forum running quite nicely on a pro host, have never had a problem with it. The host also handles my SQL database.

I'm writing a multi-user application, and what I would like it to be able to do is to verify a username/password combo with the forum.  Doesn't actually interact with it, just passes back a true or false if it's good, maybe an access level.

Is there a simple way to do that? (SSI? A simple PHP function?) Plus, what about security? The program will be connecting directly via a TCP socket and sending/receiving data from the web server, there's no browsers involved. The program is a server of sorts, it'll be the only one ever requesting a validation, so is it possible to restrict to a particular IP? (Or is that for .htaccess for simplicity?)

I'm still learning PHP, I know just enough to get by, so keep it simple.  ;)

Thanks for any input.

Advertisement: