Re: [PHP] Parse error help.., thanks..
- From: davividal@xxxxxxxxxxxxxxxx (Davi)
- Date: Fri, 30 Mar 2007 19:20:19 -0300
Em Sexta 30 Março 2007 18:55, Ian escreveu:
Parse error: syntax error, unexpected ';' in<?php
/hxxx/xxxxx/domains/xxxxx.com/public_html/blog/labels.php on line 15
<ul class="labels">
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."
.
- Follow-Ups:
- Re: [PHP] Parse error help.., thanks..
- From: "Ian"
- Re: [PHP] Parse error help.., thanks..
- References:
- Parse error help.., thanks..
- From: "Ian"
- Parse error help.., thanks..
- Prev by Date: Re: [PHP] PHP sample code for XMLHttprequest with jQuery
- Next by Date: Re: [PHP] Parse error help.., thanks..
- Previous by thread: Parse error help.., thanks..
- Next by thread: Re: [PHP] Parse error help.., thanks..
- Index(es):
Relevant Pages
|