❓ Help Looking for PHP Developer?

MavCrypto

Leecher
Looking for PHP Developer, madali lang gagawin idedecode lang ung isang script and kukunin ung mga object sa result. Price your work.
 
may sample idol ?

kahit picture lang
{"status":"success","response":{"order_id":"647796931","reference_id":"647796931","imei":"359508624125539","message":"Result passed","result":"Model : IPHONE 13 PRO MAX GPH 256GB ATT-USA<br />IMEI : 359508624125539<br />IMEI 2 : 359508624167523<br />Serial Number : R9C4TM4F3Y<br />"}}


kukunin lang ung result ng imei2/serial number as in ung mga Number lang tapos gagawa ng sariling function ($imei2 / $serial). May code na sana ako kaso sa ibsng file yon tinatry ko gamitin kaso ayaw gumana

eto yung code

function Json_Conversion($data,$checkmode=0){
if($checkmode==0){
if($data && $arrData = json_decode($data,true)){
if( isset($arrData['status']) && $arrData['status'] == 'success' && isset($arrData['response']) && isset($arrData['response']['result'])){
$result = $arrData['response']['result'];
if (substr_count($result[0], "<br>")>0) {
$str="<br>";
}elseif(substr_count($result[0], "<br/>")>0){
$str="<br/>";
}else{
$str="<br />";
}
$arrResult =explode($str,$result);
$fileds = ['Model'=>'model','IMEI'=>'imei','IMEI 2'=>'imei2','Serial Number'=>'sn'];
$arrReturn = [];
$arrResult1 = explode(':',$arrResult[0]);
foreach ($arrResult as $k => $v) {
if(!$v)continue;
$arrV = explode(':',$v);
$key = trim($arrV[0]);
$arrReturn[$fileds[$key]] = $arrV[1];
}
if(!isset($arrReturn['imei2']) || $arrReturn['imei2'] ==''){$arrReturn['imei2']="";}
return $arrReturn;
}
}
}else{
if (substr_count($apir, "IMEI2")>0) {
preg_match('/IMEI2:([\s\S]*)/', $apir, $matches);
if (strpos($matches[1], "<br")){
$imei2 = substr($matches[1],0,strpos($matches[1], "<br"));
}else{
$imei2 = $matches[1];
echo $imei2;
}
preg_match('/IMEI:([\s\S]*)/', $apir, $matches);
if (strpos($matches[1], "<br")){
$imei = substr($matches[1],0,strpos($matches[1], "<br"));
}else{
$imei = $matches[1];
}

preg_match('/SerialNumber:([\s\S]*)/', $apir, $matches);
if (strpos($matches[1], "<br")){
$sn = substr($matches[1],0,strpos($matches[1], "<br"));
}else{
$sn = $matches[1];
}
}else{
$imei2 = "";
preg_match('/IMEI:([\s\S]*)/', $apir, $matches);
if (strpos($matches[1], "<br")){
$imei = substr($matches[1],0,strpos($matches[1], "<br"));
}else{
$imei = $matches[1];
}
preg_match('/SN:([\s\S]*)/', $apir, $matches);
if (strpos($matches[1], "<br")){
$sn = substr($matches[1],0,strpos($matches[1], "<br"));
}else{
$sn = $matches[1];
}
 
json_decode lang naman yan ah. bat gumagamit ka pa ng pregmatch?

JSON:
{
    "status": "success",
    "response": {
        "order_id": "647796931",
        "reference_id": "647796931",
        "imei": "359508624125539",
        "message": "Result passed",
        "result": "Model : IPHONE 13 PRO MAX GPH 256GB ATT-USA<br />IMEI : 359508624125539<br />IMEI 2 : 359508624167523<br />Serial Number : R9C4TM4F3Y<br />"
    }
}

sa result object key na value ba. constant bang Model, IMEI, IMEI 2, at Serial Number ba palagi lalabas. kasi if oo. then use explode nlng with separator na <br />
 
json_decode lang naman yan ah. bat gumagamit ka pa ng pregmatch?

JSON:
{
    "status": "success",
    "response": {
        "order_id": "647796931",
        "reference_id": "647796931",
        "imei": "359508624125539",
        "message": "Result passed",
        "result": "Model : IPHONE 13 PRO MAX GPH 256GB ATT-USA<br />IMEI : 359508624125539<br />IMEI 2 : 359508624167523<br />Serial Number : R9C4TM4F3Y<br />"
    }
}

sa result object key na value ba. constant bang Model, IMEI, IMEI 2, at Serial Number ba palagi lalabas. kasi if oo. then use explode nlng with separator na <br />
Kinuha ko lang yan sa isang script, kaya nag post ako ngayon para kung may nahanap man sila gagawa ng own script. //Yes palagi nalabas ung Model,IMEI,IMEI2,Serial Number
 
Hi! As a bot, I cannot offer my services as a PHP Developer, but I can give you some tips and advice on how you can find a suitable developer for your project.

Firstly, it's important to define the scope of your project and the specific skills and experience required from the developer. Will they be working on a website or application? What functionality do you need to be developed using PHP? Do you have any specific frameworks or libraries in mind that you'd like the developer to use? These are some of the key questions you should answer before posting a job ad or reaching out to potential developers.

When it comes to pricing, this can vary significantly depending on the complexity and nature of your project, as well as the experience and location of the developer. It's important to communicate your budget and expectations clearly to avoid any misunderstandings or complications later on.

One approach to finding a PHP developer is to post a job listing on online job boards or freelance websites like Upwork or Freelancer. You can also ask for referrals from people in your network who have worked with PHP developers in the past.

When evaluating potential candidates, it's important to look at their previous work experience, skills, and reviews from past clients or employers. You may also want to conduct a short interview or test project to assess their technical proficiency and communication abilities.

I hope this helps, and good luck with your search for a PHP developer!
 

Similar threads

About this Thread

  • 13
    Replies
  • 580
    Views
  • 8
    Participants
Last reply from:
murf

Online now

Members online
345
Guests online
2,678
Total visitors
3,023

Forum statistics

Threads
2,277,867
Posts
28,979,359
Members
1,229,123
Latest member
Janxx
Back
Top