slitaz-forge view usbkey/resend.php @ rev 709
boot: add mypizza.slitaz.org link
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Dec 15 17:55:16 2019 +0100 (2019-12-15) |
parents | |
children |
line source
1 <?php
2 $i = 1;
3 for ($i = 1; isset($argv[$i]); $i++) {
4 $hash = basename($argv[$i]);
5 $data = file_get_contents($argv[$i]);
6 $_POST = unserialize($data);
8 system(dirname($_SERVER["SCRIPT_FILENAME"])."/helper.sh '".
9 $_POST['email']."' '".$_POST['surname']."' '".$_POST['size'].
10 "' ".$hash);
11 }
12 ?>