Welcome Guest, Not a member yet? Register   Sign In
$_POST array being stripped?
#1

[eluser]bhogg[/eluser]
Hi all,

A bit of an interesting issue.

Have the same CI code running on two different servers, one with PHP 5.2.6 and the other (non-working) one with PHP 5.2.5. Both running identical sets of data.

Part of the codeigniter app produces a relatively large form, but still with only strlen(serialize($_POST)) equal to about 6k. On one machine everything works fine, whereas on the other the $_POST array is being stripped of a few elements off the end ($_POST['submit'] for one, the last element, and a few off the end). Again, the data and HTML are identical, along with the browser.

I've also compared php.ini and the only difference is memory_limit being set to 128M on the working server, and 32M on the non-working with this particular form. Seeing as the data is that small I can't see this being an issue.

Anyone encounter a problem like this, and know a solution?

Cheers,
Brian




Theme © iAndrew 2016 - Forum software by © MyBB