How can images/pictures be captured with a webcam using PHP

Posted on 2009-04-30
Last Modified: 2013-11-08

  Is there any script or component available in PHP that can capture images/pictures using a webcam - we needed to use this module for an Image upload application.
Please provide suggestions, solutions if any.

Question by:Web_Sight
    LVL 34

    Accepted Solution

    Very unlikely. PHP is a server side scripting language, not an interactive desktop language.

    You could use some program to FTP images up to a folder on a server and then use PHP to manipulate or move those images but that would all have to happen on the client PC.
    LVL 12

    Assisted Solution

    As mentioned above, PHP cannot capture the user's video camera. Why? Because PHP is running on the server. You can use a client side technology (like Adobe Flash, Flex) to capture the camera and pass data onto a server where it can be read/processed by PHP.

    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Join & Write a Comment

    Consider the following scenario: You are working on a website and make something great - something that lets the server work with information submitted by your users. This could be anything, from a simple guestbook to a e-Money solution. But what…
    I recently purchased an HP EliteBook 2540p notebook/laptop. It has two video ports on it – VGA and DisplayPort. HP offers an optional docking station for the 2540p that also has both a VGA port and a DisplayPort. There are numerous online reports do…
    The viewer will learn how to dynamically set the form action using jQuery.
    The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

    746 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    14 Experts available now in Live!

    Get 1:1 Help Now