0

Can someone help me out?

This is error I get when I uploaded a file into remote server, but on a localhost not so.

include(): http:// wrapper is disabled in the server configuration by allow_url_include=0

Error line include("http://x.com/public_html/y.info/output/include/Send_Message_variables.php");

Fidel
  • 1
  • 1
  • The error message is straightforward: you need to change your configuration or use another function than `include()`. You can try cURL: http://php.net/manual/en/curl.examples-basic.php – A.L May 10 '16 at 09:22
  • require_once(../x.info/output/include/x.php): failed to open stream: No such file or directory is the error I get when I uploaded the file to the server – Fidel May 13 '16 at 13:12
  • see the [`dirname()`](http://stackoverflow.com/questions/2220443/whats-better-of-requiredirname-file-myparent-php-than-just-require) function to use an absolute path. – A.L May 13 '16 at 13:18

0 Answers0