Skip to content

Commit

Permalink
better example
Browse files Browse the repository at this point in the history
  • Loading branch information
spipu committed Jul 31, 2018
1 parent bd2b481 commit 4a1f503
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions examples/res/exemple09.png.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
<?php
$px = isset($_GET['px']) ? $_GET['px'] : 0;
$px = isset($_GET['px']) ? $_GET['px'] : 0;
$px = preg_replace('/[^0-9]/isU', '', $px);
$py = isset($_GET['py']) ? $_GET['py'] : 0;

$py = isset($_GET['py']) ? $_GET['py'] : 0;
$py = preg_replace('/[^0-9]/isU', '', $py);

if ($px<1) {
Expand Down

0 comments on commit 4a1f503

Please sign in to comment.