Posts: 425
Threads: 31
Joined: Oct 2012
Reputation:
13
(12-17-2012, 07:39 AM)nesta Wrote: me masih gak mudeng maksud TS ini minta tolong ato show op 
di atas tanya cara upload shell, biar bisa bisa bikin bot FB, nah yg bikin pusing lagi -> http://do.fh4a.com/ itu apaan? masak buat bot FB kyk gitu 
wahahahahahahahaha
Hidup Untuk Belajar Dan Belajar Untuk Hidup
Posts: 570
Threads: 0
Joined: Jun 2010
Reputation:
17
hahahahahhahahahaahhahaha ,
Posts: 1,823
Threads: 101
Joined: May 2009
Reputation:
42
karna ini di thread web programming jadi aku pikir TS nya nanya cara upload file menggunakan php
PHP Code:
<form action='' enctype="multipart/form-data" method='POST'>
<input type='file' name='namaFile'>
<input type='submit' value='kirim file'>
</form>
<?php
$path = "D:/"; //simpan file di directory D:/
$baseName = basename( $_FILES['namaFile']['name']); //nama file
$pathTarget= $path.$baseName; //menggabungkan nama path dan basename file
if(move_uploaded_file($_FILES['namaFile']['tmp_name'], $pathTarget)) { //pindahkan file
echo "upload file sukses.";
} else{
echo "error upload";
}
?>
=====================
im back