Jump to content

infoking58

New Members
  • Posts

    1
  • Joined

  • Last visited

    Never

Everything posted by infoking58

  1. Im not sure how to fix this error. Here is the line... <TEXTAREA name="text" rows=20 cols=80>'.stripslashes(implode("",$text)).'</TEXTAREA> and the code...? if($q) { $filename = "../includes/pages/$q"; if(!is_writable($filename)) { die("<b>$q</b> is not writable! All files in your includes/pages directory should be CHMOD 666"); } $text = @file($filename,"r"); echo '<b>EDIT PAGE</b> : '.$q.' <FORM action="index.php" method="POST"> <INPUT type="hidden" name="q" value="'.$q.'"> <TEXTAREA name="text" rows=20 cols=80>'.stripslashes(implode("",$text)).'</TEXTAREA> <br><INPUT type="submit" name="submit" value="Save page"> </FORM>'; include("footer.php"); exit; } Any help would be greatly appreciated. I'm brand new at type of coding.
×
×
  • 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.