6 years ago a guy looked at me face to face, and boldly told me; "I don't like you!" I immediately fired a response, I asked him that day; "Thank you for the honest feedback, but those that you like, how has it made their life better? How does your liking people pay their bills or take a bank loan? My brother keep your like, I need God's like And that's what guarantees my future. Today I joined a CEO friend of mine in an interview Panel to recruit some new staff, it was a long session, as we returned from a coffee break to continue the hectic interview session, here was this same guy walked in with his grey jacket and CV coming for the interview. Our eyes kissed by fluke, we immediately recognised each other; "the world is indeed spherical", I soliloquized. He felt very uncomfortable through out the interview, one could clearly see the volcanic eruption ongoing in his whole nervous system, he even mistook his date of birth for his last date of empl...
ok..this is weird!!! I don't go out crying where i'm stuck, so this is all different!! I Can't make my code work at all.
I'm tryna get data from a remote db, using php function file_get_contents(); My problem is that my code is not working on that server hosting the db. I need to fix the code or use another function that does the same.
With cURL, my third parameter $context is a multi dimensional array! Make it all worse.
I asked it in stackoverflow as below:
Guys please check it out and get back ASAPI'm tryna get data from a remote db, using php function file_get_contents(); My problem is that my code is not working on that server hosting the db. I need to fix the code or use another function that does the same.
With cURL, my third parameter $context is a multi dimensional array! Make it all worse.
I asked it in stackoverflow as below:
I'm usingfile_get_contents($url, false, $context);
in my script and i get an error, connection refused. On the server withsome ip
I've enabledallow_url_include
andallow_url_fopen
, and restarted apache severally. in phpinfo(), it shows my changes have taken effect, my script still shows 'connection refused' What is wrong??? Can someone help? This is not a duplicate please.$m_request["uniq"] = '123';$m_request["id"] = 'enter';$secret_key = 'xx25';$encoded = json_encode($m_request);//json encode request;$msg = base64_encode(hash_hmac('sha256', $encoded, $secret_key, true));$options = array('http' => array('header' => "app_signature: $msg\r\n",'method' => POST', content' => $encoded),);
Comments
Post a Comment
Your say...