Closed Thread
Results 1 to 4 of 4

Thread: Curl not working

  1. #1
    konewka15 is offline x10Hosting Member konewka15 is an unknown quantity at this point
    Join Date
    Jan 2011
    Posts
    2

    Curl not working

    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:
    PHP Code:
    <?php
    $ch 
    curl_init();
    curl_setopt($chCURLOPT_URL$url);
    curl_setopt($chCURLOPT_HEADER0);
    curl_setopt($chCURLOPT_RETURNTRANSFER1); 
    $outputL curl_exec($ch);
    curl_close($ch);
    ?>
    Thanks in advance..

  2. #2
    Anna's Avatar
    Anna is offline I am just me Anna is a name known to allAnna is a name known to all
    Join Date
    Aug 2007
    Location
    Sweden
    Posts
    6,569

    Re: Curl not working

    That'd be because outbound port 80 is currently blocked, it is blocked to prevent abuse, mainly from those that decided running a proxy on our free hosting was a good plan.

    It will remain blocked until further notice.
    Do you have trouble reaching your site?
    Check here first: News and Announcements


    Don't forget that x10hosting has an irc server as well. Come and join the fun
    server: irc.x10hosting.com, main channel: #x10hosting
    There's a lot helpful users there if need help building your site

  3. #3
    konewka15 is offline x10Hosting Member konewka15 is an unknown quantity at this point
    Join Date
    Jan 2011
    Posts
    2

    Re: Curl not working

    And there is no way to include a webpage or to make an exception?

  4. #4
    Anna's Avatar
    Anna is offline I am just me Anna is a name known to allAnna is a name known to all
    Join Date
    Aug 2007
    Location
    Sweden
    Posts
    6,569

    Re: Curl not working

    There is, we have however mainly made acceptions for websites of common interest, such as those that are required by commonly used scripts for version checking.

    We have not been adding those required by one user only.

    This block is not in place on the Illuminated upgrade of free hosting, or our Premium hosting
    Do you have trouble reaching your site?
    Check here first: News and Announcements


    Don't forget that x10hosting has an irc server as well. Come and join the fun
    server: irc.x10hosting.com, main channel: #x10hosting
    There's a lot helpful users there if need help building your site

Closed Thread

Similar Threads

  1. Curl is not working
    By wapstore65 in forum Free Hosting
    Replies: 1
    Last Post: 12-22-2010, 05:13 AM
  2. cURL no longer working
    By belltown in forum Free Hosting
    Replies: 2
    Last Post: 11-18-2010, 02:04 PM
  3. curl is not working
    By muntadev in forum Free Hosting
    Replies: 2
    Last Post: 01-06-2010, 10:19 AM
  4. curl is not working
    By muntadev2in in forum Free Hosting
    Replies: 0
    Last Post: 08-03-2009, 10:13 AM
  5. cURL not working
    By 12345 in forum Free Hosting
    Replies: 3
    Last Post: 09-24-2007, 06:20 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers