Getting started with phpViddler Part 2: User authentication and sessions
Sunday, April 20th, 2008If you haven’t already, please be sure to read part one that Kyle put together, which covers the simple task of initiating the phpViddler class and using it to list videos. Some of the code found herein may not make sense if you haven’t read part one.
I think you’ll find, through these tutorials, that using phpViddler makes it dead simple to use Viddler’s APIs. Please leave feedback if you have any specific areas you’d like us to cover.
Authenticating a user
To authenticate a user you will need both the username and password of the user. For this example, we’ll say the username is my username, cdevroe, and the password will be a fake password of ‘password’.