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. Link to comment https://forums.phpfreaks.com/topic/95142-wysiwyg-trys-to-escape-when-previewed/ 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" Link to comment https://forums.phpfreaks.com/topic/95142-wysiwyg-trys-to-escape-when-previewed/#findComment-487339 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. Link to comment https://forums.phpfreaks.com/topic/95142-wysiwyg-trys-to-escape-when-previewed/#findComment-487362 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. Link to comment https://forums.phpfreaks.com/topic/95142-wysiwyg-trys-to-escape-when-previewed/#findComment-487365 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. Link to comment https://forums.phpfreaks.com/topic/95142-wysiwyg-trys-to-escape-when-previewed/#findComment-487373 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. Link to comment https://forums.phpfreaks.com/topic/95142-wysiwyg-trys-to-escape-when-previewed/#findComment-487375 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.... Link to comment https://forums.phpfreaks.com/topic/95142-wysiwyg-trys-to-escape-when-previewed/#findComment-487377 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.