Re: [PHP] Parse error help.., thanks..



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;amp;am
15 p;amp;amp;& $file != CACHE_FILE)
16 {
17 $files[] = $file;
18 }

Try remove the "&amp;"s...

[]s


--
Davi Vidal
davividal@xxxxxxxxxxxxxxxx
davividal@xxxxxxxxx
--

Agora com fortune:
"Toothpaste never hurts the taste of good scotch."
.



Relevant Pages

  • Re: [PHP] Parse error help.., thanks..
    ... Thanks very much for the help, Davi,, no more such errors.. ... "Toothpaste never hurts the taste of good scotch." ...
    (php.general)
  • Re: Any knowlidgable blended Scotch fans here??
    ... sale here either. ... I find they all taste the same after a gallon of the stuff...That's why I ... stinking scotch after that combo. ... You must drink crappy bourbon. ...
    (rec.sport.football.college)
  • Re: OT: Tried a new Scotch - Whew, what a difference!
    ... Don't know how many of you out there appreciate a good Scotch ... can smell the peat smoke in the glass as well as taste it on the tongue. ... the taste of "LAPHROAIG" single malt compared to, say, Glennfiddich ... To join/leave the list, search archives, change list settings, * ...
    (comp.sys.hp.mpe)
  • Re: fusels and hangovers
    ... some hard liquors produce surprisingly little morning-after ... discomfort, considering the quantity consumed. ... I don't know because I can't stand the taste of Scotch; I guess it's an acquired taste, and I'm basically a beer drinker. ... But since we're already a bit off-topic and speaking about hard-liquor here, I recall a show on the discovery channel where a professional taster was comparing something -- I don't remember if it was vodka or scotch or what it was -- but he had something like 10 unmarked samples that were taken at different stages of distillation, and IIRC he was able to put all ten of them in exact order. ...
    (rec.crafts.brewing)
  • Re: U started it Matt
    ... In fact, if you hold the bottle up, like you are ... Smeagol is the ... leave my Scotch unattended anymore. ... At least Smeagol has good taste. ...
    (rec.pets.cats.anecdotes)