Revision [601]

This is an old revision of CkFortune110 made by CyberKiller on 2010-10-13 09:30:00.
 

Fortunka z 10% szans pokazania


Wymagania


Skrypt


ckfortune1-10.php (line 1)
  1. #!/usr/bin/php -q
  2.  
  3. <?php
  4.  
  5. //runs the fortune program with 10% probability as not to lower admin productivity by reading too many fortunes ;-)
  6. //append to ~/.bashrc
  7.  
  8. if(rand(1,10)==1)
  9. {
  10.                 system("fortune -a");
  11.                 echo("\n");
  12. }
  13.  
  14. ?>



CategoryProjekty

There are no comments on this page. [Add comment]

Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki