Topic: Need to increase 64Kb post limit ? how ?

Hi

i wish to increase the size limit for posting

i believe it is 64kb

can some pls tell me how to do this ?

Appreciated.
Terry

Re: Need to increase 64Kb post limit ? how ?

It's in post.php, and you have to change the database column so it can contain more text

Re: Need to increase 64Kb post limit ? how ?

mmm ... sorry ... maybe i did something wrong

i added a zero to the only reference i could find to post size

// Clean up message from POST
    $message = pun_linebreaks(pun_trim($_POST['req_message']));

    if ($message == '')
        $errors[] = $lang_post['No message'];
    else if (strlen($message) > 655350)
        $errors[] = $lang_post['Too long message'];
    else if ($pun_config['p_message_all_caps'] == '0' && strtoupper($message) == $message && $pun_user['g_id'] > PUN_MOD)
        $message = ucwords(strtolower($message));

and this is the error i got when i logged in as admin and tried to post a 300kb file

i assume 655350 is 640kb ??

pls help ... i know nothing about php code ... all i know is monkey see/monkey do ...

Thanks

Re: Need to increase 64Kb post limit ? how ?

i forgot to add ... the error message i get when i try submitting this 300kn post is the following

Forbidden
You don't have permission to access /bb/post.php on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

Re: Need to increase 64Kb post limit ? how ?

trance: the database field can't hold that much, you need to change it as well
Although I don't know what's causing your error now

Re: Need to increase 64Kb post limit ? how ?

Ok ... i understand ... i need to play around with the SQL database field ... mmm ... never done that before and wouldn't have a clue how to ....

i guess i'll leave it alone ... and juts live with the 64kb limit ...

Thanks you for your quick replies. Most appreciated.

One thing i love about punBB is the support /help is fast ..... and although am a novice and almost an idiot .... i don't get the shaft treatment unlike other BB's i've tried when i've asked for help

you guys are great ..

Thank you / Appreciated