Reply to Re: sorting random values from a string

Your name:

Reply:


Posted by pt36 on 09/06/07 16:12

Sorry Rik but this code not display nothing in my page
(in the directory banner I have some file)

<?php
if ($handle = opendir('banner/')) {
$files = array();
while (false !== ($file = readdir($handle))) {
if (is_file($file)) $files[] = $file;
}
shuffle($files);
echo implode(' ',$files);
closedir($handle);}

?>
I made mistake ?
Thanks

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация