The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

file_get_contents - need help

Discussion in 'General Discussion' started by sam0t, Mar 2, 2010.

  1. sam0t

    sam0t Registered

    Joined:
    Mar 2, 2010
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Hi, I have 2 cpanel accounts and I need to pull in data from 1 to the other using file_get_contents.

    When I go to the url in a browse I can see it perfectly.
    When I use file_get_contents on another account I get the error
    PHP:
    Warningfile_get_contents(http://joomla.quantumtek.com.au/beamanager) [function.file-get-contents]: failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /home/manager/public_html/index.php on line 2
    When I use the same piece of code on a completelly external server the page content is loaded in succesfully.

    Thanks in advance to anyone who can give me any tips
     
  2. thewebhosting

    thewebhosting Well-Known Member

    Joined:
    May 9, 2008
    Messages:
    1,201
    Likes Received:
    1
    Trophy Points:
    38
Loading...

Share This Page