Hai,
I am using
PostNuke 0.7.6.1 in which I have added my own module called "Vendors List" in which I have to upload a file
It has a "Browse button" to select the file
This is the code that i have given
echo "<input class="\"pn-normal\"" name="\"userfile\"" type="\"file\"" />"
echo "<input type="\"hidden\"" name="\"userfile\"" value="\"$userfile\"" />"
Now, when i click on the "Add button", the image file has to uploaded.
The problem is that, when i have given
$userfile=pnVarCleanFromInput('userfile');
echo "userfile:" . $userfile;
Then the output is
userfile: Array
It is not displaying the location of the file that i have given
The same code I have given in
PostNuke 0.7.1.4 and it worked fine.
So, Please suggest me to resolve this issue in
PostNuke 0.7.6.1
Thanks in advance.