how to convert a normal strip cc checker into bulk check
<p>I want to know how can I convert a normal php coded cc validator to a bulk.I have basic code with stipe merchant API working perfectly,but I want to make in bulk so I can check as many as possible help me out and tell me also how can I separate the not working and not working ccs in different boxes.</p>

<pre><code>&lt;?php
require 'path-to-Stripe.php';
if ($_POST) {
  Stripe::setApiKey("YOUR-API-KEY");
  $error = '';
  $success = '';
  try {
    if (!isset($_POST['stripeToken']))
      throw new Exception("The Stripe Token was not generated correctly");
    Stripe_Charge::create(array("1" =&gt; 1000,
                                "currency" =&gt; "usd",
                                "card" =&gt; $_POST['stripeToken']));
    $success = 'Your payment was successful.';
  }
  catch (Exception $e) {
    $error = $e-&gt;getMessage();
  }
}
?&gt;

&lt;!DOCTYPE html&gt;
&lt;html lang="en"&gt;
    &lt;head&gt;
        &lt;meta http-equiv="Content-type" content="text/html; charset=utf-8" /&gt;
        &lt;title&gt;Stripe Getting Started Form&lt;/title&gt;
        &lt;script type="text/javascript" src="https://js.stripe.com/v1/"&gt;&lt;/script&gt;
        &lt;!-- jQuery is used only for this example; it isn't required to use Stripe --&gt;
        &lt;script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"&gt;&lt;/script&gt;
        &lt;script type="text/javascript"&gt;
            // this identifies your website in the createToken call below
            Stripe.setPublishableKey('YOUR-PUBLISHABLE-API-KEY');
            function stripeResponseHandler(status, response) {
                if (response.error) {
                    // re-enable the submit button
                    $('.submit-button').removeAttr("disabled");
                    // show the errors on the form
                    $(".payment-errors").html(response.error.message);
                } else {
                    var form$ = $("#payment-form");
                    // token contains id, last4, and card type
                    var token = response['id'];
                    // insert the token into the form so it gets submitted to the server
                    form$.append("&lt;input type='hidden' name='stripeToken' value='" + token + "' /&gt;");
                    // and submit
                    form$.get(0).submit();
                }
            }
            $(document).ready(function() {
                $("#payment-form").submit(function(event) {
                    // disable the submit button to prevent repeated clicks
                    $('.submit-button').attr("disabled", "disabled");
                    // createToken returns immediately - the supplied callback submits the form if there are no errors
                    Stripe.createToken({
                        number: $('.card-number').val(),
                        cvc: $('.card-cvc').val(),
                        exp_month: $('.card-expiry-month').val(),
                        exp_year: $('.card-expiry-year').val()
                    }, stripeResponseHandler);
                    return false; // submit from callback
                });
            });
        &lt;/script&gt;
    &lt;/head&gt;
    &lt;body&gt;
        &lt;h1&gt;Charge $10 with Stripe&lt;/h1&gt;
        &lt;!-- to display errors returned by createToken --&gt;
        &lt;span class="payment-errors"&gt;&lt;?= $error ?&gt;&lt;/span&gt;
        &lt;span class="payment-success"&gt;&lt;?= $success ?&gt;&lt;/span&gt;
        &lt;form action="" method="POST" id="payment-form"&gt;
            &lt;div class="form-row"&gt;
                &lt;label&gt;Card Number&lt;/label&gt;
                &lt;input type="text" size="20" autocomplete="off" class="card-number" /&gt;
            &lt;/div&gt;
            &lt;div class="form-row"&gt;
                &lt;label&gt;CVC&lt;/label&gt;
                &lt;input type="text" size="4" autocomplete="off" class="card-cvc" /&gt;
            &lt;/div&gt;
            &lt;div class="form-row"&gt;
                &lt;label&gt;Expiration (MM/YYYY)&lt;/label&gt;
                &lt;input type="text" size="2" class="card-expiry-month"/&gt;
                &lt;span&gt; / &lt;/span&gt;
                &lt;input type="text" size="4" class="card-expiry-year"/&gt;
            &lt;/div&gt;
            &lt;button type="submit" class="submit-button"&gt;Submit Payment&lt;/button&gt;
        &lt;/form&gt;
    &lt;/body&gt;
&lt;/html&gt;
</code></pre>