added tips to lamer.bash help
[mirrors/Programs.git] / php / skripty / php_demo.php
CommitLineData
8de51304
H
1<?php\r
2echo("Special chars example\n<-Harvie 2oo7\n\n");\r
3$tocse = "-\|/";\r
4\r
5while(1) {\r
6\r
7echo("INIT: ..........\x0d");\r
8for($i=0;$i<11;$i++) {\r
9 usleep(100000);\r
10 echo("INIT: ");\r
11 for($x=$i;$x>0;$x--) echo("#");\r
12 echo("\x0d");\r
13}\r
14\r
15$tnum = rand(0,99);\r
16echo("Find: ".($find = md5($tnum)).":??\n");\r
17$i = 0;\r
18while(1) {\r
19 $tnum = rand(0,99);\r
20 $test = md5($tnum);\r
21 echo("\x0d MD5: ".$test." ".$tocse[$i]." :$tnum ");\r
22 usleep(50000);\r
23 if($test == $find) { break; }\r
24 $i++;\r
25 if($i > 3) { $i = 0; }\r
26}\r
27echo("\x0d MD5: ".$test.":$tnum \n Found\x07!!!\n\n");\r
28\r
29}\r
This page took 0.283479 seconds and 4 git commands to generate.