Conditional Link in page

From: CiRcUiT (jcodlingATjcodlingDOTcom)
Date: 03/09/04


Date: Tue, 9 Mar 2004 14:53:21 -0500

I am having trouble with the following code:
~~Code below
<?php

if(file_exists('http://MY_OTHER_URL_GOES_HERE/files.htm')){
          include('filesbutton.htm');
     } else {
          echo('<img src="assets/nofiles.jpg" width="110"
height="30" border="0" />');
     }
?>
~~END Code

To me this is pretty straight forward and shouldn't have a
problem but no matter what I do it always shows FALSE.

Can you not check for a file on another server? I just want
the link to be active if my server at home is on and be
inactive if it is not.

Thanks in advance for the help! I've been teaching myself
PHP for the last month and this group is a great resource!
Many helpful people.

-- 
ttyl,
CiRcUiT -=- J. Codling -=- www.jcodling.com
*This message represents the official opinions of the voices
in my head*