2009-01-07

Member’s Photo uploads out of control within member registration form

Member’s photo can not upload to server within the member registration HTML form. Because of the HTML form submit process can not handle different types of member data in one process. Usually member’s information illustrated with the data type of “text” including the Boolean, but the member’s photo is represented with the data type of “binary”. Therefore, the photo submit process needs to be separated in other form submit process compare to the basic member personal details submit process. For the HTML form design, the web form needs using two parts, basic information included member name, student ID, contact number, email and such within one HTML form submit process. The member’s photo submit to server within other’s HTML form submit process. For this purpose, the server side PHP application must use the difference. For example, the data.php focuses on the information submission, photo.php focuses on the member photo submission. An example see as screenshot1.


Screenshot 1

No comments:

Post a Comment