dbm041205
How to make a data base?
Page 702-703 we do the insert program but not the HTML or CGI part – do it with C++
-take all the “td” out
-make it regular and run it

-	Thursday there is a test. Be ready for it.
-	GNU is Unix or the same as CGI 
-	Appachi is the server

Apache base:
Write the codes in notepad in C++ and save as  (.cpp)

Download the apache software .Save apache as a folder and name it- it can be saved on C drive 

Go to run – cmd
It goes to c: \
Then type : cd\foldername -  in front of the prompt
Then it the prompt is :    C: \foldername>
Then : C++ filename.cpp –o  filename.cgi   (-o is for object to make it executable)
Cgi file is executable

In Apache: Htdocs refers to public-html files – 
http://localhost is the insert program on URL – localhost is the apache on each personal computer
http://localhost/ebrahimi.html - over here you enter the data and the computer takes the data and goes to the text file (.cgi file) and writes the data over there chops the extra parts and shows the information that you entered without any extra notes.

-Post and get are the 2 functions in CGI

_ Make sure to study pages 698-699-700-701-702-703 otherwise don’t show up( as Dr Ebrahimi says) – you ganna be asked a bout the context of these pages for the final individually.3-4 questions foe each person will be asked.