Sapete dirmi ke tipo di errore è questo?
Fatal error: main(): Failed opening required 'tag_board/tagcount.txt' (include_path='.:') in /membri/ut0pi4/tag_board/tag.php on line 129
Sapete dirmi ke tipo di errore è questo?
Fatal error: main(): Failed opening required 'tag_board/tagcount.txt' (include_path='.:') in /membri/ut0pi4/tag_board/tag.php on line 129
e questo cos'è ?!?!?!??!
http://ut0pi4.altervista.org/tag_board/tagcount.txt
non mi convince "(include_path='.:')", posta il pezzo di codice con l'include (sara' linea 129 immagino )
sarà da queste parti:
}
fclose($fd);
// Write the counter....
require("tag_board/tagcount.txt");
$countfilename = "tagcount.txt";
$increment = $tagcount + 1;
$incrementoutput = "<? $" . "tagcount = " . $increment . "; ?>";
$countwrite = fopen($countfilename, "w");
fwrite ($countwrite, $incrementoutput);
fclose($countwrite);
}
// email the admin?
if($send_notify == "yes"){
$cjmsg = strip_tags($cjmsg); // strips potential smilies from tag
$recipient = "$yourname <$email>";
$subject = "You have been Tagged!";
$message = "$yourwebsite has been tagged!\nOn: $date - $time\n\nName: $ename\n\nMessage: $cjmsg";
$headers = "From: $ename <$email>\r\nReply-To: $email\r\n";
mail ($recipient, $subject, $message, $headers);
}
// else dont do anything to the data file
header("location: $display");
?>
ah ecco
penso dipenda dal fatto che la pag php e' gia' in tag_board, quindi invece che
require("tag_board/tagcount.txt");
devi fare:
require("tagcount.txt");
prova e vedi se va