Menu
cant upload:
[code=php] $target_path = “archive/”;
$review_path = $target_path . ‘review_’ . time();
copy($HTTP_POST_FILES[‘review’][‘tmp_name’], $review_path);
$resume_path = $target_path . ‘resume_’ . time();
copy($HTTP_POST_FILES[‘resume’][‘tmp_name’], $resume_path);
Form Html:
[code=php]
echo ‘<form method=”post” enctype=”multipart/form-data”>’;
echo ‘<input type=”hidden” name=”MAX_FILE_SIZE” value=”10000″ />’;
echo ‘Review: <input name=”review” type=”file” /><br />’;
echo ‘Reviewer Resume: <input name=”resume” type=”file” /><br />’;
directory is 777
thanks for any help