Hershel ,

Well, some other list members might give you more accurate
answers, but as for cgi engine I'm using Rev 2.5 on a Linux
server because I've been told that this version includes db libs
as well as xml libs.
As for the db driver path, I use the following lines :

     put "/usr/local/bin/" into path
     revSetDatabaseDriverPath path

right before the script line that calls revOpenDatabase...

HTH,
JB

>
> >
> > Hershel ,
> >
> > Does your cgi engine include db library ?
> > Did you set up somewhere in your script the path to the DB driver ?
> >
> > JB
> Good thinking, I didn't think about that because its local, but any how
> should that be done? I believe that the same thing applies when its uploaded
> to a hosting server.
> Thanks,
> >
> >> Hi, I'm wondering why the following function doesn't work in a CGI script?
> >>
> >> FUNCTION getTip
> >>   put revOpenDatabase("Postgresql","127.0.0.1","test","postgres",) into tS
> >>   put revDataFromQuery(,,ts,"select * from contact")   into theTFile
> >>   return theTFile
> >> END getTip
> >>
> >> If I add it to a button as below it works fine.
> >>
> >> ON mouseUp
> >>   put getTip()
> >> END mouseUp
> >>
> >> Thanks, Hershel
> >
> > _______________________________________________
> > use-revolution mailing list
> > [email protected]
> > Please visit this url to subscribe, unsubscribe and manage your subscription
> > preferences:
> > http://lists.runrev.com/mailman/listinfo/use-revolution
>
> _______________________________________________
> use-revolution mailing list
> [email protected]
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:

--



_________________________
Faith is a central nervous system disease, like Alzheimer or multiple sclerosis.


_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to