Hey! I had the same issue with my curl_init get request last week. Turns out, the server might be blocking it. Try adding a user agent like this:
```php
curl_setopt($ch, CURLOPT_USERAGENT, 'Mozilla/5.0');
```
Also, check if the URL is actually reachable—sometimes it’s just a typo.
For debugging, use `curl_error($ch)` right after `curl_exec` to see what’s going wrong.
```php
curl_setopt($ch, CURLOPT_USERAGENT, 'Mozilla/5.0');
```
Also, check if the URL is actually reachable—sometimes it’s just a typo.
For debugging, use `curl_error($ch)` right after `curl_exec` to see what’s going wrong.
