try changing
$comment_trackback_base = CONTENT_DIR.$y.'/'.$m.'/'.$entry.'/';
to

$comment_trackback_base = CONTENT_DIR.&$y.'/'.&$m.'/'.&$entry.'/';

Not sure tho as i'm quite noobish myself

what it does:
http://www.whypad.com/posts/php-what...variables/193/
Robin H Reviewed by Robin H on . One source var - how to split? Guys i have the following problem. I made 2 buttons below each entry. Working & Not Working. When working button is clicked,a file named wknwk.html is saved in the place for current entry.But instead of that it saves the wknwk.html file in last 5 entries. Here some code $admin = $_SESSION; if ($admin == yes ) { $str = $str . '<form method="POST"> <input class=submit type="submit" name="z3" value="Working"> <input class=submit type="submit" name="z3" value="Not Working"> Rating: 5