baslinux AT lists.ibiblio.org
Subject: Baslinux mailing list
List archive
- From: baslinux AT lists.ibiblio.org
- To: baslinux AT lists.ibiblio.org
- Subject: Re: [BL] CGI in BL 3.50?
- Date: Fri, 02 Nov 2007 12:11:49 +1300
Message from Steven
===================
Mikael Bonnier wrote:
>
> > Now I will write some CGI shell scripts using SQLite
> > and perhaps Yabasic
>
> Here is one I wrote:
>
> #!/bin/sh
> echo "Content-type:text/html"
> echo ""
> echo "<html><head><title>SQLite queries quotes"
> echo "</title></head><body>"
> query="SELECT quote, author FROM quotes;"
> sqlite -separator ' -- ' mikaelb "$query" 2> null | sed "s|$|\<br\/\>|"
> echo "</body></html>"
Wow, you are doing some really interesting stuff.
You are a very welcome addition to the BasicLinux
community.
Cheers,
Steven
-
Re: [BL] CGI in BL 3.50?,
baslinux, 11/01/2007
- Re: [BL] CGI in BL 3.50?, baslinux, 11/01/2007
Archive powered by MHonArc 2.6.24.