Re: [Gambas-user] Gambas server pages

2009-04-26 Thread Jesus Guardon
Many thanks, Steven. It now works. Although my gbs2 path is /usr/local/bin/gbs2 Regards Jesus Steven James Drinnan escribió: > Create a symbolic link like this > > ln -s /usr/bin/gbs2 /usr/bin/gbw2 > -- Crystal Repor

Re: [Gambas-user] Gambas server pages

2009-04-25 Thread Steven James Drinnan
Create a symbolic link like this Code: Open your terminal: su ln -s /usr/bin/gbs2 /usr/bin/gbw2 this will create the necessary file. To test run your script through a terminal. Then you just need to configure your web server to recognize gbw2 extensions. (Or just use cgi) On Sat, 2

Re: [Gambas-user] Gambas server pages

2009-04-25 Thread Jesus Guardon
I'm trying to get server pages to work, but I can't. My scripts doesn't work because gbw2 is not found in my system. Executing the script in console gives: je...@jesus:~$ ./test.gbs /usr/bin/env: gbw2: No existe el fichero ó directorio je...@jesus:~$ Using Ubuntu 8.10 - Gambas2 2.12 (Compiled wi

Re: [Gambas-user] Gambas server pages

2009-04-24 Thread Steven James Drinnan
I think I solved it. But some please tell me if I can do this better. After some more playing I decided to open up the copied files in gedit as a root user. When I changed the file and resaved it the program worked as expected. Looks like a problem with Apache and cgi scripting and file ownersh

[Gambas-user] Gambas server pages

2009-04-24 Thread Steven James Drinnan
Well i do not know if you got the last message but I have been playing with this. Got it working in Apache with cgi. -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensign option tha

[Gambas-user] Gambas server pages

2009-04-24 Thread Steven James Drinnan
Well i do not know if you got the last message but I have been playing with this. Got it working in Apache with cgi. But i have this problem the example always works. yeah! But when I try it myself with this program #!/usr/bin/env gbw2 <% DIM myName AS String %> My Test <% myName = "steve

Re: [Gambas-user] Gambas Server Pages & mysql

2009-04-23 Thread Dimitris Anogiatis
Thanks Benoit that works like a charm :) Regards Dimitris 2009/4/22 Benoît Minisini > > Hey guys, > > > > With the example below Gambas Server Pages were introduced. > > > > My question is: > > 1) how would I achieve a connection to a mysql database or any database > for > > that matter? > > 2)

Re: [Gambas-user] Gambas Server Pages & mysql

2009-04-22 Thread Benoît Minisini
> Hey guys, > > With the example below Gambas Server Pages were introduced. > > My question is: > 1) how would I achieve a connection to a mysql database or any database for > that matter? > 2) where in the code below would I put the necessary statements? > 3) if no direct reference to any database

[Gambas-user] Gambas Server Pages & mysql

2009-04-14 Thread Dimitris Anogiatis
Hey guys, With the example below Gambas Server Pages were introduced. My question is: 1) how would I achieve a connection to a mysql database or any database for that matter? 2) where in the code below would I put the necessary statements? 3) if no direct reference to any database objects can be

Re: [Gambas-user] Gambas server pages

2008-09-22 Thread Benoit Minisini
On mardi 23 septembre 2008, [EMAIL PROTECTED] wrote: > On Mon Sep 22 18:59 , François <[EMAIL PROTECTED]> sent: > >Le Monday 22 September 2008 15:06:05 Benoit Minisini, vous avez écrit : > >> Hi, > >> > >> In the last revision of the 2.0 branch, you will find some sort of > >> gambas scripter hack

Re: [Gambas-user] Gambas server pages

2008-09-22 Thread ihayw...@iinet.net.au
On Mon Sep 22 18:59 , François <[EMAIL PROTECTED]> sent: >Le Monday 22 September 2008 15:06:05 Benoit Minisini, vous avez écrit : >> Hi, >> >> In the last revision of the 2.0 branch, you will find some sort of gambas >> scripter hack that allows you to write ASP-like files that I named "Gambas >

Re: [Gambas-user] Gambas server pages

2008-09-22 Thread Ron
Benoit Minisini schreef: > Hi, > > In the last revision of the 2.0 branch, you will find some sort of gambas > scripter hack that allows you to write ASP-like files that I named "Gambas > server pages". > > Put that in a text file, make it executable, and run it. Do not forget to > run "make ins

Re: [Gambas-user] Gambas server pages

2008-09-22 Thread François
Le Monday 22 September 2008 15:06:05 Benoit Minisini, vous avez écrit : > Hi, > > In the last revision of the 2.0 branch, you will find some sort of gambas > scripter hack that allows you to write ASP-like files that I named "Gambas > server pages". > > Put that in a text file, make it executable,

[Gambas-user] Gambas server pages

2008-09-22 Thread Benoit Minisini
Hi, In the last revision of the 2.0 branch, you will find some sort of gambas scripter hack that allows you to write ASP-like files that I named "Gambas server pages". Put that in a text file, make it executable, and run it. Do not forget to run "make install" in the app source directory to re