I'm a bit stymied because in_array() always evaluates FALSE. Any idea why?
Code: Select all
<?php
$Page = file("http://www.AgilityEvents.net/sandbox/target.html");
$str = "Hi there!";
echo "Yes ... ";
if (in_array($str, $Page))
{
echo "TRUE";
}
else
{
echo "FALSE";
}
?>
Thanks in advance for whatever help you can offer!
Jeff