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

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

9 freelancers are bidding on average $104 for this job


A proposal has not yet been provided

$185 USD in 3 days
(593 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
(478 Reviews)

A proposal has not yet been provided

$178 USD in 2 days
(93 Reviews)

Dear sir, I will complete your project within 2 days and provide ONE YEAR free bug guarantee.. I have gone through your outsourced requirement "PHP Form Values to MD5 /Seialize/Unserialize" and have analyzed that I More

$111 USD in 2 days
(73 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
(40 Reviews)

i did this before, for add to cart button. 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)

Hello, how do you do? This project can be done by me with very less price and required time. and you can check out our portfolio than you will get know about my work and you will be glad to see my work . Must let me ha More

$155 USD in 3 days
(16 Reviews)

Hello sir. To pass the file as an unencoded string we'll have to find everywhere that decodes the code. And them remove the code. Current flow: Data->Encoder->Decoder->Process What you need: Data->Process. I More

$133 USD in 1 day
(1 Review)

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

$100 USD in 1 day
(5 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
(1 Review)

Hi. I have checked your project requirement. We are interested to design and develop your Site as per your requirement.. Kindly check PMB for our past work experience. Thanks

$54 USD in 3 days
(1 Review)