Recommend this page to a friend! |
Download |
Info | Demos | Videos | Files | Install with Composer | Download | Reputation | Support forum | Blog | Links |
Ratings | Unique User Downloads | Download Rankings | ||||
73% | Total: 5,835 This week: 1 | All time: 397 This week: 38 |
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 (2) | ||
Files (13) |
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 (13) | / | 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 (13) | / | webcamImage |
File | Role | Description |
---|---|---|
webcam-image-folder.txt | Data | Dummy file to keep this directory |
The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page. |
Install with Composer |
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.