News:

Click here for Toll-Free Service for your business starting at $2.00 per month

Main Menu

File Upload Through Form

Started by Guide, April 15, 2006, 05:15:55 PM

Previous topic - Next topic

Guide

Has the file upload through form been forbidden ?
I had a script which worked till recently, used in a CMS to upload an image and link it to a text ; however I now get an upload error and it doesn't work anymore...

The $_FILES['img']['tmp_name'], when echoed, gives adresses like "/tmp/php61xSJtError"...

Problem or restriction ?

admin

Be sure your file permissions are set correctly.

The directories that you are storing the uploaded files in need to be chmod'd to 770 or 775

Thank you,
FreePgs.com Admin

Guide

Ok, it's working now... Thanks a lot !