Download presentation
Presentation is loading. Please wait.
Published byCandice Bryan Modified over 9 years ago
1
Southampton University Computing Services Implementing Web data access using sirweb.cgi By Dave Doulton University of Southampton
2
Southampton University Computing Services Agenda Install SIR2000. Install PWS. Copy files from SIR2000 to PWS. Demonstrate web access. Demonstrate General Purpose Web Access Summary
3
Southampton University Computing Services Install SIR2000 Run Setup.exe. Install licence file. Add SIR2000 to path in autoexec.bat.
4
Southampton University Computing Services Install Personal Web Server -1 Run setup.exe in either c:\windows\options\cabs\pws or \add-ons\pws on Windows 98 CD
5
Southampton University Computing Services Install Personal Web Server -2 Choose typical install Leave default directory as suggested. Install Reboot system
6
Southampton University Computing Services Install Personal Web Server -3 If mstdcw causes a fault on reboot run msconfig from run button choose startup tab unclick entry MSTDC mstdcw -start restart machine
7
Southampton University Computing Services Copy files from SIR2000 to PWS. Copy sirweb.cgi from SIR2000 directory to c:\inetpub\wwwroot\cgi-bin Copy red.gif from SIR2000\images to c:\inetpub\wwwroot\images Copy your html and your pql files to c:\inetpub\wwwroot
8
Southampton University Computing Services Demonstrate web access - 1 Click on publish icon, check server running. Start web browser enter http://localhost/cgi-bin/sirweb.cgi? sirapp=sysproc.cgi.go&sirmem=Run &sirtxt=descrip localhost can be machine’s name
9
Southampton University Computing Services Demonstrate web access - 2 More friendly to make a form and allow to choose what to run. Using simple HTML
10
Southampton University Computing Services Demonstrate web access - 3 SIR demo flush cache default stdout hello call welcome picture splash run file descriptive data entry report full report table tables excel spss File to execute <input type="text" size="20" name="RUNFILE">
11
Southampton University Computing Services Demonstrate web access - 4 Most useful option is sysproc.cgi.runfile uses parameter RUNFILE to specify source PQL call sysproc.tools.htmlcode program write(cgi)' ' end program
12
Southampton University Computing Services Demonstrate web access - 5 Simple form to run file Run SIR PQL File to execute
13
Southampton University Computing Services Demonstrate web access - 6 You can have a form that does not look like a form and always does the same thing Run Descriptive run desciptive
14
Southampton University Computing Services Demonstrate web access - 7 Source of descrip RETRIEVAL PROCESS CASES ALL. PROCESS REC EMPLOYEE. GET VARS CURRPOS. PERFORM PROCS. END PROCESS REC END PROCESS CASES DESCRIPTIVE VARIABLE=CURRPOS / FILENAME=CGI/ END RETRIEVAL
15
Southampton University Computing Services Demonstrate General Purpose Web Access -1 Based around idea from data sysproc.cgi.entry Has two versions show and update based on hidden value on form DB_WR=yes means update anything else just show
16
Southampton University Computing Services Demonstrate General Purpose Web Access -2 General Purpose SIR2000 Database Access Forms Database Name Password Read Security Write security Database Prefix Database Master
17
Southampton University Computing Services Demonstrate General Purpose Web Access -3 General Purpose SIR2000 Database Access Forms Database Name Password Read Security Write security Database Prefix
18
Southampton University Computing Services Summary - 1 Install SIR2000 Install PWS Set up files Test forms
19
Southampton University Computing Services Summary - 2 Check security Be careful with sirweb.isa Check sysproc.cgi.runfile for source of files Make site available
20
Southampton University Computing Services The End End of presentation Any Questions?
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.