How to take photo from mobile camera and upload it using php ?
First we write front end code : - <!DOCTYPE html> <html> <head> <title>jQM input file capture</title> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link rel="stylesheet" href="http://code.jquery.com/mobile/1.3.0/jquery.mobile-1.3.0.min.css" /> <script src="http://code.jquery.com/jquery-1.8.2.min.js"></script> <script src="http://code.jquery.com/mobile/1.3.0/jquery.mobile-1.3.0.min.js"></script> </head> <body> <div data-role="page" id="page"> <style> #preview { width: 80%; max-width: 300px; } ...