Posted 08 July 2012 - 05:56 PM (#42)
Posted 08 July 2012 - 06:45 PM (#43)
Posted 08 July 2012 - 08:24 PM (#44)
jr wdR comedian under ThatRailsGuy
arronhunt, on 30 June 2012 - 10:09 PM, said:
Posted 08 July 2012 - 10:10 PM (#46)
soulcyon, on 08 July 2012 - 09:27 PM, said:
Mine said PROTECTING against
jr wdR comedian under ThatRailsGuy
arronhunt, on 30 June 2012 - 10:09 PM, said:
Posted 09 July 2012 - 12:38 AM (#47)
itom07, on 08 July 2012 - 08:24 PM, said:
http://lynxphp.com/s...site-scripting/
Twitter | GitHub | phpBB Contributor and Website Team Member | lynxphp
Posted 13 July 2012 - 12:40 PM (#48)
jr wdR comedian under ThatRailsGuy
arronhunt, on 30 June 2012 - 10:09 PM, said:
Posted 13 July 2012 - 01:00 PM (#49)
itom07, on 13 July 2012 - 12:40 PM, said:
You should probably learn JS properly if you don't understand how to implement that
I'm also referring to all your questions in the Node/JS forum. You seem to ask some pretty basic JS questions (even stuff like syntax) -- it's a much better idea for you to properly learn JavaScript in the first place, before taking on more advanced stuff.
Posted 13 July 2012 - 01:16 PM (#50)
itom07, on 13 July 2012 - 12:40 PM, said:
http://phpjs.org/fun.../strip_tags:535
Twitter | GitHub | phpBB Contributor and Website Team Member | lynxphp
Posted 13 July 2012 - 02:26 PM (#51)
Cyril, on 13 July 2012 - 01:00 PM, said:
I'm also referring to all your questions in the Node/JS forum. You seem to ask some pretty basic JS questions (even stuff like syntax) -- it's a much better idea for you to properly learn JavaScript in the first place, before taking on more advanced stuff.
I'm pretty sure you deserve like three -1's for that answer. Isn't this forum for learning? And I was referring to a script tag alternative.
I do not regret a single one of my questions because I've gone from understanding zero js to learning a pretty fair amount to then making my own node app. True a lot of my questions are quite basic but for what I'm using them for better to have a completely explained basic example and them adapt a more sophisticated version for my use.
On a third note there are times when I wish people would have asked questions because then I can learn from their answers. I'm sure there are new people to this forum who want to see easy questions as opposed to entirely years of experience type questions. Not everyone who joins has been coding for years.
jr wdR comedian under ThatRailsGuy
arronhunt, on 30 June 2012 - 10:09 PM, said:
Posted 13 July 2012 - 02:30 PM (#52)
itom07, on 13 July 2012 - 02:26 PM, said:
His point being that there were two lines of PHP-specific stuff, and it wasn't complicated PHP. This is a place for learning, but it certainly isn't a replacement for Google / MDN ;-)
Twitter | GitHub | phpBB Contributor and Website Team Member | lynxphp
Posted 13 July 2012 - 02:36 PM (#53)
callumacrae, on 13 July 2012 - 02:30 PM, said:
Your correct and maybe I should have googled it but since I had the opportunity to directly ask the author, I took advantage of it.
jr wdR comedian under ThatRailsGuy
arronhunt, on 30 June 2012 - 10:09 PM, said:
Posted 13 July 2012 - 03:29 PM (#54)
- Replace < and > with
<
and>
- Never ever parse and execute user-submitted content.
So at that point, the question goes from "How can I block XSS in Javascript?" to "what's the best way to do string replacement?" and maybe "How can I rewrite this so I'm not eval()ing user-submitted data?"
Posted 13 July 2012 - 03:51 PM (#55)
jr wdR comedian under ThatRailsGuy
arronhunt, on 30 June 2012 - 10:09 PM, said:






Cartoon Clouds
Mountains
Sunrise
Clouds
Green Clouds
None














Help