XeoWolf Posted August 4, 2007 Share Posted August 4, 2007 Hello everyone, I hope I'm asking this in the right section. And I'm sorry for the long drawn out post. I'm just not real sure how to go about asking my questions. ??? A while back I bought a php script to use for some clients sites and I intend on using it to make updating their sites simple for them to do on their own. I've tried emailing the script author for support but It seems he has dropped the project and its support already. Anyway, the issue I'm having is that the editor automatically adds html, head, meta and body tags such as: <HTML><HEAD> <META content="MSHTML 6.00.5730.11" name=GENERATOR></HEAD> <BODY></BODY></HTML> into the document, which would be alright if I were using it to edit an entire page but I'm using it to edit "include" files like: <?php include("includes/menu.php"); ?> I do this for several areas on each page with the editor putting the tags into each include I end up with horrible html. I have looked through all the code in each file trying to find where the tags are being called for so that I could remove or comment it out but I can't find anything. I've used the find tool in my editor to search for some of the text in the tags hoping to find it but no luck. For what I need to do, this script is Perfect and as I said, I bought it along with the resale/rebranding rights so that I can use it on client sites. I'd feel a little uncomfortable posting the entire scripts code here but if someone would be interested in helping me find what I need to resolve this I could send them the script to dig around in. I sort of feel that would be fine seeing that the author isn't answering emails or phone calls. Any information or advice would be greatly appreciated. Thank you... Quote Link to comment https://forums.phpfreaks.com/topic/63332-wysiwyg-editor-removing-automatically-incerted-tags/ Share on other sites More sharing options...
tippy_102 Posted August 6, 2007 Share Posted August 6, 2007 The "<HTML><HEAD>", etc text must be somewhere. It might not be in a file that ends with .php...have you looked inside <i>all</i> the files? Quote Link to comment https://forums.phpfreaks.com/topic/63332-wysiwyg-editor-removing-automatically-incerted-tags/#findComment-316326 Share on other sites More sharing options...
XeoWolf Posted August 6, 2007 Author Share Posted August 6, 2007 Yes, I've gone through each file with a fine tooth comb. Very frustrating. So I thought there must be some variable or something that is calling it from the php.ini file, or maybe some javascript that's pulling the tags from the server into the editor, like a command or something. I dunno, I have no clue with js, much less my limited experience with php. I have someone offering to go through the code for me now so I hope he can figure it out. If I/we get it figured out I'll post the solution here. thanks for the reply. Quote Link to comment https://forums.phpfreaks.com/topic/63332-wysiwyg-editor-removing-automatically-incerted-tags/#findComment-316603 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.