View Single Post
  #2  
Old 01-29-2003, 12:09 PM
 
funkydunk funkydunk is offline
 

X-Man
  
Join Date: Oct 2002
Location: Cambridge, UK
Posts: 2,210
 

Default

In PHP try something like:

Code:
<?php if ($_SERVER['SERVER_PORT']=='80'){ // check to see if running on http include ("file.php"); } ?>

This should work in version 4.1 onwards of PHP
__________________
ex x-cart guru
Reply With Quote