• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
National chars - form input

#1
[eluser]Unknown[/eluser]
Hi, first of all im sorry for my bad english.
Does anyone have idea why my apache (2.2.22) crashes and restarts (nothing in logs) when i try to send some national characters like "ąę揯ĀÿĈĈÜ" using post method? Here is very simple code which cause the restarts.
Controller:
Code:
<?php
class test extends CI_Controller{
    public function form(){
        $this->load->view('top');
        $this->load->view('form');
        $this->load->view('bottom');
    }
}
View:
Code:
<form action="" method="POST">
    <input name="field">
    <input type="submit" value="OK">
</form>

<?php
if($this->input->post('field')) echo $this->input->post('field');
?>

When i trying to do it outside of framework it works fine. Im using CI 2.1.3.


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.