pnj Posted November 7, 2006 Share Posted November 7, 2006 I'm having trouble posting code with an html script tag in the forums.If I modify this message to replace 'tag' below with 'script', then either on Preview or Post, I get an error message "Read Error; (104) Connection reset by peer".[code]<tag>window.alert("foo");</tag>[/code]I apologize if this is not a bug and I am not posting scripts in the right fashion, but I have searched the faqs and forums for this and found nothing. I'm using FF2 on Windows XP.-pnj Quote Link to comment https://forums.phpfreaks.com/topic/26444-cant-post-html-tags/ Share on other sites More sharing options...
ober Posted November 7, 2006 Share Posted November 7, 2006 Admittedly, the post in the FAQ didn't contain what I just posted in it, but read this: http://www.phpfreaks.com/forums/index.php/topic,96050.new.html#newJavascript script tags trigger the IPS and you won't be allowed to post them. Add a space or figure out a different way to post them. Quote Link to comment https://forums.phpfreaks.com/topic/26444-cant-post-html-tags/#findComment-120926 Share on other sites More sharing options...
wildteen88 Posted November 7, 2006 Share Posted November 7, 2006 Just adding space between '<' or '</' and 'script' will allow you to post your message.So you'd do this[code]< script >alert('foobar']);</ script >[/code] Quote Link to comment https://forums.phpfreaks.com/topic/26444-cant-post-html-tags/#findComment-121061 Share on other sites More sharing options...
fenway Posted November 7, 2006 Share Posted November 7, 2006 Any reason why a filter can't do this automatically? Quote Link to comment https://forums.phpfreaks.com/topic/26444-cant-post-html-tags/#findComment-121128 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.