Käynnissä

Optimization of an HTTP GET

I am using an http get to perform routing and billing.

http://127.0.0.1/[url removed, login to view];receiver=%P&time=%t

[url removed, login to view]:

<?php

$sender = $_GET["sender"];

$receiver = $_GET["receiver"];

if (preg_match('/^39/', $receiver)) {

$smsc_id = 'route_italy';

$price = '[url removed, login to view]';

}

else if (preg_match('/^1/', $receiver)) {

$smsc_id = 'route_usa';

$price = '[url removed, login to view]';

}

else if (preg_match('/^242/', $receiver)) {

$smsc_id = 'route_route3';

$price = '[url removed, login to view]';

}

else {

$smsc_id = 'route_uk';

$price = '[url removed, login to view]';

}

header("price: ".$price);

header("route: ".$smsc_id);

?>

---------------------------------------------------------

The problem i experience, is that i must perform routing and billing via HTTP api and do that EXTREMELY FAST and without expensive resources.

Some data to think of before bidding.

a) The values are static.

b) The values are more than [url removed, login to view] ( [url removed, login to view] different preg_match)

c) I want to evaluate your suggestion before i choose a supplier. ( If you bid with answers like - i can do it choose me - !!! dont bid)

d) I suggest you to read [url removed, login to view]

e) I need the BEST solution for this situation.

Thank you for reading my project,

Bid only if you are experienced.

Taidot: C-ohjelmointi, Linux, PHP, SQL, Järjestelmänvalvoja

Näytä lisää: get supplier, memcached api, want answers, project optimization, optimization project, best route, api supplier, situation, sender receiver, suggest optimization, price billing, using billing, solution optimization, billing data, bid billing, bid price optimization, sender api, optimization problem, need 000 fast, via api, static header, api solution, routing optimization, php project pricing, memcached

About the Employer:
( 4 reviews ) UK, United Kingdom

Projektin tunnus: #467044

Myönnetty käyttäjälle:

jacekphp

hello, please check PM, Regards Jacek

100 $ USD 1 päivässä
(15 arvostelua)
6.2

4 freelanceria on tarjonnut keskimäärin 75 $ tähän työhön

soniamit

let starts........ regards soNiamit

100 $ USD 0 päivässä
(159 arvostelua)
6.4
MustafaSR

hello, Please check PMB

50 $ USD 2 päivässä
(72 arvostelua)
5.7
ahmadkuraisin

$50 for 3 days

50 $ USD 3 päivässä
(0 arvostelua)
0.0