I'm trying to use fucntion that defined in remote file. I add this file like this:
require_once 'http://x.x.x.x:port/file_name.php';
// file is located at ftp-server
And I'm getting error
Fatal error: Call to undefined function func_name() in php_file.php
I used CURL function
to check if file exist and it returned code 200 that means that file exists. Help please.
upd1. ini_get('allow_url_include')
returned me 1.
upd2. I've tried to call this function within the file itself it works fine