Re: WebCam and PHP
| From: | Chris Lee | Date: | Fri, 23 Mar 2001 13:36:29 +0000 |
| Subject: | Re: WebCam and PHP | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-45293@lists.php.net to get a copy of this message | ||
wow thats a vague question :)
are you trying to display them to the user?
echo "
<img src='/path/imagename.jpg'>
";
or are you trying to read that data ?
fopen('/path/imagename.jpg', 'r');
is the file not in the document root ?
header('Content-Type: image/jpeg');
readfile('/path/imagename.jpg');
--
Chris Lee
lee@mediawaveonline.com
""Marcelo Pereira"" <gandalf@sum.desktop.com.br> wrote in message news:006001c0b396$05167cc0$0b01a8c0@hmmg...
Hi All,
How can I show images, captured by a webcamp, in my website using PHP ???
Thanks,
Marcelo Pereira