|
|
|
|
Menu |
|
|
Home |
| |
|
Discussions |
| |
|
Tools |
| |
|
Affiliates |
| |
|
Content |
| |
|
Info |
| | |
|
|
|
|
|
User Info |
|
Membership:
Latest: MichaelSnaRe
New Today: 0
New Yesterday: 0
Overall: 9144
People Online:
Visitors: 54
Members: 0
Total: 54
|
|
|
|
|
|
Full disclosure |
|
|
|
|
|
|
|
|
|
IT Security and Insecurity Portal |
|
|
new php script |
|
Posted: Thu Oct 15, 2009 6:06 pm |
|
|
cMD |
Advanced user |
|
|
Joined: Sep 23, 2008 |
Posts: 67 |
|
|
|
|
|
|
|
I need short php script witch can upload php file to server |
|
|
|
|
Posted: Fri Dec 04, 2009 10:50 pm |
|
|
dasatti |
Regular user |
|
|
Joined: Dec 03, 2009 |
Posts: 9 |
Location: Pakistan |
|
|
|
|
|
|
Code: | if(!$_FILES['filename']['name']=='')
{
$target_path = "uploads/";
$target_path = $target_path . basename( $_FILES['filename']['name']);
if(move_uploaded_file($_FILES['filename']['tmp_name'], $target_path))
{
echo "File uploaded";
}
else
{
echo "Error uploading file";
}
} |
|
|
|
|
|
|
Thank to forum |
|
Posted: Fri Jul 02, 2010 12:52 pm |
|
|
urlhosting |
Beginner |
|
|
Joined: Jul 01, 2010 |
Posts: 3 |
|
|
|
|
|
|
|
I also looking for such type code... Thank You |
|
_________________ newsxportal.info |
|
|
|
www.waraxe.us Forum Index -> Php
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
All times are GMT
Page 1 of 1
|
|
|
Powered by phpBB © 2001-2008 phpBB Group
|
|
|
|
|
|
|