Alternc  latest
Alternc logiel libre pour l'hébergement
unavelsieve
Go to the documentation of this file.
1 #!/usr/bin/php
2 <?php
3 
4 if (empty($argv[1])) {
5  echo "Usage: unavelsieve <file or string>\nPrint the content of an avelsieve-encoded string\n";
6  exit();
7 }
8 if (is_file($argv[1])) {
9  $content=file_get_contents($argv[1]);
10 } else {
11  $content=$argv[1];
12 }
13 
14 print_r(unserialize(base64_decode(urldecode($content))));
15