Find Jobs
Hire Freelancers

PHP Form Values to MD5 /Seialize/Unserialize

$30-250 USD

Completed
Posted over 10 years ago

$30-250 USD

Paid on delivery
Hello there, I have a simple PHP shopping cart that I bought from code canyon, It's called "Simple Cart" What I need done is a simple tweak that changes the way the create the add to cart button form, and the way it's processed. When we create a product button, It takes the form values and creates an array of those vales called $product_settings. if(isset($_POST['save']) && $_POST['save']){ $product_settings = array( 'name' => $_POST['name'], 'weight' => $_POST['weight'], //'shipping' => $_POST['shipping'], 'attr' => ((is_array($_POST['attr'])) ? $_POST['attr'] : array()), ); if(empty($_REQUEST['qdr'])){ $qd_settings = ''; }else{ $qd_settings = '<input type="hidden" value="'.$_REQUEST['qdr'].'" name="qd">'; } $product_settings_encoded = base64_encode(serialize($product_settings)); $hash = md5('my not so s3cret code heh'.$product_settings_encoded); $product_settings_encoded = $product_settings_encoded . '|' . $hash; It serializes the array It then encodes into Base64, as well as adding a hash, and separates with a | I would like my vales to be raw and editable, in the form without being serialized, and without being encoded into Base64. I also would like to get rid of the hash. Once this part is done, I will open up a new project for "Processing" this data, instead of the way it handles now, where it "unserializes" everything and reads the hash, etc. please let me know Thanks! ------------------------------------------------------------------------------------------------------------------------------------------- Well I don't want the product settings "encoded" I want everything to work the same way , without being encoded.
Project ID: 5349025

About the project

8 proposals
Remote project
Active 10 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 think I saw this product on CodeCanyon too... I can help you to get rid of the hashes... When I can start? I would like to take a look at the files first.. I'm ready! Regards, Andy.
$112 USD in 3 days
5.0 (39 reviews)
5.2
5.2
8 freelancers are bidding on average $110 USD for this job
User Avatar
A proposal has not yet been provided
$185 USD in 3 days
4.9 (778 reviews)
8.3
8.3
User Avatar
Hello, With 99% completion rate, 650+ successfully completed projects, and a 5.00 reputation (maximum possible, 5.0) (Yes, not even 4.99 average rating, can be verified on my profile page !!)... you can never go wrong choosing me :) I look forward to your reply. Thanks. Kind Regards, Rajesh Soni
$154 USD in 1 day
5.0 (810 reviews)
8.3
8.3
User Avatar
A proposal has not yet been provided
$178 USD in 2 days
4.9 (158 reviews)
7.0
7.0
User Avatar
I am interested in assisting you in completing your project as I have the experience that is needed. Thank you for reviewing my bid.
$35 USD in 1 day
4.9 (41 reviews)
4.8
4.8
User Avatar
Hi, I can fix this issue. Can you please send the site url so that I can confirm. Please let me know if you have any query. Regards Niraj
$66 USD in 3 days
4.9 (7 reviews)
3.3
3.3
User Avatar
Delivery in one day !!! .............................................................................
$100 USD in 1 day
4.8 (6 reviews)
1.8
1.8

About the client

Flag of UNITED STATES
Underhill, United States
5.0
21
Payment method verified
Member since Sep 30, 2009

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.