| | |
php file upload script help
Please support our PHP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Sep 2008
Posts: 138
Reputation:
Solved Threads: 0
Hi I make a php file upload script and uploaded in my ftp server. And works fine when I changed the permission of the folder into full ( ie world can write, execute and read ) . The images are saved in that folder......
How much it is secured ?? Is any one can view this folder or any Hack ???
Please Help me ...
How much it is secured ?? Is any one can view this folder or any Hack ???
Please Help me ...
You should be fine as long as you only allow certain file types to be uploaded. For instance, you don't want people to be able to upload files that may contain malicious code to your website. You will want to check the file type of what is being uploaded to ensure that it is an image. If you've already done that, you shouldn't have any problems.
"We've heard that a million monkeys at a million keyboards could produce the complete works of Shakespeare; now, thanks to the Internet, we know that is not true." - Robert Wilensky
Well if that were the case, you could write a .htaccess file that only allows requests from localhost to access the files in the directory.
"We've heard that a million monkeys at a million keyboards could produce the complete works of Shakespeare; now, thanks to the Internet, we know that is not true." - Robert Wilensky
![]() |
Similar Threads
- Sending attached files in php (PHP)
- Php file upload (PHP)
- Convert SINGLE-file upload into multiple files with foreach loop, cant figure out (PHP)
- Issues w/ file uploads in PHP (PHP)
- File upload problem (PHP)
- Please help!!! Upload script.. (PHP)
- Apache on linux OS, running PHP scripts (Linux Servers and Apache)
Other Threads in the PHP Forum
- Previous Thread: Gather HTTP headers
- Next Thread: Excellent Image Rating Script:Need Help
| Thread Tools | Search this Thread |
.htaccess alerts apache api archive array autocomplete beginner binary broken cakephp checkbox class cms code convert cron curl database dataentry date display duplicates dynamic echo email emptydisplayvalue error errors execute explodefunction file files firstoptioninphpdroplist folder form forms function functions google hack href htaccess html htmlspecialchars image include insert ip javascript joomla keywords limit link login loop mail menu methods mlm multiple mysql network object oop paypal pdf php problem query radio random recursion recursive redirect remote script search securephp server sessions shot sms source space sql subscription syntax system table tutorial tutorials update upload url validator variable video web youtube





