killah Posted March 3, 2009 Share Posted March 3, 2009 Well ok. Problem 1: I am creating a little system so i can edit my website page's out side of the CPanel, i have the admin panel to select the page and all and i got the text area to show. I also changed the instances of </textarea> to <+textarea+> so it does not muck up the rest of my code. When i am submiting the page. It submit's alright, before over writing, i replace <+textarea+> to </textarea> to prevent any causes from users. But. When i view the page in cpanel or on website i get alot of error's. When i go to cpanel my file contains a "\" infront of all the " ' " so it's screwing up my code. Any way i can prevent this? Problem 2: highlight_string,highlight_file well, since i am doing the code editor, i would like the code to appear in php editor's colour's. How ever, when i do so. It displays the highlighted php outside of the textarea and add's a 1 into the textarea. Any way on this also? Thank's Link to comment https://forums.phpfreaks.com/topic/147725-2-things-into-1-topic-help-required/ Share on other sites More sharing options...
Yesideez Posted March 3, 2009 Share Posted March 3, 2009 Can't do much without some code to look at but check out strip_slashes() http://www.php.net/strip_slashes Link to comment https://forums.phpfreaks.com/topic/147725-2-things-into-1-topic-help-required/#findComment-775444 Share on other sites More sharing options...
killah Posted March 3, 2009 Author Share Posted March 3, 2009 Ready tried that. Link to comment https://forums.phpfreaks.com/topic/147725-2-things-into-1-topic-help-required/#findComment-775450 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.