|
Posted by Tyrone Slothrop on 10/05/06 14:12
On 5 Oct 2006 05:45:25 -0700, puri.rajeev@gmail.com wrote:
>Hi,
>
>I have created a web form that uses the post method. I wish to receive
>the resulting page of form post to a string variable, so that I could
>look out for some particular string like "SUCCESS" in the resulting
>page. Please help..
>
>
>Rajeev Puri.
This should get you started:
foreach ($_POST as $k=>$v) {
if (strstr(strtolower($v), 'success')) {
$alert = true;
break;
}
}
if ($alert) {
echo "Success was found."
}
Navigation:
[Reply to this message]
|