>I 'm trying to work with file upload, I already  read several sites who
>refer that php will set the variable file_name automaticly,.
>
>I made 2 tries one on line 6 and other on line 7  of the atached code, but
>both does not work.
>
>Why I receive the folowing errors, and how can I correct
>
>Notice: Undefined index: file_name in
>d:\inetpub\wwwroot\impac\php\upfile.php on line 6
>
>Successfully uploaded
>Notice: Undefined variable: file_name in
>d:\inetpub\wwwroot\impac\php\upfile.php on line 7

>From the Manual:

$_FILES['userfile']['name']

Not $_FILES['userfile_name']

http://www.php.net/manual/en/features.file-upload.php


-- 
Like Music?  http://l-i-e.com/artists.htm
I'm looking for a PRO QUALITY two-input sound card supported by Linux (any
major distro).  Need to record live events (mixed already) to stereo
CD-quality.  Soundcard Recommendations?
Software to handle the recording? Don't need fancy mixer stuff.  Zero (0)
post-production time.  Just raw PCM/WAV/AIFF 16+ bit, 44.1KHz, Stereo
audio-to-disk.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to