CodeIgniter Forums
why is post data not present - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: why is post data not present (/showthread.php?tid=53333)

Pages: 1 2 3


why is post data not present - El Forum - 07-19-2012

[eluser]codeigniterzzz[/eluser]
hmm i c. let me give it a go.


why is post data not present - El Forum - 07-19-2012

[eluser]codeigniterzzz[/eluser]
no that didn't solve the issue, as a matter of fact it sort of screwed with the project lol but everything is fine now. Just the post receiving is still not working...


why is post data not present - El Forum - 07-19-2012

[eluser]Aken[/eluser]
First, don't put spaces in your HTML attributes. This is correct:

Code:
<form action="http://www.example.com" method="post">

Second, what does your .htaccess look like?

Related note: I'd say the most common reason POST data is removed is due to a redirect / refresh. Verify that you aren't performing any such actions, and that your .htaccess isn't either.


why is post data not present - El Forum - 07-20-2012

[eluser]InsiteFX[/eluser]
Check your php.ini file and make sure that this is remarked out like below.
Code:
;enable_post_data_reading = Off



why is post data not present - El Forum - 09-11-2012

[eluser]AMCerasoli[/eluser]
Man... I'm having the same problem... I don't get it... I have tested with all the 'uri_protocol' options and my .htaccess has this

Code:
RewriteEngine on
RewriteBase /
RewriteCond $1 !^(index\.php|assets|db|robots\.txt)
RewriteRule ^(.*)$ /index.php?$1 [L]

Edit

I solved it, the problem was actually a corrupt file! :bug: I just reinstalled CI and now it works! :wow: