Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $nombre = $_REQUEST['nombre'];
- $numero = str_replace(" ", "", $_REQUEST['numero']);
- $numero = str_pad($numero, 16, '0', STR_PAD_LEFT);
- $numero = substr($numero, 0, 4). " ".substr($numero, 4, 4)." ".substr($numero, 8, 4)." ".substr($numero, 12, 4);
- ?>
- <img src="images/tarjeta.png">
- <div style="position: absolute; top: 260px; left: 50px; font-family: Verdana; font-weight: bold; font-size: 28px;"><?php echo $numero; ?></div>
- <div style="position: absolute; top: 220px; left: 50px; font-family: Verdana; font-weight: bold; font-size: 28px;"><?php echo $nombre; ?></div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement