i want to develop a test site that will capture image using webcam with one button click and save it.
i dont expect complete source code but if anyone can give me basic concept in detail to do this,it would be a great help for me.
Thanx in advance.
Anindya
how can i capture image from webcam in php?
Moderator: General Moderators
Re: how can i capture image from webcam in php?
Can't be done. PHP runs server side, while most webcams work at the client's side 
Try something else, like java(script), ajax, etc, i.e. stuff that works client side.

Try something else, like java(script), ajax, etc, i.e. stuff that works client side.
-
- Forum Contributor
- Posts: 367
- Joined: Fri Jul 20, 2007 11:29 am
- Contact:
Re: how can i capture image from webcam in php?
I believe flash has features for using the client's webcam and microphone.
Warning: I have no idea what I'm talking about.
Re: how can i capture image from webcam in php?
Yes, you can do it either with a Java applet or Flash movie,
http://livedocs.adobe.com/fms/2/docs/ww ... 00526.html
http://livedocs.adobe.com/fms/2/docs/ww ... 00526.html
-
- Forum Newbie
- Posts: 1
- Joined: Wed Dec 16, 2009 1:08 am
Re: how can i capture image from webcam in php?
Such a very amazing link! Thanks you for the post.Sindarin wrote:Yes, you can do it either with a Java applet or Flash movie,
http://livedocs.adobe.com/fms/2/docs/ww ... 00526.html
Re: how can i capture image from webcam in php?
Capturing the images directly from Web Cam through PHP designed Website is always a thrilling dream for me too. But thanks for your info, that it can't be done as PHP runs server side. I think Java Script can solve the issue to capturing image through web Cam.Apollo wrote:Can't be done. PHP runs server side, while most webcams work at the client's side
Try something else, like java(script), ajax, etc, i.e. stuff that works client side.
Re: how can i capture image from webcam in php?
Javascript doesn't provide any functions to interact with devices apart from the keyboard and mouse. So plugins like Flash are your best bet for the moment.
Who knows, maybe in HTML6 there will be a way.
Who knows, maybe in HTML6 there will be a way.
