I'm new today to x10 hosting.
I have made a website with several scripts, including one script to view my school schedule.
To make my script view the schedule, i have to get information from the schoolsite.
On previous webhosts, i did this with Curl.
When I use the same script on x10, it's not working, and as result, I get a blank page.
What can I do on this?
This is my curl script:
Thanks in advance..
I have made a website with several scripts, including one script to view my school schedule.
To make my script view the schedule, i have to get information from the schoolsite.
On previous webhosts, i did this with Curl.
When I use the same script on x10, it's not working, and as result, I get a blank page.
What can I do on this?
This is my curl script:
PHP:
<?php
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_HEADER, 0);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
$outputL = curl_exec($ch);
curl_close($ch);
?>
Thanks in advance..