Simple Machines Community Forum

Archived Boards and Threads... => Archived Boards => Install and Upgrade Help => Aiheen aloitti: wiennat - huhtikuu 14, 2006, 10:32:53 AP

Otsikko: Multiple apostrophe
Kirjoitti: wiennat - huhtikuu 14, 2006, 10:32:53 AP
SMF Version: SMF 1.0.7
I have problem with single quote. When I post a topic that contain single quote, it has changed to double single quotes. I've search for a solution in this board. The solution is set magic_quotes_sybase to off. But I'm in IIS share hosting environment so I can't either modify php.ini myself or set it via .htaccess.

Have any idea?
Otsikko: Re: Multiple apostrophe
Kirjoitti: Oldiesmann - huhtikuu 14, 2006, 11:35:51 AP
Add this code to the beginning of index.php (right after the <?):

ini_set('magic_quotes_sysbase', '0');