Search found 554 matches
- Dec 12, 2020 11:49
- Forum: Community Discussion
- Topic: Thank you fxm for 10K high quality posts !
- Replies: 13
- Views: 2785
Re: Thank you fxm for 10K high quality posts !
exemplary is the best word i can think of in regards to all of u guys may your works and efforts be remembered
Re: my bezier
draw curves using multiple control points then press the A key on the keyboard to animate the plot Type point2d x As double y As double End Type Type bezier as integer n=-1 pt(any) As point2d 'anchors and control points (p0 thru pN) declare sub append_pt(x as double, y as double) declare sub delete_...
my bezier
left click adds control points right click deletes control points editing (moving points) drag the control point Type point2d x As double y As double End Type Type bezier as integer n=-1 pt(any) As point2d 'anchors and control points (p0 thru pN) declare sub append_pt(x as double, y as double) decla...
- Sep 06, 2019 13:47
- Forum: Linux
- Topic: Is it possible to Hello world on a server
- Replies: 55
- Views: 31850
Re: Is it possible to Hello world on a server
here is a link to my latest
https://www.fbcadcam.net/forum/viewtopic.php?f=19&t=426
i decided to use cgi perl to shell out to the interpreter (instead of php)
i don't think i'm smart enough to experiment with fastcgi on my rented bluehost server without totally messing things up.
https://www.fbcadcam.net/forum/viewtopic.php?f=19&t=426
i decided to use cgi perl to shell out to the interpreter (instead of php)
i don't think i'm smart enough to experiment with fastcgi on my rented bluehost server without totally messing things up.
- Aug 25, 2019 17:53
- Forum: Linux
- Topic: Is it possible to Hello world on a server
- Replies: 55
- Views: 31850
Re: Is it possible to Hello world on a server
by box u mean for example on my laptop so i can dev and test...
and i guess also i would need to install the library on the server or maybe it's already on the server... something like that.
and i guess also i would need to install the library on the server or maybe it's already on the server... something like that.
- Aug 25, 2019 17:19
- Forum: Linux
- Topic: Is it possible to Hello world on a server
- Replies: 55
- Views: 31850
Re: Is it possible to Hello world on a server
#INCLUDE ONCE "fastcgi/fcgi_stdio.bi"
fastcgi is a library included with freeBASIC?
fastcgi is a library included with freeBASIC?
- Aug 25, 2019 17:03
- Forum: Linux
- Topic: Is it possible to Hello world on a server
- Replies: 55
- Views: 31850
Re: Is it possible to Hello world on a server
of course the idea of figuring out how to hello world on a server (for me) is all about figuring out how to run a server side script engine (that interprets fb code...) and it is working (kinda) but i have a long long way to go with my fbs project
- Aug 25, 2019 16:55
- Forum: Linux
- Topic: Is it possible to Hello world on a server
- Replies: 55
- Views: 31850
Re: Is it possible to Hello world on a server
my interpreter was poorly designed and it only supported up to 9 1d, 9 2d and 9 3d arrays of all standard fb types ie. byte, ubyte, integer, uinteger, string etc... i wrote this little interpreter before i really know anything about udt's and thanks to paul and fxm i now know a bit more so now i am ...
- Aug 25, 2019 16:46
- Forum: Linux
- Topic: Is it possible to Hello world on a server
- Replies: 55
- Views: 31850
Re: Is it possible to Hello world on a server
at the moment i am working on my little interpreter so i can use more then 9 1d arrays so i can do stuff like this Declare Sub init(document_title As String, doc_type() As String, document_type As UByte, html() As String, head() As String, title() As String, body() As String) Declare Function build_...
- Aug 25, 2019 16:42
- Forum: Linux
- Topic: Is it possible to Hello world on a server
- Replies: 55
- Views: 31850
Re: Is it possible to Hello world on a server
The direct way is to compile your code against the fcgi library and let the web server directly call your binary. that would really be something if i could learn how to do that and be done with php entirely. i just took a peek to find out what fcgi is: guess it stands for fast cgi ... i will look i...
- Aug 24, 2019 16:58
- Forum: Linux
- Topic: Is it possible to Hello world on a server
- Replies: 55
- Views: 31850
Re: Is it possible to Hello world on a server
My goal was to figure out how to Hello world on a server in linux so that i could ultimately do some fun stuff like fbs. Thanks to the FB community for helping me along my adventure. To know more about my fbs, links to the project are at https://www.fbcadcam.net/forum/viewforum.php?f=19 In summary: ...
- Aug 24, 2019 10:44
- Forum: Linux
- Topic: Is it possible to Hello world on a server
- Replies: 55
- Views: 31850
Re: Is it possible to Hello world on a server
check it out http://fbcadcam.org/fbs/fbs.php fbs.php <?php $output = shell_exec("./fbs"); echo "<pre>$output</pre>"; ?> calls (runs) fbs which interprets / runs test.bas test.bas dim as integer i for i = 1 to 10 print i print "this is a test of fbs" next
- Aug 24, 2019 5:46
- Forum: Linux
- Topic: Is it possible to Hello world on a server
- Replies: 55
- Views: 31850
- Aug 24, 2019 4:24
- Forum: Linux
- Topic: Is it possible to Hello world on a server
- Replies: 55
- Views: 31850
Re: Is it possible to Hello world on a server
That binary was compiled using centos on my laptop. Next I will try to compile it using ubuntu and see if it runs on the server
- Aug 24, 2019 4:19
- Forum: Linux
- Topic: Is it possible to Hello world on a server
- Replies: 55
- Views: 31850
Re: Is it possible to Hello world on a server
Oh and I'm not using cgi. The binary is in the same folder as the php and source code