i found the second bit of code and changed it to:
function createNewFile($name,$mail,$subject,$comments,$count,$date,$other="",$up="0") {
global $settings, $dodano;
$newfile="msg/".$count.".".$settings['extension'];
if (file_exists($newfile))
{
deleteOld($count,$newfile);
}
but now when a post is made it cannot be found. i.e. after the post successful message and i return to board, there is no post!
max messages count
You can try this:
in settings.php set max count to 200 and in mboard.php set count ID to 300:
if ($count >= 300) {
See if that works. If not the counting and deleting part of the code would have to be rewritten and that is out of the scope of my support here.
But why complicate in the first place? Why limit IDs to 0-200 or 0-300 in the first place? This is where the problems came from.
in settings.php set max count to 200 and in mboard.php set count ID to 300:
if ($count >= 300) {
See if that works. If not the counting and deleting part of the code would have to be rewritten and that is out of the scope of my support here.
But why complicate in the first place? Why limit IDs to 0-200 or 0-300 in the first place? This is where the problems came from.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools