|Last Updated|| ||Ratings|| ||Unique User Downloads|| ||Download Rankings|
|2017-04-28 (23 days ago) || 72%||Total: 433 This week: 51||All time: 6,035 This week: 12|
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.
|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.
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.