D
D
darthl1ne2019-06-05 18:51:46
PHP
darthl1ne, 2019-06-05 18:51:46

How to take a photo from a webcam and send it in a php form?

Tell me, please, how can I implement this: when filling out the form, add a photo, but not just a file, Namely from a web camera and send it through the form?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
I
Ivan Antonov, 2019-06-05
@darthl1ne

https://codepen.io/anon/pen/RmmNqR?editors=0010
there was a question on stackoverflow how to pass canvas to server, more details here:
https://stackoverflow.com/questions/13198131/how-t...

D
Dima Pautov, 2019-06-05
@bootd

How to access the webcam in html + js?
Next, we take a picture in the form of base64 from the convas and send it to the back, done!

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question