If you want to take a picture of user from webcam or mobile camera then you can use javascript webcam library for capture image form camera and save it in php.
In this tutorial, i will show you how to implement webcam capture and store image on server in php application.
we will use webcam library for live capture image. webcam library will help to display desktop camera and your mobile camera so, user can see and take picture from there.
In this example, we will create index.php file and show you layout of your webcam with "Take Snapshot"...