hello everyone
I'm having difficuties moving a local file onto the server. I'set the folder's permission correctly here is what the script look like
<form name="upload" method="post" action="display.php">
<input type="file" name="clogo" size="25">
<input type="submit" name="submit" value="Upload header">form>
$userfile = $_FILES['clogo'];
$destination = "folder";
$copy_success = copy ($userfile, $destination);//file, location
if($copy_success){
echo("file have bee uploaded")
}else{
echo("sorry server could not upload your file see the admin for help");
}
any help would be greatly appreciated
Thanks, Gil.