How to check expiry date of credit card by php

<?php $date = $_GET['card_expiry_date'];
$date=explode('/',$date);

if($date[0]<=12  && $date[1]>(date('Y')-1) ){
echo "true";
} else {
echo 'false';
}
?>

Comments

  1. Replies
    1. Great Article The IEEE Xplore digital library is your gateway to trusted research—journals, conferences, standards, ebooks, and educational courses—with more than 3 million articles to help you fuel imagination, build from previous research, and inspire new ideas. Node Js Projects for Final Year IEEE will pave a new way in knowledge-sharing and spreading ideas across the globe. Project Centers in Chennai for CSE Node.js Corporate Training JavaScript Training in Chennai

      Delete
  2. This blog is full of Innovative ideas.surely i will look into this insight.please add more information's like this soon.
    JAVA Training in Chennai
    JAVA Course in Chennai
    java class
    Hadoop Training in Chennai
    Selenium Training in Chennai

    ReplyDelete

Post a Comment