I want to access some function written in some php file on another server. I include file by using file_get_contents
. I set allow_url_include
and allow_url_fopen
to true. It opens the file. But still I am unable to access functions defined in the included file.
Error i got is:
Fatal error: Call to undefined function contact()
Can anybody guide me how can I do it.