mojopanel Posted January 21, 2009 Share Posted January 21, 2009 I have some php code: <?php if (file_exists ('setup')){ echo '<table border="2" align="center" cellpadding="10" cellspacing="0"> <tr> <td bordercolor="#FF0000" bgcolor="#FFFFFF" class="general_center"><font color="#FF0000"><strong>WARNING: The setup folder still exists - For security purposes please delete it</strong></font></td> </tr> </table>';} ?> You see the bit if (file_exists ('setup')){ is there a way to make it so that if there is a bit of code moved that this will display? Quote Link to comment Share on other sites More sharing options...
trq Posted January 21, 2009 Share Posted January 21, 2009 Sorry, but the question makes little sense. You need to be allot clearer in your description. Quote Link to comment Share on other sites More sharing options...
landavia Posted January 22, 2009 Share Posted January 22, 2009 u mean like this $warn='<table border="2" align="center" cellpadding="10" cellspacing="0"> <tr> <td bordercolor="#FF0000" bgcolor="#FFFFFF" class="general_center"><font color="#FF0000"><strong>WARNING: The setup folder still exists - For security purposes please delete it</strong></font></td> </tr> </table>'; file_exists ('setup')?echo $warn:$landavia=1; are you sure about the setup? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.