3 ms·
With sloppy scraping I guess JS was picked up besides text. PHP should be intentionally used as training material.
by kowdermeister 8y ago
With sloppy scraping I guess JS was picked up besides text.
PHP should be intentionally used as training material.
- lugg 8y agoSloppy scraping? You forget html and JS is perfectly valid syntax to find in a .php file.
- kowdermeister 8y agoYes, of course. But JS is frontend mostly, so I can imagine it's easier to accidentally scrape some JS with text. PHP, not so much, only if the server returns source by accident.
- yorwba 8y agoWhat if the server is GitHub? Or some random blog about PHP development? There are lots of situations where it's very intentional that PHP is contained in HTML.