I was wondering how do people transfer files to sites (like download.com) without ftp software. And how does it get posted on a site? Thanks
using HTTP POST file transfer., http://uk2.php.net/features.file-upload, for example
Thanks, but no what I was wondering was how do people upload stuff to my site?
I’m pretty sure hessiess just answered your question and you didn’t realize it. Uploading files through HTTP POST requests is where you have a html form and select a file, and then send the file to the web server.
You have to be VERY careful if you are going to allow random people to upload to a website. Good file validation is absolutely vital, unless you want people uploading PHP scripts and messing with your server. The example scripts linked to in mu above post are NOT secure.
Yeah, i like it.