Include File via URL Warnings / Errors

Discussion in 'Linux VPS/Dedicated - cPanel' started by Flash Buddy, Jan 6, 2012.

  1. Flash Buddy

    Flash Buddy New Member

    Code:
    Warning: include() [function.include]: URL file-access is disabled in the server configuration in /home/bexis/public_html/relocation/paso_robles.htm on line 29
    How can I make this go away?

    Details: I have a website with database and files that are shared by several other websites. Previously I had them all on the same server, as I am trying to do here, but here I'm running into problems using:

    Code:
    <?php include 'h t t p : / / cacoastinfo.com/communities/cayucosInfo.inc';?>
     
  2. Dan

    Dan Moderator

    Hello Flash Buddy,

    I have no personal experience with this but I was able to find this in Google.
     
  3. Flash Buddy

    Flash Buddy New Member

    Problem solved. Support turned on url includes in php.ini
     

Share This Page