registration fix fixed
[mirrors/Kyberia-bloodline.git] / scripts / alik.php
CommitLineData
b42b2bf9
H
1<?php
2define('ALIK_DIR',"/storage/system/www-kyberia/data/alik/www.alik.cz/scripts/sample_icons/");
3define('NEW_DIR',"/storage/system/www-kyberia/data/alik/icons/");
4
5$handle=opendir(ALIK_DIR);
6echo "Directory handle: $handle\n";
7echo "Files:\n";
8$i=10;
9while (($file = readdir($handle))!==false) {
10 echo "copying $file as $i.gif \n";
11 $i++;
12 if ($i==100) $i=10;
13 copy(ALIK_DIR.$file,NEW_DIR.$i.".gif");
14}
15closedir($handle);
16?>
This page took 0.569729 seconds and 4 git commands to generate.