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? Link to comment https://forums.phpfreaks.com/topic/141812-little-help-please/ 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. Link to comment https://forums.phpfreaks.com/topic/141812-little-help-please/#findComment-742685 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? Link to comment https://forums.phpfreaks.com/topic/141812-little-help-please/#findComment-743097 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.