imam 2 i nijedan neradi
moze te li baciti pogled
-
<?php
$filename="notpad.txt";
$fd=fopen($filename,"r");
$textFileContents=fread($fd,filesize($filename));
fclose($fd);
if ($frmSub) {
$fd=fopen(“notpad.txt”,“w”);
fwrite($fd, $newdata);
fclose($fd);
}
?>;
Edit Metatags<
<?
echo stripslashes($newdata);
?>
-
<?php if($action==""){
$fd = fopen ("notpad.txt", "r");
$stuff = fread ($fd, filesize ("notpad.txt"));
fclose ($fd);
php?>
<?php echo $stuff ?>
<?php
}
if ($action=="temp3") {
$fp = fopen("notpad.txt", "w");
fputs($fp, $cont);
fclose($fp);
php ?>
<?php
}
?>
IDK
2
Nisi definirao $_POST[‘frmSub’] i $_POST[‘newdata’]