pulling more
This commit is contained in:
2
srcs/cgi-bin/upload_file.php
Normal file → Executable file
2
srcs/cgi-bin/upload_file.php
Normal file → Executable file
@@ -10,7 +10,7 @@
|
||||
# echo("File was uploaded successfully!");
|
||||
|
||||
// this part needs to be grabed from POST uri
|
||||
$target_dir = "./www/uploaded/";
|
||||
$target_dir = "./www/user_files/";
|
||||
//$target_dir = $_POST["upload_dir"];
|
||||
//$target_dir = $_GET["upload_dir"];
|
||||
$target_file = $target_dir . basename($_FILES["fileToUpload"]["name"]);
|
||||
|
||||
Reference in New Issue
Block a user