web cam saving foto
Moderator: General Moderators
web cam saving foto
How can I connect web cam to the HTML/PHP page, make a photo and save it in the folder at server or anywhere?
Thank you for your help.
Kanaps
Thank you for your help.
Kanaps
yes, but it is a problem if I am doing the code for customer registration. So it will be difficult for customers to use different programm and than come back on HTML/PHP pages for assigning it to created customer.
But can you tell me any name of the programm that will be saving foto in preset directory.
Thank you,
Kanaps
But can you tell me any name of the programm that will be saving foto in preset directory.
Thank you,
Kanaps
it will be running on local host only. So when client registers, they get to point where img from web cam will be done and saved... the question is how can I have web interfase that when person presses FOTO that img that on the screen saves to JPG. IS theres a way of doing PRINT SCREEN over the web code?
- John Cartwright
- Site Admin
- Posts: 11470
- Joined: Tue Dec 23, 2003 2:10 am
- Location: Toronto
- Contact:
- John Cartwright
- Site Admin
- Posts: 11470
- Joined: Tue Dec 23, 2003 2:10 am
- Location: Toronto
- Contact:
PHP is definantly not a very good choice for this project, except for maybe inserting the actual pictures/info into the database. Look at how other programs/applications handle it and maybe it will give you an idea.
We arn't here to give you code, but instead hint you towards your goal.
Seems to me you arn't trying anything for yourself.
We arn't here to give you code, but instead hint you towards your goal.
Seems to me you arn't trying anything for yourself.
PHP has the ability to connect to the Windows API so anything that is possible with the API, can be done via PHP. And since the webcam is connected via a plug-n-play device (USB) to Windows, it might be possible using the API.
I'd recommend for you to read up at Microsoft's API resource site to see if there is a function that can connect to a USB device and capture the image.
If you cannot find anything, then I suggest searching for a program that can capture images (or even using one that came with the camera) and just extracting images from the folder where it places the captured pictures.
Hope this helps.
I'd recommend for you to read up at Microsoft's API resource site to see if there is a function that can connect to a USB device and capture the image.
If you cannot find anything, then I suggest searching for a program that can capture images (or even using one that came with the camera) and just extracting images from the folder where it places the captured pictures.
Hope this helps.