1

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

hakre
  • 184,866
  • 48
  • 414
  • 792
Nidhin Baby
  • 1,568
  • 4
  • 13
  • 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
  • 162,537
  • 44
  • 333
  • 446
  • 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,501
  • 2
  • 21
  • 20