Hello! I'm very new to PHP, and I need a simple script to let users upload stuff.
On my site, I'll have two different forms, one for uploading pictures and one for uploading video, and so I'll also have two scripts. When the user uploads a picture, it will be saved in the directory "userpics" and videos will go in "uservids".
If someone could give me these scripts, I'd greatly appreciate it!
And if you do, please make it so pictures must be equal to or under one megabyte and jpg, jpeg, png, gif, or bmp, and videos must be equal to or under two megabytes and mp4, avi, asf, wmv, mov, or ogg.
(I can make the forms, by the way, so don't worry about that.)
Thanks a bunch!