Results 1 to 6 of 6
Thread: ?
Hybrid View
-
27th July 2008 13:19 #1Registered User
Join Date: Apr:2005
Location:
Posts: 238
?
php 1 . . .
..... . . . . 3. (1) (2) ........ (3). .
$target_path = "uploads/";
$target_path = $target_path . basename( $_FILES['uploadedfile1'] ['name']);
if(move_uploaded_file($_FILES['uploadedfile1']['tmp_name'], $target_path)) {
echo "The file ". basename( $_FILES['uploadedfile1']['name']).
" 2 ";
} else{
echo " 1!";
}
-
27th July 2008 13:45 #2
, .
move_uploaded_file .
-
27th July 2008 16:46 #3Registered User
Join Date: Apr:2005
Location:
Posts: 238
. . , .
Last edited by Executor`; 27th July 2008 at 17:17.
-
27th July 2008 18:01 #4
-
27th July 2008 20:13 #5Registered User
Join Date: Apr:2005
Location:
Posts: 238
. . basename , , .......
-
27th July 2008 22:03 #6
PHP.




Reply With Quote
Lenovo ThinkPad 15 IdeaPad 15
5th May 2023, 22:16 in