|Last Updated|| ||Ratings|| ||Unique User Downloads|| ||Download Rankings|
|2017-06-10 (1 year ago) || 73%||Total: 2,692 This week: 26||All time: 1,390 This week: 18|
This class can save picture taken from Webcam to a file or MySQL.
The class serves the path of the saved image as output of the handler script, so the browser can display it to the user.
The image can also be saved to a MySQL database table record.
Prize: One big elePHPant Plush Mascott
|Many Web sites need to take pictures of their users. One way to achieve this is to take a snapshot of the user image using his computer or mobile device Webcam.
This class can take pictures captured using a Webcam and uploaded to the server, so it can save the images to server files or a MySQL database table.
Webcam in PHP Using html5
Use webcam in PHP using HTML5, Jquery and Save the Image to Database
This repository will help you to integrate and save the captured image to the database or local folder.
Here are some code structure to understand the important parts of this class.
$imageFolder="your folder"; - This is your folder where you would like to save the file
showImage() - This function will get the image and return the name including the path
If you want to save the image to database than you can use this function.
changeImagetoBase64() - This function will change the image to base64
saveImageToDatabase() - It will help you to save the image to database
||Applications that use this package
No pages of applications that use this class were specified.
If you know an application of this package, send a message to the author to add a link here.