PHP Classes
elePHPant
Icontem

File: README.md

Recommend this page to a friend!
  Classes of Vivek moyal  >  PHP Webcam Capture  >  README.md  >  Download  
File: README.md
Role: Documentation
Content type: text/markdown
Description: Documentation
Class: PHP Webcam Capture
Save picture taken from Webcam to a file or MySQL
Author: By
Last change: Update README.md
Initial commit
Date: 1 year ago
Size: 731 bytes
 

Contents

Class file image Download

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.

webcamClass.php

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