file uploading

O

old.dreadbot

Guest
I was trying to insert a php script that would allow visitors to my roboforge site to upload there robots... Nothing i did would work. I was wondering if someone might help me with this. I would like visitors to specify a file for upload with the following criterion:

1. File Size < 300 KB
2. Must be text/plain with .bot extension
3. Delete oldest robot if directory size reaches predefined limit.
4. Display a link to the file on my robot page with a description of the robot and designers name.

Any help would be appreciated.
 
O

old.Morpheus

Guest
I've recently found something that you might find perfect for the job - infact, perfect for any PHP form related job!

Phorm v2.51 is a lovely script which can do any of the following:

  • Include it in an acknowledgement page for the visitor
  • Send it to an email address, or a number of email addresses.
  • Validate it against a sophisticated set of criteria
  • Include it in an autoresponder message to the visitor
  • Log it to a text file
  • Log it to a MySQL database

Go fiddle!
 

Users who are viewing this thread

Top Bottom