Below is a function I am using to copy an HTML file to another directory, but the destination folder is a variable, and for some reason it wont work...
function Copy_Page()
{
if (!copy("include/index.html", $Variable.'/index.html'))
{
print "<b>Error: </b>An error has occoured somewhere along the line. <a href=\"contact_us.php?ref=01\">Alert us</a><br /><br />";
}
}
...got any suggestions as to why?
Thanx