About Us Products Solutions Services Contact Us
Please...
Register Here!
Login Area Superbase Europe Newsgroups

Home
Sitemap

Technical Support
Services


Professional
Services


Academic and
Educational
Services


Publishing
Services


Marketing
Services


Free Download
Services


Training Services

 

 


Services -> Superbase Technical Support Services

Superbase Internet Webserver

Previous
Next

Begin the first program

ALT-TAB to the Superbase Internet Server and open up the program editor if it is not already open. Create a new program by going to the program editors menu and selecting FILE/NEW. Type in the following lines:

SUB PROJ1(RetValue$)

CALL HTML("<HTML>")

CALL HTML("<HEAD><TITLE>")

CALL HTML("Project 1 code generated page")

CALL HTML("</TITLE></HEAD>")

CALL HTML("<BODY>")

CALL HTML("You hit the button.")

CALL HTML("</BODY></HTML>")

END SUB

Save the program in the same directory as the SBISERVE.SBP program. Now to see if this works, ALT-TAB to the browser, type the URL for the document root (http://192.0.1.2:82) and hit return. This should display the default page. Click on the button that says "Click here!". You should see the gateway program SBHTML.EXE launch and close while it returns a new page with the title in the browsers header of "Project 1 code generated page" and the body of the page with "You hit the button." This is a very simple example but a good way to test the Superbase program as it develops.


Copyright © 2003 Superbase Developers plc, Cambridge, UK. All rights reserved worldwide.
   Legal Notice  Questions or comments? Contact webmaster@superbase.co.uk