View Single Post
Old 18-07-2008, 09:44   #6 (permalink)
hobolooter
Registered User
 
hobolooter's Avatar
 
Join Date: Feb 2004
Location: USA
Posts: 83
Send a message via AIM to hobolooter
Quote:
Originally Posted by dawiyo
Thank you Cborrow for posting those. This will show my newbness to php.

I realize that the first is for the first upload page, but what do I do with the second script? Dedicated PHP page with nothing but that?

EDIT: After trying the script with it's own dedicated page I get the following error:

Warning: preg_match() [function.preg-match]: Unknown modifier '(' in /home/u3/nrdadmin/html/UploadScript.php on line 40
Upload is too large, is the maximum

Is that last line truncated? I'm guessing you just need to edit your php.ini and increase your maximum file upload.
  Reply With Quote