phpnoobie9 Posted March 9, 2008 Share Posted March 9, 2008 Just wondering if anyone has had this issue. I'm using tinymce and when I use an apostrophe I get something like it\'s. Quote Link to comment Share on other sites More sharing options...
corbin Posted March 9, 2008 Share Posted March 9, 2008 My guess would be magic quotes.... Google "php magic quotes" Quote Link to comment Share on other sites More sharing options...
phpnoobie9 Posted March 9, 2008 Author Share Posted March 9, 2008 magic_quotes_gpc On On magic_quotes_runtime Off Off magic_quotes_sybase Off Off Saw this in my php.ini file turned it off from on: ; Magic quotes for incoming GET/POST/Cookie data. magic_quotes_gpc = Off Restarted apache. phpinfo still shows the same result. Quote Link to comment Share on other sites More sharing options...
corbin Posted March 9, 2008 Share Posted March 9, 2008 Look through phpinfo and see which php.ini it's reading.... Sometimes PHP likes to be all weird like and have 20 different php.inis. Quote Link to comment Share on other sites More sharing options...
phpnoobie9 Posted March 9, 2008 Author Share Posted March 9, 2008 Look through phpinfo and see which php.ini it's reading.... Sometimes PHP likes to be all weird like and have 20 different php.inis. It's the correct one. Tried just editing through the virtuozzo panel and uploading a new one. Still nothing changes. Quote Link to comment Share on other sites More sharing options...
phpnoobie9 Posted March 9, 2008 Author Share Posted March 9, 2008 Got it. I restarted the server just to see if it worked. Thanks for the help. Quote Link to comment Share on other sites More sharing options...
corbin Posted March 9, 2008 Share Posted March 9, 2008 No problem, glad you got it figured out. It might be worth noting that if any other script in your site depends on magic quotes, it may now be insecure.... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.