hi again Chane!
well how is doing the network's building ? are you destroyed yet?
well,if not try this without "bang-bang"...
ready cowboy?
http://www.apachefriends.org/en/xampp-windows.html
from here get xampp(apache server +php+mysql for windows)
http://freebasic.net/index.php/download
from here get freebasic (is like quick basic style plus some z80 basic commands)
(Windows 0.21.1 Installer Compiler for Windows, including libraries, headers {...} )
and the ide editor
FbEdit Windows A full-featured IDE written in FreeBASIC using {...}
after you installed freebasic in c:\freebasic
and the editor in c:\freebasic\ide
(read the instruction there) you will able to compile an little exe like purebasic style...
Code: Select all
Print "Content-Type: text/html"; Chr(10)
Print "Fancullo Italia";
after this ... you will get let say "d1.exe"
create in c:\ the new folder "int" and paste "d1.exe"
now after you start your server apache(from xampp panel) you will have "
http://localhost/" working
now go in "c:\xampp\htdocs\" and create a new folder named "chane"
so now you have "c:\xampp\htdocs\chane\" and offcource "
http://localhost/chane/"
now copy paste this file:
index.cgi
yes is there only one line code!!!
open opera,ie,firefox, i don't know ...chrome a browser you have...
http://localhost/chane/
now you understand how is working the guy's "interpreter"
if you don't like to prove all this just copy paste d1.exe in "c:\xampp\cgi-bin\"
and see it in browser like this :
http://localhost/cgi-bin/d1.exe
i used this example becouse i haven't licensed copy of purebasic, but if you are able to compile purebasic .exe file...
try the andy's interpreter to compile it like d1.exe (remember to place it in "c:\int\"), put it in place of my exe file,then instread my index.cgi file use this
Code: Select all
#!"c:\int\d1.exe"
OpenConsole()
PrintN("Content-Type: text/html")
PrintN("")
PrintN("Hello from Purebasic 4.30 on your HTTP WebServer!")
let me know if the guy's interpreter works!
see'ya , happy self auto-destruction, have fun !