working on phpnuke - submit topics module, need help on File upload
| From: | Exiang | Date: | Mon, 10 May 2004 16:39:27 +0000 |
| Subject: | working on phpnuke - submit topics module, need help on File upload | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-23659@lists.php.net to get a copy of this message | ||
I had posted the following msg at phpnuke.org but nobody reply me.
I not sure izzit suitable to post up here but i am urgently need for help.
My post:
------------------------------------------------------------------------------------------------------------------------------
I am working on a module tat allowed visitors to submit their own company logo as a new topics and
it will be approve by the admin.
I facing problem now at the logo uplaod part.
as i understand, every post variable will be automatically convert to variable with the same name
like :
<input type=\"text\" name=\"topic_text\" size=\"40\"
maxlength=\"40\" >
i jsut need to call $topic_text and i will get the variable of that form field.
however, this do not work for
<input type=\"file\" name=\"topic_image\"></input>
and I already using enctype="multipart/form-data"
I tried to get with $_FILES['topic_image'] but do not work..
expert here pls HELP ME~~~!
p/s the module is for nuke version 6.9
regards,
eXiang