Annulleret

Convert GET to POST in PHP

Hello,

I have three php functions. I need to convert the last two (processGET, processACH) from a GET to a POST.

Thank You,

function processRequest(){

global $config;

$data = $_POST;

$data['MerchantID'] = $config['MerchantID'];

$data['RegKey'] = $config['RegKey'];

$data['USER2'] = substr($data['AccountNo'],strlen($data['AccountNo'])-4);

$req = new HTTPRequest('[url removed, login to view]','/bill/transac/[url removed, login to view]','POST',true);

$req->connect(html_entity_decode(http_build_query($data)));

$data = parseFields($req->getContent());

return $data;

}

function processGET(){

global $config;

$data = $_POST;

$data['MerchantID'] = $config['MerchantID'];

$data['RegKey'] = $config['RegKey'];

$data['Amount'] = number_format($data['Amount'], 2, '.', '');

$data['USER2'] = substr($data['AccountNo'],strlen($data['AccountNo'])-4);

$str = html_entity_decode(http_build_query($data));

$data = file_get_contents('[url removed, login to view]'.$str);

return parseFields($data);

}

function processACH() {

global $config;

$data = $_POST;

$data['MerchantID'] = $config['MerchantID_ach'];

$data['RegKey'] = $config['RegKey_ach'];

$data['USER2'] = substr($data['AccountNo'],strlen($data['AccountNo'])-4);

$str = html_entity_decode(http_build_query($data));

$data = file_get_contents('[url removed, login to view]'.$str);

return parseFields($data);

}


Dear bidders,

Coming from from Vworker.com I see a lot of options missing in this site. I do not see how I can get numerous bids all for $ 250.00! I probably made a mistake when posting this job. To be frank this job is not anything close to $ 250.00. For a php programmer this is an under a 30 minute job. Please re-bid if you are still interested.

Thank You.

Færdigheder: PHP, Web Sikkerhed

Se mere: convert post php, php convert post, web config php, data str, convert post data php, str, post process, global php, substr, return data php, req php, regkey, httprequest data, file_get_contents php, file_get_contents http post, php function convert php, post file_get_contents, php post file_get_contents, file_get_contents post php, file_get_contents php post, convert php function, php file_get_contents php, php file_get_contents post, file_get_contents post, post php

Om arbejdsgiveren:
( 64 bedømmelser ) Glendale, United States

Projekt-ID: #4042222

16 freelancere byder i gennemsnit $250 for dette job

NetzPro

Dear Sir, We would love to get this opportunity of working with you. We can guarantee that you will not regret your decision if you select us to execute this project. Regards NetzPro

$250 USD på 1 dag
(363 bedømmelser)
8.6
denisCh

Please check PM

$250 USD på 1 dag
(85 bedømmelser)
7.5
Chtioui86

Hi, Please see your private msg TY

$250 USD på 1 dag
(220 bedømmelser)
7.7
VileGnosis

I have sent a private message to your inbox that contains my relevent skills and any questions I have.

$250 USD in 0 dage
(185 bedømmelser)
6.7
k1ng440

Full time freelance web developer with over 8 years of commercial experience.

$250 USD på 1 dag
(97 bedømmelser)
6.5
Eswar87

Hi, I can do this. Please check PM for more details. Regards, Eswar.

$250 USD in 3 dage
(65 bedømmelser)
6.4
phpdeveloper11

9 years experience in php, mysql, ajax

$250 USD in 0 dage
(30 bedømmelser)
5.5
littfed

I can help you with this, ready to start immediately and delivery it in several hours.

$250 USD på 1 dag
(62 bedømmelser)
5.4
santossystems

Hi, This is a straightforward task. Let me take care of it for you. Looking forward hearing from you.

$250 USD in 0 dage
(46 bedømmelser)
5.6
PhilipClarke

Hi, Very experienced UK based PHP developer (you can google me, my work is all over the place from phpMyAdmin to Drupal), The job is very straight forward with the big exception, what is sending the data ? and th Mere

$250 USD på 1 dag
(4 bedømmelser)
4.8
imdTech

Dear Sir, I think that I have the required technical skills to finsh this job very quickly. I have 12 years experience in web programming field (PHP/MySQL, HTML/CSS, along with JavaScript/AJAX). It does not need m Mere

$250 USD in 2 dage
(12 bedømmelser)
5.0
mgraph

Hi, check inbox

$250 USD in 0 dage
(66 bedømmelser)
4.5
RazHarush

Hey! I am a PHP expert that can complete this project within an hour for $30 only! Please view the private message I sent you for more details.

$250 USD in 0 dage
(8 bedømmelser)
4.5
Locust

Hi, I can do it, details in PM. Thanks.

$250 USD på 1 dag
(14 bedømmelser)
3.8
nickdev1

Hi Perland, When I saw your job posting, I tried to go lower than $250, but it wouldn't let me. I figured you loved to pay top dollar for great developers, especially since you had 55 reviews. Looking forward to wor Mere

$250 USD på 1 dag
(3 bedømmelser)
3.3
cereno

I can do it for you within 30 minutes.

$250 USD in 0 dage
(4 bedømmelser)
2.4