tips:findbadphp.php
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
tips:findbadphp.php [2011-12-20 20:42] – old revision restored rikblok | tips:findbadphp.php [2013-08-31 01:25] – Fixed needle and haystack being the wrong way round, and improved trailing characters search to accept trailing new lines which PHP ignores. 81.83.194.5 | ||
---|---|---|---|
Line 48: | Line 48: | ||
$check = file_get_contents(" | $check = file_get_contents(" | ||
filesize(" | filesize(" | ||
- | $pos = strpos('?>' | + | $pos = strpos($check, |
- | if($pos !== false && substr($check, | + | if($pos !== false && |
echo " | echo " | ||
continue; | continue; |
tips/findbadphp.php.txt · Last modified: 2022-01-26 05:56 by schplurtz