Page 1 of 1

Including php fails ...

Posted: Fri Oct 24, 2008 2:18 pm
by erpee
I'm trying to include a survey I've made. I created an UDT called: "onderzoek" containing:

Code: Select all

include 'http://onderzoek.priton.nl/index.php?sid=76934&lang=nl';
In the page I call the UDT using:

Code: Select all

{onderzoek}
But then .... These messages appear:

Code: Select all

Warning: include() [function.include]: URL file-access is disabled in the server configuration in /home/priton01/domains/priton.nl/public_html/testcase/lib/content.functions.php(675) : eval()'d code on line 1

Warning: include(http://onderzoek.priton.nl/index.php?sid=76934&lang=nl) [function.include]: failed to open stream: no suitable wrapper could be found in /home/priton01/domains/priton.nl/public_html/testcase/lib/content.functions.php(675) : eval()'d code on line 1

Warning: include() [function.include]: Failed opening 'http://onderzoek.priton.nl/index.php?sid=76934&lang=nl' for inclusion (include_path='.:/usr/local/lib/php') in /home/priton01/domains/priton.nl/public_html/testcase/lib/content.functions.php(675) : eval()'d code on line 1
Is there anything I'm doing wrong?  ??? ???

Re: Including php fails ...

Posted: Fri Oct 24, 2008 2:34 pm
by alby
erpee wrote: Warning: include() [function.include]: URL file-access is disabled in the server configuration in /home/priton01/domains/priton.nl/public_html/testcase/lib/content.functions.php(675) : eval()'d code on line 1
Your provider don't permit you of include url....

Alby

Re: Including php fails ...

Posted: Fri Oct 24, 2008 2:47 pm
by erpee
Is there another way to get the page appear?

Re: Including php fails ...

Posted: Fri Oct 24, 2008 2:54 pm
by alby
erpee wrote: Is there another way to get the page appear?
erpee wrote: I'm trying to include a survey I've made. I created an UDT called: "onderzoek" containing:
If is your because you don't copy your script in new site.
Second you can run this in a iframe tag (view embed plugin)

Alby

Re: Including php fails ...

Posted: Thu Nov 06, 2008 10:11 pm
by thebenz
I was able to get around it by altering my include format.

http://blog.everymanhosting.com/php-cod ... iguration/