Dibatalkan

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.

Kemahiran: PHP, Sekuriti Web

Lihat lebih lanjut: 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

Tentang Majikan:
( 64 ulasan ) Glendale, United States

ID Projek: #4042222

16 pekerja bebas membida secara purata $250 untuk pekerjaan ini

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 dalam sehari
(363 Ulasan)
8.6
denisCh

Please check PM

$250 USD dalam sehari
(85 Ulasan)
7.5
Chtioui86

Hi, Please see your private msg TY

$250 USD dalam sehari
(220 Ulasan)
7.7
VileGnosis

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

$250 USD dalam 0 hari
(185 Ulasan)
6.7
k1ng440

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

$250 USD dalam sehari
(97 Ulasan)
6.5
Eswar87

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

$250 USD dalam 3 hari
(65 Ulasan)
6.4
phpdeveloper11

9 years experience in php, mysql, ajax

$250 USD dalam 0 hari
(30 Ulasan)
5.5
littfed

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

$250 USD dalam sehari
(62 Ulasan)
5.4
santossystems

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

$250 USD dalam 0 hari
(46 Ulasan)
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 Lagi

$250 USD dalam sehari
(4 Ulasan)
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 Lagi

$250 USD dalam 2 hari
(12 Ulasan)
5.0
mgraph

Hi, check inbox

$250 USD dalam 0 hari
(66 Ulasan)
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 dalam 0 hari
(8 Ulasan)
4.5
Locust

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

$250 USD dalam sehari
(14 Ulasan)
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 Lagi

$250 USD dalam sehari
(3 Ulasan)
3.3
cereno

I can do it for you within 30 minutes.

$250 USD dalam 0 hari
(4 Ulasan)
2.4