CodeIgniter Forums
form and $_POST problem on mac with MAMP - 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: form and $_POST problem on mac with MAMP (/showthread.php?tid=39868)



form and $_POST problem on mac with MAMP - El Forum - 03-23-2011

[eluser]Ngulo[/eluser]
hi there.

i tested my site both on windows os and mac x os

i have a simple article editor i tryed copying and pasting text into textarea and save that article.

well... on windows copying and pasting no problems, $_POST is sent and everythings ok.

on mac x os i see $_POST always empty while copying and pasting into textarea some line of text and nothing happens really unbelievable :O

i use a jwysiwyg but i tryed also to disable that plugin on my textareas ... so strange ... anyone has some help?

i can't unserstand what is happening here really unbelievable :/


form and $_POST problem on mac with MAMP - El Forum - 03-23-2011

[eluser]Ngulo[/eluser]
i forgot about the problem comes up only when copying and pasting , while writing down by myself the main article is ok also for mac os :/


form and $_POST problem on mac with MAMP - El Forum - 03-29-2011

[eluser]BernardoSilva[/eluser]
I got the same problem but in all input text... =/
If i put any character like ã, é, pão the submit result by post is always reseted by CI and return an empty string...


Can somewone give a tip?

I tested on windows and works fine.

My site is runing under MAMP, codeigniter 2 need any extra extension from php? Confused


form and $_POST problem on mac with MAMP - El Forum - 04-24-2011

[eluser]Ngulo[/eluser]
i switched to Xampp and everythings ok now :/ really MAMP problem on mac i think :/


form and $_POST problem on mac with MAMP - El Forum - 04-24-2011

[eluser]BernardoSilva[/eluser]
I found the problem.
You need a older version of php to run CI2 without problems...
In MAMP you have php 5.3.5 in use by default.
If you change in the preferences to php5.2.17 you can run CI2 without problems. =)

Resume, CI2 does not work well on php 5.3.5

Good LucK


form and $_POST problem on mac with MAMP - El Forum - 04-24-2011

[eluser]Ngulo[/eluser]
i thought about php version, no w i have confirm Smile

thanks man , bad story anyway Tongue


form and $_POST problem on mac with MAMP - El Forum - 04-24-2011

[eluser]Eric Barnes[/eluser]
This may be related to this bug:
https://bitbucket.org/ellislab/codeigniter-reactor/issue/214/problem-when-inserting-special-characters