Thanks very much for the help, Davi,, no more such errors.. :) Ian "Davi" <davividal@xxxxxxxxxxxxxxxx> wrote in message news:200703301920.19259.davividal@xxxxxxxxxxxxxxxxxxx Em Sexta 30 Março 2007 18:55, Ian escreveu: > Parse error: syntax error, unexpected ';' in > /hxxx/xxxxx/domains/xxxxx.com/public_html/blog/labels.php on line 15 > > <ul class="labels"> <?php 1 define('PREFIX', 'http://xxxx.xxxxx.com/labels'); 2 define('SEARCH_DIR','/xxxx/xxxxx/domains/xxxxx.com/public_html/blog/labels'); 3 define('THIS_FILE', 'cloud.php'); 4 if(file_exists(SEARCH_DIR.'_cloud_include_cache.html') && 5 filemtime(SEARCH_DIR.'_cloud_include_cache.html')>(time()-(60*60))) 6 echo file_get_contents(SEARCH_DIR.'_cloud_include_cache.html'); 7 else 8 { 9 $output = ''; 10 $files = array(); 11 $dir = opendir(SEARCH_DIR); 12 while($file = readdir($dir)) 13 if($file != '.' && $file != '..' && $file != THIS_FILE 14 &amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;am 15 p;amp;amp;& $file != CACHE_FILE) 16 { 17 $files[] = $file; 18 } Try remove the "&"s... []s -- Davi Vidal davividal@xxxxxxxxxxxxxxxx davividal@xxxxxxxxx -- Agora com fortune: "Toothpaste never hurts the taste of good scotch." -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php