Ask Your Question

How can we link the web cam device to a php mysql code to include a field called picture?

asked 2012-07-15 18:35:52 -0500

carla123 gravatar image

What is the syntax on how to capture picture with PHP MYSQL using a webcam device?

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2012-07-16 06:01:29 -0500

PHP is a server side scripting, which means the server executes it instead of the client computer. You will not be able to access a client's webcam with PHP, so you will need to use something else like Flash. For additional information check symetra dental.

edit flag offensive delete link more

answered 2012-07-17 11:53:12 -0500

xamox gravatar image

I would suggest taking a look at this example:

In that instance we are using python as a server that does the processing. As for PHP + MYSQL it really depends on your setup. PHP will have to talk to python as that is what SimpleCV is written in. You will have to basically handle it like you would any type of file upload in PHP. You could store the image as a blob or as an actual file on system and store the filepath in the SQL database.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2012-07-15 18:35:52 -0500

Seen: 2,467 times

Last updated: Jul 17 '12