Jump to content

Need a Simple Upload Script


memoria

Recommended Posts

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!  ;D

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.