Had a lot of problems getting things to work, and found this typo. Should be `if (strpos($html, '<html') === false) {`
Had a lot of problems getting things to work, and found this typo. Should be
if (strpos($html, '<html') === false) {