PHP scripts and codes from $6

Adding Wapka Advance uploader Form With Option to select category To Download Portal


I recently wrote a tutorial on how to create a tutorial on how to create a simple download portal on wapka, but the download portal is without an advance uploader as seen in most download portal website.
If you are running a simple wapka download portal without this advance uploader, or want to incorporate this into your existing site, follow the tutorial below:

Must read How To Prevent Your Wapka Wapsite From Being Hacked

  • 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 edit site >> 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" />
    <input type="file" name="file_data"> ......
    

    NOTE: Take note 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:-
    <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 at step 3 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.


Don’t Want To Miss Our Update, Subscribe Now
About collizo4sky

Agbonghama Collins is a webdeveloper and an internet geek. I love writing and sharing the little idea & information i know. Hope you enjoyed my Article.

You can get in touch with him via these modes: Follow him on Twitter, add him on Facebook or on Google+

I Learn Web Design, Coding, Business & More.