On Wed, Jun 26, 2002 at 07:06:41PM +0700, Amiel Ong wrote: > For the purpose of making the online ordering site for her... I am now > studying PHP. > > In your opinion what else should I study? > How were u able to fax the details of the order? > Whats the use of the database backend?
>From what I remember, the CGI scripts ran on a Cobalt Linux box with a modem and a dedicated phone line attached to it. The script ran efax to send a fax via the modem to the Pizza Hut offices which then read and processed the received order. By the way, the Pizza Hut work is probably one of the few pieces of CGI work that *didn't* require the use of a database. What would have been a better way of doing this would be to create a database containing the details of all incoming orders, and making yet another (privately accessible) CGI script allowing each individual branch to read and accept online orders that come in. Even better would be to set up a login system that contains customer profile information. But they wanted a simple fax-based system, the scripts for which took Migs only a few hours to hack together... :) If you want a really nice ordering system I suggest you attempt to study SQL and relational databases. They're indispensible for storing managing customer information and all that, and form the foundation for elecronic commerce. -- Rafael R. Sevilla <dido at imperium dot ph> +63(2)8123151 Software Developer, Imperium Technology Inc. +63(917)4458925 _ Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph To leave: send "unsubscribe" in the body to [EMAIL PROTECTED] To subscribe to the Linux Newbies' List: send "subscribe" in the body to [EMAIL PROTECTED]
