Post not working in php. print_r($_POST) giving empty array
Posted on 2012-03-29
I setup a new web server using php and I see that I am not able to access
post variables in the php script. When I do print_r($_POST), it gives me empty array.
Get variables works.
I enabled register_globals, and always_populate_raw_post_data in php.ini to On. The php post is not working after the change. Is there any other php.ini variable that is causing the issue ?
Let me know how I can check what is going wrong.