I want help in crul cron issue
$10-30 USD
Paid on delivery
I have a basic curl code to fetch json data
The code is working fine on my localhost server but when i upload it to cpanel/server it gives blank response
We need to resolve this using curl only
No javascript or filegetcontent
this are the codes once i award you i will give ftp access also so you can fix it
<?php
echo "string";
function fetchData($url){
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
curl_setopt($ch, CURLOPT_HTTPHEADER, array(
'Content-Type: application/json',
'Connection: Keep-Alive'
));
curl_setopt($ch, CURLOPT_HTTPHEADER,array("Expect: "));
curl_setopt($ch, CURLOPT_USERAGENT, 'Mozilla/5.0');
curl_setopt($ch, CURLOPT_TIMEOUT, 20);
curl_setopt($ch, CURLOPT_VERBOSE, true);
$result = curl_exec($ch); // run the whole process
return $result;
}
// Define Variables here
$username = 'tosslounge';
$url = [];
$videoType = [];
// Function Calling
$result = fetchData("[login to view URL]");
// Decode JSON into Array
//$result = json_decode($result);
// Get Post From Result and Assign it to Posts array
$posts = $result->graphql->user->edge_owner_to_timeline_media->edges;
print_r($result);
die();
// Push Url and Name of Posts into Arrays
for($i = 0; $i < count($posts); $i++){
array_push($url, $posts[$i]->node->display_url);
array_push($videoType, $posts[$i]->node->__typename);
}
?>
Project ID: #27651688
About the project
17 freelancers are bidding on average $27 for this job
Hi, Greetings! ?checked your project details: help in crul cron issue ?Completed Time: In project deadline We have worked on 650 + Projects. I have 6 + years of the experience in same kind of projects. If you are More
Hi, I can fix this, curl issue not working on server. About Me: I have extensive experience in Web Development. Joomla, Magento, WordPress, Woo Commerce PHP Framework(Yii2), Dart/Flutter for android/iOS app etc.
You might have CURL disable on your live server. Let me know which server you are using so that I can help you fix the issue.
Hi. Hope are doing fine. I have a good grip in PHP. I can check issue in your script thats causing it to not work on the live server. Will provide you top quality work for sure. I can start right now.
Dear sir, After reviewing the details of the offer I can accomplish professionally required I have more than 5 years experience in this field for more details contact me. Regards
Hello, How are you? I checked your job description carefully. *****I am a PHP,HTML,Coding,cURL expert*****. I have 7+ years rich experience in web development using these skills. My main skill is to create user-friendl More
Hi Give me your cPanel login and i will fix it immediately. its related to your host curl settings regards Ramin
Hi, I gone through your requirement about "facing issue in curl". I am ready to start your work now and solve your issue with in a day. please initiate a chat for the further details. Thanks Nitin M.
Hi, I am php developer having experince in curl php. I can check your curl issue on your hosting environment, Thanks
Hi there, I'm interest in your project. We can discuss more about the project in the chat. I am a Serious website developer, and I have 6 years experience in developing website using HTML, CSS and PHP and CI, Magent More
Hi, We are php experts and can fix your problem in next 2 hours. Ping me if you are interested. Thanks OSSTron
Hi, I'm happy to sit and work with you to resolve this. I'm a full stack developer, with experience using libcurl. Get in touch if you'd like to work together. Best, Joe