#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2000
    Location
    Roma/Italy
    Posts
    5
    Rep Power
    0
    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......

    Domenico Cammarano
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Apr 1999
    Location
    London
    Posts
    110
    Rep Power
    0
    not sure what youre doing, but i can call from a page I did

    ------------------
    cheers
  4. #3
  5. No Profile Picture
    Gödelian monster
    Devshed Regular (2000 - 2499 posts)

    Join Date
    Jul 1999
    Location
    Central Florida, USA
    Posts
    2,307
    Rep Power
    62
    When you say it doesn't work, what is the error message you receive? Or do you just get a blank page?
  6. #4
  7. Contributing User
    Devshed Novice (500 - 999 posts)

    Join Date
    Feb 2000
    Location
    Perth West Australia
    Posts
    757
    Rep Power
    15
    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

    ------------------
    Simon Wheeler
    FirePages -DHTML/PHP/MySQL
  8. #5
  9. No Profile Picture
    Gödelian monster
    Devshed Regular (2000 - 2499 posts)

    Join Date
    Jul 1999
    Location
    Central Florida, USA
    Posts
    2,307
    Rep Power
    62
    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.

Similar Threads

  1. the linker, the include and interdependent classes
    By behco in forum C Programming
    Replies: 7
    Last Post: February 1st, 2004, 08:55 AM
  2. the linker, the include and interdependent classes
    By behco in forum C Programming
    Replies: 0
    Last Post: January 31st, 2004, 01:57 PM
  3. Direct Music Initialization Problem
    By jonnathan in forum C Programming
    Replies: 0
    Last Post: January 26th, 2004, 05:29 PM
  4. include path problems - after uploading to host
    By alaw in forum PHP Development
    Replies: 2
    Last Post: December 9th, 2003, 06:11 PM
  5. Replies: 6
    Last Post: October 3rd, 2003, 02:01 PM

IMN logo majestic logo threadwatch logo seochat tools logo