Jump to content

Little help please.


mojopanel

Recommended Posts

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

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.