View Single Post
  #2  
Old 09-24-2010, 07:23 PM
Killgore Killgore is offline
Member
 
Join Date: Dec 2008
Posts: 82
Credits: 8,956
Killgore is an unknown quantity at this point
Default RE: How to get a PHP file to be included in the files in different directories?

Something along the lines of
PHP Code:
include('the FULL url of the file you wish to include'); 
should work. You could also use the require() function as well.

Note: the full url you're looking for should be something like
Code:
http://websitename.com/directory/file.php
Reply With Quote