Welcome Guest, Not a member yet? Register   Sign In
how to upload doc, xls, ppt file ?
#8

[eluser]Cristian Gilè[/eluser]
[quote author="InsiteFX" date="1295880633"]userfile is the name of the file that you want to upload!

Change userfile to the name of your file!

InsiteFX[/quote]

WRONG!!!

userfile is the file field name not the name of the file. To access the file name use
Code:
$_FILES['userfile']['name']


Cristian Gilè


Messages In This Thread
how to upload doc, xls, ppt file ? - by El Forum - 01-14-2011, 05:04 AM
how to upload doc, xls, ppt file ? - by El Forum - 01-14-2011, 07:31 AM
how to upload doc, xls, ppt file ? - by El Forum - 01-24-2011, 02:45 AM
how to upload doc, xls, ppt file ? - by El Forum - 01-24-2011, 02:50 AM
how to upload doc, xls, ppt file ? - by El Forum - 01-24-2011, 03:47 AM
how to upload doc, xls, ppt file ? - by El Forum - 01-24-2011, 07:29 AM
how to upload doc, xls, ppt file ? - by El Forum - 01-24-2011, 08:24 AM
how to upload doc, xls, ppt file ? - by El Forum - 01-24-2011, 09:05 AM
how to upload doc, xls, ppt file ? - by El Forum - 01-24-2011, 04:32 PM



Theme © iAndrew 2016 - Forum software by © MyBB