tags:

views:

52

answers:

2

I'm working on a web site which creates images online ... there is an SWF which sends variables via post to PHP, and it works fine on my PC but when I test on the server, there are missing variables, specifically the one which contains the colour of the pixels in the image (biggest image is 77 kb). I have set up post_max_size = 32M

Any clue what the problem might be?

A: 

There might be some security enforced on PHP to block binary data in POST variables (Suhosin, mod_security, etc.).

Michal Čihař
i think the problem came from suhosin.post.max_value_length = 65000my tab is 140000 but after i changed suhosin.ini no thing changed it sitll 65000 how do i have to proceed
there is lot of suhisin settings which migth influence this, check logs for problems it is reporting and increase corresponding limit
Michal Čihař
A: 

Agreed with Michal. Sometimes when something works fine on localhost but not own other sever is also because of short tags. If you have enabled short tags on local server but not on other server, you are bound to receive error or un-expected output. So check with matching of short tags also.

Sarfraz