
I have a PHP CURL script that refuses to work
- or -
Post a project like this648
£20(approx. $26)
- Posted:
- Proposals: 9
- Remote
- #4148897
- Awarded
Graphic Designer |Experienced Web Designer | Video/Audio Editor | PowerPoint/Keynote | Content Writer |

Ranked #1 In WordPress Development on PPH | SEO Specialist | Web Design & Development

PPH's TOP Notch Website & Mobile App Developer & Designer(9+ yrs) ✔ Wordpress ✔ Shopify ✔ OpenCart ✔ Laravel ✔ PHP ✔ React Native ✔ Android ✔ iOS ✔ HTML/CSS✔Javascript/jQuery✔Responsive Design✔ASP.net




51823034314163544992976046310889716429648127242553084683559836
Description
Experience Level: Entry
PHP & CURL work everywhere on the site but not in this new script.
I've even created a standalone script and it still fails.
The script is here and is self explanatory: It just want to retrieve the page content from a URL.
I guess I've done something daft...
$25 / £20 to the first person to fix this!
Here's the script:
<?php
$thisLink = 'https://www.zandax.com';
$url = $thisLink;
$curl = curl_init();
curl_setopt($curl, CURLOPT_URL, $url);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, TRUE);
curl_setopt($curl, CURLOPT_CONNECTTIMEOUT, 50);
curl_setopt($curl, CURLOPT_TIMEOUT, 50);
$output = curl_exec($curl);
echo 'OUTPUT: ' . $output ;
I've even created a standalone script and it still fails.
The script is here and is self explanatory: It just want to retrieve the page content from a URL.
I guess I've done something daft...
$25 / £20 to the first person to fix this!
Here's the script:
<?php
$thisLink = 'https://www.zandax.com';
$url = $thisLink;
$curl = curl_init();
curl_setopt($curl, CURLOPT_URL, $url);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, TRUE);
curl_setopt($curl, CURLOPT_CONNECTTIMEOUT, 50);
curl_setopt($curl, CURLOPT_TIMEOUT, 50);
$output = curl_exec($curl);
echo 'OUTPUT: ' . $output ;
ZandaX
100% (57)Projects Completed
27
Freelancers worked with
28
Projects awarded
36%
Last project
14 Oct 2025
United Kingdom
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
There are no clarification messages.
We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
Cookie Settings
Accept All Cookies