slitaz-forge view usbkey/resend.php @ rev 352
doc: php date
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Mar 25 17:43:07 2013 +0100 (2013-03-25) |
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 ?>