Rev as Linux Shell Script
Andre Garzia
andre at andregarzia.com
Thu Oct 28 11:04:06 EDT 2010
Bill,
The 3.5 engine is quite capable but it lacks the revolution libraries such
as libURL, thats why your calls to URL commands fail. Another issue is that
getting database working is not that trivial when you try for the first
time. You need to set the externals on the startup handler to point to
revdb.so and also use revSetDatabaseDriversPath to the place where the
specific database drivers are. (Things such as dbmysql.so)
One better option for you would be to switch to RevServer, it can run
scripts just like the CGI engine but you get libURL calls and databases
already working.
If you stick to the 3.5 engine or switch to RevServer but want to do some
net stuff not enabled by libURL, you can always shell() to cURL and be
happy.
Hope this helps
andre
More information about the use-livecode
mailing list