1

I need to integrate the Web cam to the application. I need to take the user profile picture using the web cam.

hakre
  • 193,403
  • 52
  • 435
  • 836
Nidhin Baby
  • 1,618
  • 4
  • 14
  • 16

3 Answers3

2

You cannot acces the webcam from HTML, not even using JavaScript. I think your only option is to use Flash for this. (PHP has little to do with it...)

Thomas
  • 174,939
  • 50
  • 355
  • 478
  • Oh i see.. Thanks for sharing your knowledge. I have seen same reply's in some forums also. I check, how can i implement that with flash. Thanks again. :) – Nidhin Baby May 07 '10 at 07:30
  • This information is outdated. Accessing a webcam from JavaScript is possible nowadays. – Gordon Aug 18 '13 at 10:55
1

You should write program that run on client side and response to the server. I don't think PHP can do this job.

tanakorn
  • 21
  • 2
1

Yes Flash, ActiveX or Java applet seems to be the only options to access user's webcam

Benoit
  • 3,569
  • 2
  • 22
  • 20