Re: Uploading Files through PHP
| From: | Andy | Date: | Wed, 27 Feb 2002 21:07:54 +0000 |
| Subject: | Re: Uploading Files through PHP | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-86484@lists.php.net to get a copy of this message | ||
maybe your code is inside a function. If this is the case set the var to
global.
Andy
"Georgie Casey" <webmaster@filmfind.tv> schrieb im Newsbeitrag
news:20020227204642.47656.qmail@pb1.pair.com...
> I'm trying to let users upload word files through a PHP form but its not
> working! The script keeps telling me that the file path doesn't exist.
> HERE'S THE CODE I USE IN THE FORM PAGE:
>
> <FORM ENCTYPE="multipart/form-data"
> ACTION="freelancers/uploaded_word.php"
> METHOD="POST">
> <INPUT TYPE="hidden" name="MAX_FILE_SIZE"
> value="1000">
> <p align="center">
> <input type="submit" value="Upload"
> name="submit">
> <input type="file" name="wordcv" size="30">
> </p>
> </form>
>
> is the code on the form page, when i submit i'm told the $wordcv is a
null.
> WHY??
>
> --
> Regards,
> Georgie Casey
> webmaster@filmfind.tv
>
> ***************************
> http://www.filmfind.tv
> Ireland's Online Film Production Directory
> ***************************
>
>