3 ms·
I don't follow. Could you rephrase your argument?
by jacques_chester 16y ago
I don't follow. Could you rephrase your argument?
- viraptor 16y agoIf you disallow running encoded script in php as an argument to the `eval()` function, the code could just as well be run in javascript on the client side (although it's not as useful for search engine spamming anymore then). Basically for printing out some text on the website, it doesn't matter whether you're running <? echo eval($encrypted_code) ?> on some php code or <script>eval(encrypted_code)</script> in JS. The only thing it protects you from is local exploits, not adding content.
- jacques_chester 16y agoAh. Yes. I see now.