fork(5) download
  1. <?php
  2.  
  3. $_GET['birthdate'] = "2015-02-07";
  4. $date = date("Y-m-d", strtotime($_GET['birthdate']));
  5. echo "INSERT INTO tabela (birthday) VALUES ($date)";
Success #stdin #stdout 0.03s 24448KB
stdin
Standard input is empty
stdout
INSERT INTO tabela (birthday) VALUES (2015-02-07)