webcam in php
1.0.0
سيساعدك هذا المستودع على دمج الصورة الملتقطة وحفظها في قاعدة البيانات أو المجلد المحلي.
فيما يلي بعض بنية الكود لفهم الأجزاء المهمة من هذه الفئة.
$imageFolder="your folder"; - This is your folder where you would like to save the file
showImage() - This function will get the image and return the name including the path
إذا كنت ترغب في حفظ الصورة في قاعدة البيانات مما يمكنك استخدام هذه الوظيفة.
changeImagetoBase64() - This function will change the image to base64
saveImageToDatabase() - It will help you to save the image to database