Jump to content

Update website through textarea - limited to 1000 chars


sebastiansthlm

Recommended Posts

My client wanted to be able to update her website by through a html textfield.

It seems to be limited to 1000 chars. Anybody have a clue why, and how to change it?

 

The code is very simple;

...

<textarea rows="9" name="message" cols="45"></textarea>

...

 

$file = "nyheter.txt";

$msg = $_POST['message'];

$fh = fopen($file, 'w');

fwrite($fh, $msg);

 

 

Sebastian

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.