Find Jobs
Hire Freelancers

AJAX: Send compressed data to php-script

$10-50 USD

Completed
Posted over 7 years ago

$10-50 USD

Paid on delivery
I'm using this library: [login to view URL] I want to send the following compressed base64-data to a PHP-script with an AJAX-request: var data = [login to view URL]('bPb8Pz89Pz1gKSYlJSLnKg=='); Your job: 1. Create the necessary JS-Script which sends the data to a PHP-script 2. Create a PHP-script which decompresses and saves this base64-data into a file
Project ID: 11807296

About the project

9 proposals
Remote project
Active 8 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
Hi, EDIT: I noticed that previously I didn't include the Inflate on the PHP side, I'm including it now. I've done that recently for my own chunked-uploads (uploading a big file in smaller chunks). Here's the code for both Javascript and PHP, if you got any questions, anything is unclear or need an advice on that code or how to accomplish this task, please reach me here on Freelancer (we can chat by Skype or email too): //Javascript: //It's creating the FormData object to send base64 data var formData = new FormData(); [login to view URL]('filedata', data); //The jQuery ajax() function: $.ajax({ url: '/api/upload_base64', processData: false, contentType: false, method: 'POST', data: formData, success: function (response) { [login to view URL]('Data has been successfully sent!') } }) //The php for the /api/upload_base64 route: <?php //Decoding $filedata = base64_decode(gzinflate($_POST['filedata'])); //Saving at the $filename path file_put_contents($filename, $filedata, FILE_APPEND); Kind regards, Tomasz.
$32 USD in 1 day
5.0 (4 reviews)
4.7
4.7
9 freelancers are bidding on average $47 USD for this job
User Avatar
An expert PHP - JS Developer here ! Ready to create this COMPRESS-DECOMPRESS script and get it done perfectly ASAP! Awaiting your reply
$50 USD in 1 day
5.0 (46 reviews)
5.0
5.0
User Avatar
Hi there! I have read what you exactly need, however I would like to ask you a few questions. I wouldn't call myself a master but I do work smart and do not rest until I get the job done. Please feel free to ping me anytime so we can have a detailed discussion.
$111 USD in 1 day
5.0 (7 reviews)
4.1
4.1
User Avatar
I have read over your project description and I'm interested in completing your task. If you check my site or portfolio you will see that I am of a higher quality than most freelancers on here. I get it done quickly, efficiently, and with exceptional quality. I am a professional with roughly 7 years experience and a college level degree in the field of web development. I am experienced in the languages of PHP, CSS, Javascript, HTML5, XML, MySQL, AJAX, Jquery, actionscript 2.0 & 3.0 I am also experienced with the use of all Adobe products. Please let me know if you have any questions or concerns before making your final decisions. Thank You,
$35 USD in 1 day
4.8 (15 reviews)
3.6
3.6
User Avatar
hi I am java programmer and web developer I was interested in your project and would like to implement it. if you are interested in my offer please write me in personal messages thanks Arthur
$22 USD in 1 day
5.0 (4 reviews)
3.3
3.3
User Avatar
Hey, I am a professional full stack web developer. I read your requirements and am ready to complete ths priject with you. A have done several ajax based projects and so will be able to do this job in less than a day. Thanks. Best regards
$45 USD in 1 day
5.0 (3 reviews)
2.8
2.8

About the client

Flag of SWITZERLAND
Zurich, Switzerland
5.0
65
Payment method verified
Member since Mar 17, 2011

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.