sitemap.xml.gz Generator use JAVA
sitemap.xml.gz Generator for use with Google ™ Java WebStart ApplicationYou’ll need to install Java if you don’t have it installed already. click here to run it: sitemap.xml.gz Generator for use with Google Runs on your desktop computer. Runs on all operating systems. (Linux, Unix, Windows, MacOS) You don’t need to install Python on your web […]
Security Considerations of File Upload
Before enabling HTTP file upload on your server, one important thing that you must consider is security, as improper design and configuration will make your server vulnerable to attacks.For example, the PHP file upload script and JSP file upload script that were covered earlier are not secure. One problem is that we have not checked […]
Example JSP File Upload Script
Below shows a JSP file upload script that is used to print out the name-value pair received from the earlier XHTML MP document and save the uploaded file to a certain location on the WAP server. Remember to change the action attribute of the <form> element in the earlier XHTML MP document from file_upload.php to […]
Example PHP File Upload Script
Below shows a PHP file upload script that is written to handle the form data submitted from the earlier XHTML MP document. The PHP script prints out the information obtained from the HTTP request and saves the uploaded file to the “/file_uploads” directory of the WAP server.<?php header(`Content-type: application/vnd.wap.xhtml+xml`); ?><?php echo `<?xml version=”1.0″?` . `>`; […]
Handling Form-based File Upload with Java Servlet or JSP
Unlike PHP, Java Servlet and JSP do not have build-in mechanisms for handling form-based file uploads. One solution to this problem is to implement a function yourself to extract uploaded files contained in an HTTP request. However, a better choice is to make use of a third-party library that can help us handle file uploads.One […]
XHTML MP Example Demonstrating File Upload
The following example demonstrates how to upload a file from a Nokia 6230 cell phone. Here is the XHTML MP document of the example. As XHTML MP is compatible with HTML/XHTML, this XHTML MP document can also be opened with web browsers such as Microsoft Internet Explorer and Mozilla Firefox.<?xml version=”1.0″?><!DOCTYPE html PUBLIC “-//WAPFORUM//DTD XHTML […]
Handling Form-based File Upload with PHP
In this section, we will introduce to you how to handle form-based file uploads with a PHP script. The techniques are the same for HTML and XHTML. At the time of writing, the latest version of PHP is 5.2.0. So, we assume you are using PHP 5.2.0 in this tutorial. For other versions of PHP, […]
Upload File from WAP Cell Phone
Many wireless devices like cell phones can be used as a digital camera or as a music player. With them, you can take pictures, record video clips and listen to your favorite MP3 songs at any time and in any place.However, your cell phone may not have enough space to store all your pictures, video […]
XHTML MP Input Elements
Like HTML, XHTML MP provides numerous input element types for obtaining data from users. The following input element types are available in XHTML MP:Text fieldPassword fieldCheckboxRadio buttonHidden field All of the above input elements are created with the <input> element. To send the user data to the server, the <input> element has to be used in […]
XHTML MP Selection Lists
A selection list is a list of options that a user can select. The <select></select> tags define a selection list in XHTML MP. One or more <option></option> tag pairs are enclosed within the <select></select> tags. The <option></option> tag pair defines a list item.To send the value of the selected item to the server, the <select> […]