Posts: 2,771
Threads: 96
Joined: Oct 2003
Quote:Heh ! I modified your server a while ago to admit QBasic CGIs
When it was asked to serve a .BAS file, it ran Qbasic with the BAS file, redirected everything to OUT.HTML and served that file. In QB you just had to output the HTML code using PRINT, for example, a counter:
Code:
PRINT "<html><head><title>QBasic generated page</title></head>"
PRINT "<body>"
OPEN "COUNTER.DAT" FOR BINARY AS #1
GET #1,,counter&
CLOSE #1
counter& = counter& + 1
OPEN "COUNTER.DAT" FOR BINARY AS #1
PUT #1,,counter&
CLOSE #1
PRINT "<b>This page has been visited "; counter&; " times.</b>"
PRINT "</body></html>"
It was slow, insecure and problematic, but it worked.
It was so cool
That is
SUCH a cool idea!!!!!!!!!!! Im impressed!!!! =D A hypertext preproccesser written in QB. Who woulda thought...
Posts: 1,057
Threads: 156
Joined: Aug 2003
dude that's wierd, qb server....so if i have no php, cgi, asp or sql access just stick to html css and java.
Posts: 3,616
Threads: 287
Joined: Jan 2003
Yeah, I've tinkered with QB CGI.
Very, very, very slow. Very slow.
And a pain in the arse with get/post params.
f only life let you press CTRL-Z.
--------------------------------------
Freebasic is like QB, except it doesn't suck.
Posts: 3,279
Threads: 170
Joined: Nov 2003
It can't be all THAT slow unless you are a REALLY sucky programmer...
I'd knock on wood, but my desk is particle board.
Posts: 3,616
Threads: 287
Joined: Jan 2003
That I am. So I guess that explains it.
f only life let you press CTRL-Z.
--------------------------------------
Freebasic is like QB, except it doesn't suck.
Posts: 4,307
Threads: 63
Joined: May 2003
Zack there you go again. Low self confidence =(.
Diroga, I personally prefer using HTML since I dont use much dynamic webpages. You could use PHP to do cool stuff on you webpages though =).
Posts: 3,616
Threads: 287
Joined: Jan 2003
Quote:Zack there you go again. Low self confidence =(.
:roll:
f only life let you press CTRL-Z.
--------------------------------------
Freebasic is like QB, except it doesn't suck.
Posts: 4,307
Threads: 63
Joined: May 2003
:rotfl: :rotfl: :rotfl: :rotfl: :rotfl: :rotfl:
Posts: 1,057
Threads: 156
Joined: Aug 2003
Quote:Diroga, I personally prefer using HTML since I dont use much dynamic webpages. You could use PHP to do cool stuff on you webpages though =).
i dont have PHP server support. i'm on geocities
which one looks better
http://www.geocities.com/mrynit/acadec/index.html
http://www.geocities.com/mrynit/acadec/bio.html
Posts: 3,616
Threads: 287
Joined: Jan 2003
The former.
And use proper spelling.
f only life let you press CTRL-Z.
--------------------------------------
Freebasic is like QB, except it doesn't suck.