Member Avatar

Hi I'm having issues with **get_magic_quotes_gpc()** function. I download this **Ajax File and Image Manager** from this site: http://www.phpletter.com/DOWNLOAD/ I install it on tinymce & fckeditor to test it out. They both work. I try to link the images and it didn't work and I also realizes the links are not working either. The issue is that it has "\" **backslash** on the end of the links. it looks like this: www.--.com/books/\" So I did some research and find this function http://www.php.net/manual/en/function.get-magic-quotes-gpc.php I used **Example #1** to try to fixed the issue but I'm having problems understanding how to fixed …

Member Avatar
+0 forum 1
Member Avatar

Hi guys. Does anyone know the counterpart of Javascript's .pasteHTML method in Firefox and other browsers? It works fine only in IE. I'm using an FCK Editor as my WYSIWYG control. Here is my code snippet: [CODE]var oFCKeditor = FCKeditorAPI.GetInstance(objname); var selection = (oFCKeditor.EditorWindow.getSelection ? oFCKeditor.EditorWindow.getSelection() : oFCKeditor.EditorDocument.selection); var sRange; var sHtml; //IE if(selection.createRange) { sRange = selection.createRange(); sHtml = sRange.htmlText; } //Other Browsers else { sRange = selection; sHtml = sRange; } sRange.pasteHTML(str1 + sHtml + str2);[/CODE] What I'm trying to do is to insert an HTML code to a selected range. I'd appreciate your help on this. TIA.

Member Avatar
+0 forum 1
Member Avatar

hai, I used FCKEditor in my Application. But when i browse the server any time i get a error window. And the Error as follows: The resource cannot be found. Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly. Requested URL: /SchoolAdmin/fckeditor/editor/dialog/~/fckeditor/ How Can I fix this problem. Thanks in Advance, Sreevidya

+0 forum 0
Member Avatar

Hai, I used FCK Editor -FredCK.FCKeditorV2.dll on my aspx page. But neednt Some of the toolbars . Can I remove from this editor. Thanks in Advance, Sreevidya

Member Avatar
+0 forum 1
Member Avatar

Dear Friends, I am using FCKEditor in my website. It's working all over in website fine. But there is one page in which it does not showing properly. I tried all things but in that page is does not showing properly. I have one hidden div tag. When user clicks on "Edit Description" link from Edit button, hidden div tag is shown but FCKEditor is not getting shown there. Please give me some tips. My code is to show the FCKEditor is [CODE]include_once '../FCKEditor/fckeditor.php'; function nukeMagicQuotes() { if (get_magic_quotes_gpc()) { function stripslashes_deep($value) { $value = is_array($value) ? array_map('stripslashes_deep', $value) : …

Member Avatar
+0 forum 2

The End.