First off, php scripts do not have to be in the cgi bin. They will run in any directory on a php enabled server.
The answer to your question is:
file called file is in same directory
Quote:
|
<?php include("filename.php"); ?>
|
If it is in a different directory:
Quote:
|
<?php include("directory/filename.php"); ?>
|
If you copy the above to use paste it to notepad before you paste it into your page. These boards add formatting characters to the text.
|