I have been trying to capture and save images from ivista webcam software. Someone told me totry this :-
<?
$src_url = "\http://$ip_address/cgi/nph-jpeg.exe?-aw+80+-ah+60+-single+-device+3+-video+0\";
$dest_url = "/usr/user1/photos/newimage.jpg";
if (!copy($src_url, $dest_url)) {
print ("failed to copy $file...<br>\n");
}
?>
It does`nt work and i get this error:-
Warning: Division by zero in /usr/users1/date/public_html/photo.php3 on line 6
Warning: Division by zero in /usr/users1/date/public_html/photo.php3 on line 6
Warning: Division by zero in /usr/users1/date/public_html/photo.php3 on line 6
Warning: Division by zero in /usr/users1/date/public_html/photo.php3 on line 6
Warning: Division by zero in /usr/users1/date/public_html/photo.php3 on line 6
Parse error: parse error in /usr/users1/date/public_html/photo.php3 on line 6
Can anyone help me with working code. I have tried almost everything!!!
Thanks
Julian Chamberlain
jules@hungrybear.co.uk