Jump to content

Recommended Posts

echo "\n::: ACCOUNTS RETREIVED, BEGIN TOP MOBBING, SENDING ENERGY and REMOVING :::\n";
$iMobLink="http://mob-dynamic-lb".rand(1,5).".mobsters0".rand(1,9).".com/mob/";
for($i=0; $i!=count($iAccountData); $i++)
{
  echo "\n::: ".strtoupper($iAccountData[$i][0])." :::\n";
  if($iAccountData[$i][1] != "" && stristr($iAccountData[$i][0], "@") && stristr($iAccountData[$i][0], "."))
  {
    list($iStore[0],$iStore[1],$iStore[2],$iStore[3]) = iAuthorize($iAccountData[$i], $iMobLink);
    if($iStore[2] > 1 && strlen($iStore[3]) == 40)
    {
      $iReward = file_get_contents($iMobLink."top_mob_gift_all?user_id=".$iStore[2]."&auth_key=".$iStore[3]);
      xml_parse_into_struct($iP=xml_parser_create(), $iReward, $iS, $iX);xml_parser_free($iP);
      echo "1: ".strip_tags(str_replace("<br>","\n",$iS[$iX['MESSAGE'][0]]['value']))."\n";
    }
    else echo "Account Skipped: wrong password/email combo, or a login error...\n";
  }
  else echo "Account Skipped: invalid email or blank password...\n";
}
echo "\n::: PROGRAM FINISHED, YOU CAN CLOSE THIS AT ANY TIME :::";
sleep(10000);

 

how could I make this whole thing repeat if echo reads "You weren't able to".. I just want it to retry this

 

      $iReward = file_get_contents($iMobLink."top_mob_gift_all?user_id=".$iStore[2]."&auth_key=".$iStore[3]);
      xml_parse_into_struct($iP=xml_parser_create(), $iReward, $iS, $iX);xml_parser_free($iP);
      echo "1: ".strip_tags(str_replace("<br>","\n",$iS[$iX['MESSAGE'][0]]['value']))."\n";

 

if echo prints "Your weren't able to".. What do I have to add?

Link to comment
https://forums.phpfreaks.com/topic/206088-repeat-if-echo-prints-something/
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.