hello guys i use this code for uploading file
<?
if ($userfile_size > 30000) {
print "Your file is too large. Please use your back button.";
exit;
}
if (@copy ($userfile, "c:\uploads/$userfile_name")) {
# Delete the temporary file
unlink ($userfile);
# Thank the user
print "Thank you for your submission of $artist's $songname.
We have saved it in our temporary directory and will
post it to our page shortly.";
} else {
# If the file couldn't be moved, we tell the user:
print "An error occurred during your submission.";
}
?>
first i want to make sure it is right or not
other think .. i use an apache in my windows xp as a server to run the php
and i want to upload the files to this folder (c:\uploads) what a steps i need to do ?
plz help me as soon as possible
thanks