You are here: Re: Re-directing output from Form POST to a string « All PHP « IT news, forums, messages
Re: Re-directing output from Form POST to a string

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация