working on phpnuke - submit topics module, need help on File upload

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux