HTTP+sqlite

所属分类:网络编程
开发工具:Visual C++
文件大小:4741KB
下载次数:127
上传日期:2008-06-04 14:00:41
上 传 者lzpaul
说明:  基于sqlite数据库的HTTP服务器
(Sqlite database based on HTTP server)

文件列表:
HTTP\Copy of 说明.txt (814, 2008-03-15)
HTTP\Debug (0, 2008-06-04)
HTTP\Demo\MYSQLite3DB.db (2048, 2008-03-15)
HTTP\Demo\Thumbs.db (18944, 2008-03-13)
HTTP\Demo (0, 2008-06-04)
HTTP\exe\Demo\MYSQLite3DB.db (2048, 2008-03-15)
HTTP\exe\Demo\Thumbs.db (18944, 2008-03-13)
HTTP\exe\Demo (0, 2008-06-04)
HTTP\exe\HTTP.exe (335938, 2008-03-18)
HTTP\exe\sqlite3.dll (431163, 2008-02-06)
HTTP\exe (0, 2008-06-04)
HTTP\GUIManager.cpp (8048, 2008-03-18)
HTTP\GUIManager.h (1574, 2008-03-06)
HTTP\HTTP.dsp (4356, 2008-03-12)
HTTP\HTTP.dsw (516, 2008-03-09)
HTTP\HTTP.ncb (66560, 2008-06-04)
HTTP\HTTP.opt (54784, 2008-06-04)
HTTP\HTTP.plg (868, 2008-06-04)
HTTP\Identifiers.h (1124, 2008-03-05)
HTTP\Main.cpp (3428, 2008-03-09)
HTTP\wav1.wav (887718, 1999-11-18)
HTTP\wav2.wav (753842, 1999-11-18)
HTTP\WebServer.cpp (10432, 2008-03-18)
HTTP\WebServer.h (1372, 2008-03-18)
HTTP\window_open.wav (161186, 1999-12-01)
HTTP\WinProc.h (3536, 2008-03-05)
HTTP\结果格式.txt (717, 2008-03-15)
HTTP (0, 2008-06-04)

------------------------------------------------------------------------------------------------------------------------------------------ HTTP.exe read data from the database name of the databaseMYSQLite3DB.db ------------------------------------------------------Files------------------------------------------------------------------------------- you should put the files as following: yourpath\HTTP.exe yourpath\Demo\MYSQLite3DB.db yourpath--means any path you have built sqlite3.dll---put this file in windows\system32sqlite API need it ------------------------------------------------------Files------------------------------------------------------------------------------- ------------------------------------------------------DataBase---------------------------------------------------------------------------- the table in the database Customers(firstname TEXT, Lastname TEXT,jpg city TEXT) a Johnsona london c Johnsona wuxi ------------------------------------------------------DataBase---------------------------------------------------------------------------- -------------------------------------------------------Usage------------------------------------------------------------------------------ firstly you should run HTTP.exeselect the menu will start the http server then you kan input following sting in the IE URL http://localhost:810/Customers/Lastname/Johnsona.xml "localhost" may be changed to the IP address of the server where HTTP.exe runs. and server side will see the Popup MessageBox it tells you datas have been sent to IE press enter key you will see following in IE: /Results> but if you input wrong URL you will also see the Popup MessageBox on server side and "HTTP 404 NOT Found" will display in IE title bar -------------------------------------------------------Usage------------------------------------------------------------------------------ -------------------------------------------Attention-------------------------------------------------------------------------------------- 1.database file name must be MYSQLite3DB.db and should put in the correct path 2.table name Customers 3.the first three fields and those types of the Customers table must be "firstname TEXT, Lastname TEXT,jpg city TEXT" --------------------------End-------------------------------------------------------------------------------------------------------------

近期下载者

相关文件


收藏者