I want help in crul cron issue

Closed Posted 3 years ago Paid on delivery
Closed 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);

}

?>

PHP HTML ASP.NET cURL Coding

Project ID: #27651688

About the project

17 proposals Remote project Active 3 years ago

17 freelancers are bidding on average $27 for this job

abugosia

Hello, I'm Abu Gosia. I'm interesting in your project very well. Give me cpanel or ftp access please so I can debug and fix issue. I'm good in Website Design, Yii2, PHP, Laravel, Codeigneter, Wordpress, Open Cart, C#, More

$20 USD in 1 day
(252 Reviews)
7.1
schoudhary1553

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

$70 USD in 2 days
(85 Reviews)
6.8
pkjoshi

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.

$30 USD in 1 day
(40 Reviews)
5.8
ankur625

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.

$25 USD in 1 day
(61 Reviews)
5.2
purplemaestro

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.

$15 USD in 1 day
(52 Reviews)
5.3
alimajdy

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

$30 USD in 1 day
(26 Reviews)
5.0
bobrovpavelwork

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

$30 USD in 1 day
(7 Reviews)
4.4
webprof2

Hi Give me your cPanel login and i will fix it immediately. its related to your host curl settings regards Ramin

$30 USD in 1 day
(35 Reviews)
4.8
kselax

Hello, Nice to meet you! I have checked your job posting carefully and I am very interested in this project. I will work as a full timer. I am very confident to complete this job on high quality of work. Thanks for you More

$20 USD in 7 days
(12 Reviews)
3.4
nitinwebtech

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.

$40 USD in 1 day
(5 Reviews)
3.0
hassannazeer

Hi, I am php developer having experince in curl php. I can check your curl issue on your hosting environment, Thanks

$15 USD in 1 day
(9 Reviews)
3.2
Kavita9166

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

$10 USD in 7 days
(8 Reviews)
2.4
osstron

Hi, We are php experts and can fix your problem in next 2 hours. Ping me if you are interested. Thanks OSSTron

$30 USD in 1 day
(0 Reviews)
0.0
jnkCambridge

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

$30 USD in 1 day
(0 Reviews)
0.0