How to intregrate a Web Camera in PHP pages

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • brijesh1234
    New Member
    • Sep 2008
    • 3

    How to intregrate a Web Camera in PHP pages

    Dear Sir/Madam

    With a request I would like to submit that I am developing an application in PHP where I want to use the following features as

    1. On a click button of a PHP page, a live web camera should appear and capture the photograph of a person
    2. On clicking the save button, the image/photo should store in database.

    I am using backend as a MSSQL 2000.

    It is kindly requested to help me and guide please.

    With Regards

    Brijesh
  • nathj
    Recognized Expert Contributor
    • May 2007
    • 937

    #2
    Hi,

    This sounds like a lot of fun. I' assuming you can read and use the internet so I am wondering why you have not followed the post guidleines properly.

    If you want a script that will do this for you either Google for a free on or post a job here on bytes and pay someone to do it for you.

    If you are developing this yourself that's great and this is the place to get help. In order to get help please submit the following:

    1. The code you are having problems with - using code tags
    2. Explain what the code should do
    3. Explain what the code is doing that it should not do
    4. Explain what the code does not do that it should do

    Providing this information will get you a better answer than this one.

    Cheers
    nathj

    Comment

    • brijesh1234
      New Member
      • Sep 2008
      • 3

      #3
      Please guide and suggest the

      How to invoke the live web camera: whether any class or control avilable for enabling it such as I used in VB6 (live camera control enables the web camera to snap photos)

      Since I am a very new in PHP so request to guide me the stpes pl.

      regards
      Brijesh

      Comment

      • nathj
        Recognized Expert Contributor
        • May 2007
        • 937

        #4
        Originally posted by brijesh1234
        Please guide and suggest the

        Since I am a very new in PHP so request to guide me the stpes pl.

        regards
        Brijesh
        The best place to start is to Google for PHP Tutorial. the W3Schools offering is very good as are many others. there are also some great articles here on Bytes that will help get you through the basics.

        Once you have a handle on the basics you will need to start developing something. Then post back with specific questions supplying as much info as possible - including code in code tags.

        One thing I would like to point out is that PHP is a server side language and I'm assuming the webcam is on the client side so I'm not sure what will be possible. This is not something I have ever done.

        If you know how to do this in another language then figure that out and then look at how to convert that code to PHP. That's how I really got started in PHP.

        Cheers
        nathj

        Comment

        • shakeel
          New Member
          • Aug 2006
          • 5

          #5
          Hello

          Try this one:
          http://www.needscripts .com/Resource/37587.html

          Comment

          • bnashenas1984
            Contributor
            • Sep 2007
            • 257

            #6
            Hi
            PHP is a server side script and can not capture a web camera photo on any page. What you need is to use a client side script. The only scripting language I can suggest is (Action script)
            I'v seen people doing this with (Flash + Action Script). One of the most amazing featurs of flash is that it can capture camera photo or even record microphone voice and send them directly to the server to be saved on a file or database.

            There are many resources to learn flash and actionscript. One of them is
            http://www.gotoandlear n.com/

            Hope it helps

            Good luck

            Comment

            Working...