Data truncated over POST METHOD

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
idcatalin
Forum Newbie
Posts: 2
Joined: Tue Oct 16, 2007 7:05 am

Data truncated over POST METHOD

Post 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
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Post by John Cartwright »

I'm not exactly sure what you are asking. Posting the relevant code is also helpful :wink:
jeffery
Forum Contributor
Posts: 105
Joined: Mon Apr 03, 2006 3:13 am
Location: Melbourne, Australia
Contact:

Post by jeffery »

are you by chance running the php5-suhosin extension? Then, most likely the suhosin module is restricting what you are posting.
idcatalin
Forum Newbie
Posts: 2
Joined: Tue Oct 16, 2007 7:05 am

Thanks. this appear to be the right solution

Post by idcatalin »

i will reply when changes will be done to let you know if was the right one
Post Reply