Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Support

Pages: 1 ... 54 55 [56] 57 58 59
826
Source / Compiling the source in Windows
« on: June 29, 2007, 08:39:01 PM »
I just put the 2.1 binaries in the "What's New" section to download. I will have the 2.1 source up soon.

John

827
General Discussions / IDE x Script Basic
« on: June 29, 2007, 08:16:54 PM »
Under Windows I use Ultra Edit. ScriptBasic is a console scripting language for the most part so any text editor will do.

John

828
Source / Compiling the source in Windows
« on: June 27, 2007, 12:48:56 AM »
Roberto,

Make sure you have Perl installed and run setup.cmd from the source directory in a console window.


John

829
Source / Compiling the scriptbasic source package
« on: June 18, 2007, 04:34:08 PM »
Mark,

Sounds like you have some permission issues or don't have your development library loaded is my guess. What version of Linux you running? I had to tweak the interface.c files so that the compiler/linker could find the correct paths to the libs.

 I will try put the 2.1 source on the server in the next few days. I have binaries for CentOS (Red Hat Recompile) if that would help get you going with ScriptBasic. I have been running ScriptBasic 2.1 for over a year as a web service interface to a MLS to get photos and listing data. I have tons of other small scripts in ScriptBasic I run as well. I now have the ScriptBasic 2.1 application server working with Apache 2.x and MySQL and it's faster then any other scripting environment I have used in the past. (php, Perl, CF, ASP, ...)

Welcome to the ScriptBasic open source project. I could use some help from a few good C programmers to update extension modules with current release levels of the libs.

John

830
General Discussions / ScriptBasic 2.1 Application Server Testing
« on: June 06, 2007, 02:38:45 AM »
I'm testing the ScriptBasic 2.1 application server under CentOS. (Red Hat recompile) I have already tested it under Windows without any issues.

As soon as I get a the application I'm working on in ScriptBasic completed and MT and MySQL are fully tested, I'll post the source and binaries.

I've started a page on the wiki for the MT module and will clean it up in the next few days. I also plan on documenting how to bring up the application server on multiple virtual hosts.

Stay Tuned !

John

831
General Discussions / Linux precompile?
« on: March 20, 2007, 02:45:06 AM »
Did you add "ScriptBasic" to your subject line as reqested? Most e-mails that I have not responded to before get dumped in my spam folder.

Please resend !

John

832
General Discussions / Linux precompile?
« on: February 20, 2007, 05:42:57 PM »
I have compliled working ScriptBasic 2.10 binaries for Linux Red Hat Enterprise 4 (or recompiles like CentOS). I have been using the binaries for over a year now and the examples in this forum (Source Code) are using them as well on this server.

Send me a e-mail with somethng "ScriptBasic" in the subject line so I can pluck it out of my spam folder and I'll send you my set.

John Spikowski
ScriptBasic Project Manager

833
General Discussions / Pipes, interaction with processes, stderr, etc.
« on: December 17, 2006, 02:50:43 AM »
Tomo,

You could use a EXECUTE("executable_program", time_out,pid_v) statement to run your console command. I noticed a problem with Linux 'cat' when trying to append to another file. The operation also showed up on the screen.  :(

I haven't had any other issues with console mode usage and EXECUTE.

John

834
General Discussions / Files needed for embedding ScriptBasic
« on: December 15, 2006, 01:03:09 PM »
Peter (author) has documentation on the http://www.scriptbasic.com site for embedding the language into your own application.  If you don't find what your looking for, please repost.

John

835
Installation / Which Windows version are supported?
« on: September 21, 2006, 07:11:40 PM »
I have 2.1 of the sbhttpd server running on my XP SP2 box and it works great. There was a typo in the 2.0 code that Peter fixed that wouldn't allow it to run more then 20 minutes. There was a fix for sbhttpd running as a service also.

Send me a e-mail to support_AT_scriptbasic_DOT_org and I'll send you a beta 2.1 version to try.

John

836
General Discussions / Where can I find the file "scriba.h"?
« on: June 22, 2006, 02:48:02 AM »
I found the files you were looking for in the main 'source' directory and sent them to you via direct e-mail. Let me know if you need anything else.

John

837
GTK-Server / GTK demo
« on: May 25, 2006, 10:02:35 PM »
Thanks Peter !

As soon as I get the 2.1 version released, I will help out with more examples.

John

838
ScriptBasic Examples w/source / PostgreSQL Example
« on: May 21, 2006, 02:55:09 PM »
http://www.scriptbasic.org/cgi-bin/pgsqltest.bas

I would like to thank Peter Szabo (pgsql extension module author) for updating his work to the current version of the RedHat LAMP stack.

Code: [Select]

#!/usr/bin/scriba -c

INCLUDE cgi.bas
INCLUDE pgsql.bas

OPTION cgi$Method cgi::Post or cgi::Get

cgi::Header 200,"text/html"

cgi::FinishHeader

PRINT """
<html>
<head>
<title>PostgreSQL</title>
</head>
<body>
<font face="Verdana, Arial, Helvetica, sans-serif">
<table border="1" cellpadding="3">
"""

c = PGSQL::PGopen("dbname='database' user='user' password='password'")
IF ISSTRING(c) THEN
  PRINT "Connect Error: (", RTRIM(c), ")\n"
  END
END IF

r = PGSQL::PGexec(c, "SELECT * FROM contact")
IF ISSTRING(r) THEN
  PRINT "Query Error: (", RTRIM(r), ")\n"
  END
END IF

PRINT "<b>PGSQL Handle: </b>" & c & "<br>"
PRINT "<b>Command Status: </b>" & PGSQL::PGcmdStatus(r) & "<br>"
PRINT "<b>Command Tuples: </b>" & PGSQL::PGcmdTuples(r) & "<br>"
PRINT "<br>"

' Column Names
PRINT "<tr>"
nf=PGSQL::PGncols(r)
FOR i=0 TO nf-1
  PRINT "<td>" & PGSQL::PGcol(r,i) & "</td>"
NEXT
PRINT "</tr>"

' Data
nrows=PGSQL::PGnrows(r)
FOR row=0 TO nrows-1
  PRINT "<tr>"
  FOR col=0 TO nf-1
    IF PGSQL::PGgetisnull(r,row,col) THEN
      PRINT "<td>NULL</td>"
    ELSE
      PRINT "<td>" & PGSQL::PGgetvalue(r,row,col) & "</td>"
    END IF
  NEXT
  PRINT "</tr>"
NEXT

PRINT """
</table>
</body>
</html>
"""

PGSQL::PGclose(r)
PGSQL::PGclose(c)

END

839
General Discussions / ScriptBasic Wiki Active
« on: May 20, 2006, 02:26:23 PM »
Any and All help is welcome. I'll try and setup some templates for the wiki and maybe you can help out when you have time with filling in the holes.

John

840
General Discussions / ScriptBasic Wiki Active
« on: May 18, 2006, 03:04:15 PM »
Quote
I downloaded the mediawiki and had a look.


The Wikipedia is based on MediaWiki.

If you would like to be the "sysop" for the wiki and define direction, I would be  more then happy to support your efforts.

John

Pages: 1 ... 54 55 [56] 57 58 59