in reply to Re: Rename problem
in thread Rename problem

What contents does $old_title have?
$old_title is just a string of chars.
What is actually happening? the resulting name is incorrect. It is missing the file extension ie .shtml