Giter Site home page Giter Site logo

Problem when inserting special characters into input-fields, resulting in blank $this->input->get_post("title") about codeigniter HOT 7 CLOSED

bcit-ci avatar bcit-ci commented on April 27, 2024
Problem when inserting special characters into input-fields, resulting in blank $this->input->get_post("title")

from codeigniter.

Comments (7)

karlshea avatar karlshea commented on April 27, 2024

I can confirm this issue. MAMP 1.9.5 and PHP 5.3.5.

The problem is that iconv doesn't work right in PHP in this version of MAMP. So, not really a CI bug as much as a problem with the environment. Took me lots of hours to track this down yesterday and today.

from codeigniter.

derekjones avatar derekjones commented on April 27, 2024

Yeah, MAMP did a number with iconv. Its quirks compared to a realistic production environment is one of the reasons I do not use it.

from codeigniter.

kenjis avatar kenjis commented on April 27, 2024

iconv is buggy, isn't it? How about using mbstring first?

from codeigniter.

derekjones avatar derekjones commented on April 27, 2024

Multibyte string functions aren't enabled in many PHP environments, and the iconv solution to provide clean utf-8 has been in use for many years by many applications and frameworks.

from codeigniter.

JonathanMH avatar JonathanMH commented on April 27, 2024

Is this issue still present in MAMP 2.0.1? I kind of get the same error, will try it out on my server now.

from codeigniter.

JonathanMH avatar JonathanMH commented on April 27, 2024

I can confirm this issue in MAMP 2.0.1. It works fine on PHP Version 5.2.4-2 ubuntu linux 2.6.18-028stab092

from codeigniter.

bhj avatar bhj commented on April 27, 2024

This is fixed in MAMP 2.0.2 and later.

from codeigniter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.