March 28th, 2000, 05:50 AM
I need to make, from a php3 file, an external call to a php3 include file.
my line is:
<? include("http://www.3plane.it/php3/terranet_recommend.inc") ; ?>
It doesn't work !!!!!!
How can i do???
thank you very much......
March 28th, 2000, 08:23 AM
not sure what youre doing, but i can call from a page I did
March 28th, 2000, 10:33 AM
When you say it doesn't work, what is the error message you receive? Or do you just get a blank page?
March 29th, 2000, 08:39 AM
I can not call the file from the server - but it works fine locally - there is nothing wrong with the script - seems like a server/access problem
March 29th, 2000, 10:43 AM
This may be a stupid question, but is the page you are including on the same server as the PHP file you are including into?
If not, can you telnet into your server and try to ping the other server? Or try Lynx (terminal-based web browser) and see if you can view the .inc file. Then we will know for sure if there is a server access problem. It might also be a DNS problem; try using the IP address instead of the domain name.