Find Jobs
Hire Freelancers

simple html form (takephoto) in iOS

$10-30 USD

Completed
Posted about 2 years ago

$10-30 USD

Paid on delivery
There is an issue into the new iOS versions that uses HEIC. iOS does not allow upload a simple image using simple html forms, with the take photo option. This job consists in fix the simple following code when using take Phone into the iOS, In order that can be possible upload the image using the take photo option. Can be used javascript to fix it. Example: very simple HTML form: <!DOCTYPE html> <html> <body> <form action="[login to view URL]" method="post" enctype="multipart/form-data"> Select image to upload: <input type="file" accept=".jpg, .jpeg, .png, .pdf, .heic" name="fileToUpload" id="fileToUpload"> <input type="submit" value="Upload Image" name="submit"> </form> </body> </html> simple server side in PHP <?php ini_set('display_errors', 1); ini_set('display_startup_errors', 1); error_reporting(E_ALL); print_r($_POST); print_r($_FILES); $target_dir = "uploads/"; $target_file = $target_dir . basename($_FILES["fileToUpload"]["name"]); $uploadOk = 1; $imageFileType = strtolower(pathinfo($target_file,PATHINFO_EXTENSION)); // if (file_exists($target_file)) { echo "Sorry, file already exists."; $uploadOk = 0; } // Check if $uploadOk is set to 0 by an error if ($uploadOk == 0) { echo "Sorry, your file was not uploaded."; } else { if (move_uploaded_file($_FILES["fileToUpload"]["tmp_name"], $target_file)) { echo "The file ". basename( $_FILES["fileToUpload"]["name"]). " has been uploaded."; } else { echo "Sorry, there was an error uploading your file."; } ?>
Project ID: 32684749

About the project

5 proposals
Remote project
Active 2 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
Hello I am a good fit for this Job I have lots of experience in this sector. I have worked for many Client before on other platforms. Thank you in advance for your time and consideration. Thanks Rajesh Jangid
$30 USD in 7 days
4.8 (19 reviews)
3.6
3.6
5 freelancers are bidding on average $38 USD for this job
User Avatar
hello i am interested to fix this issue in one hour for 100 USD , i have 10 years experience in mobile application development , you can start chat with me , thanks.
$100 USD in 7 days
4.8 (13 reviews)
5.1
5.1
User Avatar
Hello, I saw the details of the job as you wantsimple html form (takephoto) in iOS I am the expert of all platforms to create the same or similar site from scratch. You can show me any Reference site you like IF you have any ideas that I will create or design the site based on them. I am also well versed in making responsive pages in html5 so you can use them anywhere on your mobile or desktop. I do website design work or developed as: - Word PRess Php Html5 (web and responsive page design) PSD in HTML Woo commercial site I can start the job after closing the deal. Waiting for the positive response. Thank you and greetings Manu R.
$20 USD in 1 day
4.7 (19 reviews)
4.5
4.5

About the client

Flag of BRAZIL
São Carlos, Brazil
4.9
19
Payment method verified
Member since Apr 14, 2019

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.