that helps but....... this is a university server so these guys are both busy & dialed.
the uploads are owned by "WWW" and my script "UAC" (http root). I always have trouble with chmod but i should at least be able to delete the files? (user "meyerj")
any reccomendations on getting the script i wrote ("UAC") to act as "WWW"? (there are a bunch of different user ids for each owner.)
here's the code; anny help would sure be appreciated.
-nick
if ($type == "r" ){
if (isset($file_to_delete)) {
if ( $file_to_delete!="" && $file_list!="" && $user_name!="" && $user_email!="" ) {
rename $source_path/$file_to_delete", "/$destination/$file_to_delete");
mail ($sendto, $subject, $heads_up, $header);
$fp = fopen( /logs/admin_list.txt","a");
fwrite( $fp, "$info \n");
fclose( $fp );
$success = "<P align=\"center\"><FONT color=\"navy\"><B>Success! You can return to the routes page <A href=\"http://www.uac.pdx.edu/routes/\">here</A>.</B></FONT><BR>\n";
} else { $error = TRUE; }
} # - end ifset
-start some html if type
?>