slitaz-forge view usbkey/resend.php @ rev 431
doc: continue to move to new style (more testing)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Jan 15 15:34:03 2014 +0100 (2014-01-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 ?>