Recommend this page to a friend! |
Download .zip |
Info | Demos | Videos | View files (13) | Download .zip | Reputation | Support forum (9) | Blog | Links |
Ratings | Unique User Downloads | Download Rankings | ||||
73% | Total: 5,774 This week: 5 | All time: 406 This week: 17 |
Version | License | PHP version | Categories | |||
webcam-in-php 1.0.4 | GNU General Publi... | 5 | HTTP, PHP 5, Graphics, Files and Folders |
Description | Author | |||
This class can save picture taken from Webcam to a file or MySQL. Innovation Award
|
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
Videos | ||
Files |
File | Role | Description | ||
---|---|---|---|---|
jpeg_camera (5 files) | ||||
webcamImage (1 file) | ||||
connectionClass.php | Class | Database connection class file | ||
webcamClass.php | Class | Webcam class file to get the image and save the image | ||
action.php | Example | Example script | ||
index.php | Example | Index file for showing the webcam | ||
LICENSE | Lic. | License text | ||
README.md | Doc. | Documentation | ||
webcam.sql | Data | Auxiliary data |
Files | / | jpeg_camera |
File | Role | Description |
---|---|---|
canvas-to-blob.min.js | Data | Auxiliary data |
jpeg_camera_no_flash.min.js | Data | Auxiliary data |
jpeg_camera_with_dependencies.min.js | Data | Auxiliary data |
swfobject.min.js | Data | Auxiliary data |
test.txt | Doc. | Documentation |
Files | / | webcamImage |
File | Role | Description |
---|---|---|
webcam-image-folder.txt | Data | Dummy file to keep this directory |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
100% |
|
|
User Ratings | User Comments (2) | |||||||||||||||||||||||||||||||||||||
|
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.