title: get multiple results at once
body: <p>My code works by getting the ID before the .htm I wanted it to do with multiple links in a row instead of 1 by 1</p>
  <p>if anyone wants to see how it works: <a href="https://cleberrafael.com.br/freepik/fp.php" rel="nofollow noreferrer">https://cleberrafael.com.br/freepik/fp.php</a></p>
  <pre><code>&lt;?PHP
    if (isset($_POST['execute']))
    {
      if ($_SESSION['token'] == $token) {
        $url = $_POST['url'];
        $stepOne = explode(&quot;_&quot;, $url);
        
       if(!empty($stepOne[1])){
        $stepTwo = explode(&quot;.htm&quot;, $stepOne[1]);
          if(!empty($stepTwo[0])){
              $id = $stepTwo[0];
              $status = &quot;success&quot;;
              $msg = &quot;https://www.freepik.com/download-file/&quot;.$id; 
          }
          else {
             $status = &quot;warning&quot;;
             $msg = &quot;Cannot Parse URL&quot;;
          }
        }
       else {
          $status = &quot;warning&quot;;
          $msg = &quot;Link Errado Amigo&quot;;
        }
            
        if ($status == &quot;success&quot;) {
              echo '&lt;div class=&quot;alert alert-'.$status.'&quot;&gt;
                    &lt;strong&gt;Pronto LIND!&lt;/strong&gt; '.$msg.'
                  &lt;/div&gt;';
        } else if($status == &quot;warning&quot;) {
              echo '&lt;div class=&quot;alert alert-'.$status.'&quot;&gt;
                    &lt;strong&gt;Failed!&lt;/strong&gt; '.$msg.'
                  &lt;/div&gt;';
        } else {
          echo '&lt;div class=&quot;alert alert-danger&quot;&gt;
                    &lt;strong&gt;Error!&lt;/strong&gt; UNKNOWN
                  &lt;/div&gt;';
        }
            
      } else {
              echo '&lt;div class=&quot;alert alert-danger&quot;&gt;
                    &lt;strong&gt;Invalid Token!&lt;/strong&gt; ^_^.
                  &lt;/div&gt;';
      }
    }
  </code></pre>
  <p>?&gt;</p>