i got it mostly working, except for the file uploading part.
it keeps on saying
Warning: Unable to create 'ftp.hosted.dailyrush.dk/rtcwfabs/uploads/Squizm_Bridge.ZIP': No such file or directory in /data/www/hosted/htdocs/rtcwfabs/formmail.php on line 276
Warning: Cannot add header information - headers already sent by (output started at /data/www/hosted/htdocs/rtcwfabs/formmail.php:276) in /data/www/hosted/htdocs/rtcwfabs/formmail.php on line 323
i have chmod that folder, so that public users can upload to it.
this is what is on that line in the script
// check for a file if there is a file upload it
if ($file_name) {
if (!ereg("/$", $path_to_file))
$path_to_file = $path_to_file."/";
$location = $path_to_file.$file_name;
copy($file,$location);
unlink($file);
$content .= "Uploaded File: ".$path_to_file.$file_name."\n";
}