Page 1 of 1

Data truncated over POST METHOD

Posted: Tue Oct 16, 2007 7:27 am
by idcatalin
Hello,

I have a problem when i try to send data over POST method with 2 php files.
when i press submit button from first file in the second file i receive just part of data contained in first file.

can be tested on this location
http://competition.totalgambler.co.uk/euro2008_test.php by pressing SAVE BETS button.

on the second file i have just a single line <?php print_r($_POST); ?>

i place the same code on another server and here i receive data completed with the same code

can be tested here
http://www.checkyourodds.co.uk/euro2008_test.php

so how can be seen on the second server i receive data until id=59 and on first until id 31.

i make a question for hosting support but they not know.

so can anyone help me?

thanks

Posted: Tue Oct 16, 2007 9:02 am
by John Cartwright
I'm not exactly sure what you are asking. Posting the relevant code is also helpful :wink:

Posted: Tue Oct 16, 2007 10:37 pm
by jeffery
are you by chance running the php5-suhosin extension? Then, most likely the suhosin module is restricting what you are posting.

Thanks. this appear to be the right solution

Posted: Wed Oct 17, 2007 1:38 am
by idcatalin
i will reply when changes will be done to let you know if was the right one