13.07.2015 Views

universiti teknologi malaysia - Faculty of Electrical Engineering - UTM

universiti teknologi malaysia - Faculty of Electrical Engineering - UTM

universiti teknologi malaysia - Faculty of Electrical Engineering - UTM

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

36Validating Module has to be dynamic, where the lecturer can read the fileand validate the form at the same window in their internet browser. To implementthis interface, HTML frame command functions were used to split the internetbrowser allowing the browser to view validating page and form application pages.Figure 5.3: View form online and Validate5.2.3 Implementation <strong>of</strong> file retrieving modulesThe form submission subsystem must allows the user to retrieve the data orfile that were uploaded to the database.In this module the most important data t<strong>of</strong>etch from the database is stored in the mediumblob datatype column, File. Thiscolumn stores the data <strong>of</strong> the PDF file uploaded in the binary format.This module involves calling header function in HTML command to fetchand translate the data to a data type that can be comprehend by the Internetbrowser.For downloading function, the HTML header funtion is used to get the filename and file size. If this command is not included the downloading file will notworks.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!