jebs49 wrote:This really is that hard a question? Or is it really just that stupid of a question?
Well, you can try it yourself if you want a quick and exact answer. In my test I don't see any problem, but I might not be looking at the same thing
jebs49 wrote: This is a security problem more than anything I guess. Allowing someone to input code into a text area is very scary.
I don't see any relationship between security and adsense. Anyway, if you are going to allow anyone to send you html code then you'll need a very good filter at your server.
Of course Adsense can be pasted into Fckeditor, but Fckeditor strips out all the script/javascript, which destroys the ad, and I was just using this version of Fckeditor for myself, so I did not need to worry about the security issues. I was just commenting that the security issues must be why the editor was designed that way.
Does anyone know of an online editor which allows scripts?
I am using a fckeditor that is supplied with PHP mydirectory and it does strip the code. I tried to install my own version of fckeditor to replace theirs and I still had the same problem with the code being stripped.
jebs49 wrote:I just tried in the demo here and the ad does not show. What am I missing Al?
javascript isn't executed inside the editor, but if you switch back to source you'll see that it's there. in the popup preview it should work, and if it doesn't appear when you save it in your db then it's something on your server script.
I think I need to try a reinstallation on my server, but in a different directory so that it is not affected by my PHP script. I will see if that works. Thank you for your help. You have been wonderful for working with me to get this to work.
If I can get this to work, it is going to save me hundreds of dollars in modifications to my script/program.
Re: Adsense in Text Area
This is a security problem more than anything I guess. Allowing someone to input code into a text area is very scary.
Re: Adsense in Text Area
Well, you can try it yourself if you want a quick and exact answer. In my test I don't see any problem, but I might not be looking at the same thing
I don't see any relationship between security and adsense. Anyway, if you are going to allow anyone to send you html code then you'll need a very good filter at your server.
Re: Adsense in Text Area
Of course Adsense can be pasted into Fckeditor, but Fckeditor strips out all the script/javascript, which destroys the ad, and I was just using this version of Fckeditor for myself, so I did not need to worry about the security issues. I was just commenting that the security issues must be why the editor was designed that way.
Does anyone know of an online editor which allows scripts?
Jebs
Re: Adsense in Text Area
No, it doesn't remove any javascript.
It must be some protection on your server side.
Re: Adsense in Text Area
Re: Adsense in Text Area
Re: Adsense in Text Area
javascript isn't executed inside the editor, but if you switch back to source you'll see that it's there. in the popup preview it should work, and if it doesn't appear when you save it in your db then it's something on your server script.
test your code with a plain textarea.
Re: Adsense in Text Area
If I can get this to work, it is going to save me hundreds of dollars in modifications to my script/program.