memory size exceeded?
Posted
by asdas
on Stack Overflow
See other posts from Stack Overflow
or by asdas
Published on 2010-03-13T23:41:27Z
Indexed on
2010/03/13
23:45 UTC
Read the original article
Hit count: 171
i have a form that submits data to a database, i have a function that looks like this:
//connect
foreach ($_POST as $key => $value) {
$_POST[$key] = mysql_real_escape_string($value);
}
now when i post, SOMETIMES i get an error that says this:
Allowed memory size of 268435456 bytes exhausted
i figured out that when i do a linebreak, or press enter in the message field, then that is when it causes the error, otherwise it works normal. any ideas?
© Stack Overflow or respective owner