PHP Form Values to MD5 /Seialize/Unserialize

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()),



$qd_settings = '';


$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



Well I don't want the product settings "encoded"

I want everything to work the same way , without being encoded.

Skills: Electronic Forms, HTML, PHP

See more: work values, type of button in php with code, attr php, php encoded, md5, array form, add shopping cart html code, form array, php form create, encoded php, php form save, html encoded, php form array, create php form, raw php code, simple shopping form html, php form input data, php form shopping, code md5, tweak php code, cart tweak, php form hidden, php form html, create simple shipping php, html tweak

About the Employer:
( 21 reviews ) Underhill, United States

Project ID: #5349025

Awarded to:


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
(39 Reviews)

8 freelancers are bidding on average $110 for this job


A proposal has not yet been provided

$185 USD in 3 days
(778 Reviews)

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 wro More

$154 USD in 1 day
(810 Reviews)

A proposal has not yet been provided

$178 USD in 2 days
(158 Reviews)

i did this before, for add to cart button. [url removed, login to view] [url removed, login to view] What I just did. PHP, Mysql, UI layout and JQuery, AJAX, Json format. I can start this job right now. Hopefully, I can work More

$53 USD in 1 day
(18 Reviews)

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
(41 Reviews)

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
(7 Reviews)

Delivery in one day !!! .............................................................................

$100 USD in 1 day
(6 Reviews)