Weezy
Star Create the number of folder/directory you want to use. This is the select option. For
example, if you want to display an option for users to select maybe games, application and music, before uploading the file, then goto FileManager >> then create three(3) folder with the above names. Goto a test page or create a new page and add files uploader with your desired number of directory you created i.e create a file uploader with the folders.
View the source code of that particular page containing the wapka file-uploader, you will get the code below in each uploader source line as seen below:
<form method=”post” action=”site_0.xhtml” enctype=”multipart/form-data”>
<input type=”hidden” name=”p”
value=”XXXXXX”>
<input type=”hidden” name=”action” value=”upload_ file”/>
<input type=”hidden” name=”hash” value=”be87ad87fec4d865347fbdf99b4f42" />
you will see the above code for each of the directory present on the page..
NOTE: Take note of the value which is represented with XXXXX and write down all the value of XXXXXX you got when source-
coding the page i.e <input type=”hidden” name=”p” value=”
XXXXXX“>
Go to the page you want to add the uploader form, and add the below code as shown below:-
<form method=”post” action=”site_:getid-site:.xhtml” enctype=”multipart/form-data”>
<input type=”hidden” name=”action” value=”upload_file”/>
File:<input type=”file” name=”file_data”/>
Description:<br/><textarea
name=”comment”></textarea>
Directory:<br/>
<select name=”p”>
<option value=””>select directory</option>
<option value=”XXXXX”>Images</option>
<option value=”XXXXX”>Mp3 song</option>
<option value=”XXXXX”>Ring Tones</option>
<option value=”XXXXX”>Videos</option>
<option value=”XXXXX” >S60 Themes</option>
<option value=”XXXXX”>Zip Archives</option> </select><input type=”submit” name=”U_submit” value=”Upload” /></form>
NOTE: Change XXXXX to the option value you got for each directory and change e.g the zip in <option…>zip</option> to your folder name. Follow the steps carefully as explain above, you will be steps away in creating an advance
uploader form in your wapka download portal.