Technical docs for maintenance of apps ?

2009-03-14 Thread jbv
Hi list, Just curious : how do you guys handle technical docs for your apps (mostly for maintenance) in case of complex algorithms and/or architecture ? Fos instance, I have a cgi script (triggered by a rev client app) that is used once a day to update a DB, and it also outputs a text file that c

[semi OT] Rev cgi and php

2009-02-12 Thread jbv
Hi list, I have a Rev cgi script that is called from a webpage via XMLHttpRequest and the POST method and that outputs xml data. Now I'm trying to launch that script from a php script on the same Linux server. I found several methods to do that on the web, but my choice is quite limited since th

Re: CGI on Win servers?

2009-02-11 Thread jbv
Richard , > I've only used the Rev engine on Linux and BSD, never on Windows servers > yet. > > Anything tricky about using it on Win as a CGI, or should it be about as > straightforward as on Linux? > > -- The only time I used Rev cgi on a Win server, it was as easy and straightforward as on L

repeat question

2009-01-11 Thread jbv
Hi list, In the following loops : repeat for each line j in myVar repeat for each word w in last item of j end repeat end repeat is "last item of j" evaluated every time the 'repeat for each word w" loop runs ? I'm asking, because when trying the following : repeat

Re: Latest Rev cgi engines for Linux server ?

2009-01-11 Thread jbv
Bill, Do you have any idea of the specs of the Dreamhost environment ? thanks, JB > Hi JB, > > > Does anyone have some experience to share on a Linux distro for a server > > and one of the most recent versions of Rev, that would allow cgi scripts > > I'm running Rev 3.0 with success on Dreamho

Latest Rev cgi engines for Linux server ?

2009-01-08 Thread jbv
Hi list, I'm in the process of building a new version of a website I did for a client circa 2004-2005. It was mostly built around Rev 2.5 and Linux. My client thinks of migrating to a new (and cheaper) ISP, and why not on a faster server. According to my experience, Rev 2.5 was heavily environmen

Re: Rev cgi & mySQL (again)

2009-01-03 Thread jbv
Hello again, For those interested in the latest episodes of my struggle with mySQL, here's a summary : I've tried the MATCH (col1) AGAINST ("word1 word2") construct, and it's blazing fast (roughly 50 to 100 times faster than my previous queries full of OR statements... But there's a couple of dra

Re: Rev cgi & mySQL (again)

2009-01-02 Thread jbv
Jan, Thanks for the comment. If you guys are interested, here is a clue on how my table is structured : there are 2 columns (varchar type) Col1 and Col2 containing single words. The additional part (with the "/" construct) happens very seldom, so I guess it can be ignored in the performance dis

Re: Rev cgi & mySQL (again)

2009-01-02 Thread jbv
Bill, > Hi jbv, > > I am less of an expert with SQL than many, but I think you can simplify your > query a bit using the MATCH...AGAINST keywords: > > for example, the first part (b) of your query might look like: > > -- convert myList1 to a space-delimited items > &

Re: Rev cgi & mySQL (again)

2009-01-02 Thread jbv
Bill, Ruslan, Thanks for your answers. To answer some of your questions, I only need to read data from mySQL, and the nested booleans are of the ( ... OR ... OR ...) AND ( ... OR ...) type. I don't if anyone's interested, but here are examples of my code : --example 1 : using mySQL put q

Rev cgi & mySQL (again)

2009-01-02 Thread jbv
Hi there I have a mySQL table with about 4 entries. I also have a Rev cgi 2.5 script that sends (very) complex SELECT requests; in which the "WHERE" part can feature as much as 50 nested booleans winth "and", "or", "binary" etc For quite some time I realized that requests to mySQL slow down

Re: [slightly OT] reliability of mySQL & Rev cgi ?

2008-12-29 Thread jbv
Thank you all for your answers to my post. In fact I finally solved my problem by re-starting Apache, mySQL and PHP on the server... My only worry is that it could start to malfunction again, and how to detect it... JB ___ use-revolution mailing list u

Re: [slightly OT] reliability of mySQL & Rev cgi ?

2008-12-26 Thread jbv
Kee Nethery a *crit : > not a mySql guy but I'm betting there is something you could add to > the statement to get the data in the same order every time. > Kee Nethery > > On Dec 26, 2008, at 6:57 AM, jbv wrote: > > > > > > SELECT col1, col2, col3, col4 FR

[slightly OT] reliability of mySQL & Rev cgi ?

2008-12-26 Thread jbv
Hi list, I'm puzzled... I have a Rev cgi script that sends a serie of requests to a mySQL DB inside a loop. Those requests are rather complex, for example : SELECT col1, col2, col3, col4 FROM myTable WHERE myList LIKE "% value1 %" OR myList LIKE BINARY("% value2 %") OR myList LIKE "% value3 %" OR

Re: Core Midi

2008-12-14 Thread jbv
Beat Cornaz a *crit : > > I will reply to you René off list. > > If there are more people who would like to get involved in getting > > real time Midi data from and to Revolution going, > > please contact me and I will try to coordinate > the thing. Just curious : why keeping this off-list ? I

Re: Things I Learned Recently

2008-12-11 Thread jbv
Hi again I just realized that there was a mistake in the code posted in my previous message... Please find the right code below (conclusions of the test remain the same though) : put "toto tata titi tete" into myVar put the milliseconds into tt repeat 10 times if wordoffset("tete",myVar)

Re: Things I Learned Recently

2008-12-11 Thread jbv
Mark Wieder a *crit : > Some Things I Thought I Knew But On Checking Find Aren't True > > 1. Back in the day I could have sworn that "contains" was deprecated > as being much slower than "is in", in that it made an extra copy of > the target before checking. This is no longer true, if it ever wa

Strange thing happening with array (old fashioned)

2008-11-09 Thread jbv
Hi folks, Just for the anecdote, here's a strange behaviour (probably a bug) that wasted almost 1 hour of my coding time to find its origin (I'm using an old Rev cgi engine 2.5 on a linux server). When I was running the following code : repeat for each word w in myList_of_words

Rev cgi, xmlhttprequest and http headers

2008-09-12 Thread jbv
Hi list, I'm using Rev cgi for an xmlhttprequest in a web page. Everything works fine, except on IE6 where the display of some xml data refuses to refresh... My question : am I right to try to set the http headers (on the Rev cgi side) so that it "forces" the browser to refresh the xml content ?

Re: REV Send Email via CGI and mail.php script on the fly?

2008-08-04 Thread jbv
John , > > > Can a rev cgi create a mail.php file, execute the php file by forwarding data > to it, and then delete the file it created, all in one swoop? > the answer is "yes". You don't even need to create a file and then delete it... I've been doing that for years : my Rev cgi script calls

Re: [semi OT] Display problem with pdf files uploaded via Rev cgi

2008-07-11 Thread jbv
Hi again, If anyone interested, I found the solution. In the first version of my cgi script, before saving the pdf code as a bin file on the server, I was running the following loop : repeat while first char of myPDF = cr delete first char of myPDF end repeat but the wasn't enough; the c

[semi OT] Display problem with pdf files uploaded via Rev cgi

2008-07-11 Thread jbv
Hi guys, Here I am, facing another weird problem... I have built a js file uploader, with rev cgi on the server side to parse the multipart/form-data and save the uploaded file in the right directory. After upload, the end user can check what's been uploaded in a webpage where all uploaded files

Re: Who is the customer? (RE: rev apps on iPhone?)

2008-06-29 Thread jbv
viktoras, > > 2) openGL 3D or some sort of integration or an ability to talk to some > 3-rd party crossplatform 3D engine like UNITY or Blender. B.t.w. UNITY > announced iPhone support this year, so if RR also targets this platform... > sorry for intruding, but this has been in the air since 2

Re: multiple lines SQL request via revdb_execute ?

2008-06-19 Thread jbv
http://www.salery.biz > > Benefit from our inexpensive hosting services. See > http://economy-x-talk.com/server.html > for more info. > > On 19 jun 2008, at 12:14, jbv wrote: > > > Hi list, > > > > I think I've already posted a similar question long t

multiple lines SQL request via revdb_execute ?

2008-06-19 Thread jbv
Hi list, I think I've already posted a similar question long time ago (couldn't retrieve it in the archives though) but didn't get any answer AFAIR... Anyway, here I go again : has anyone succeeded in sending a multiple lines SQL request to mySQL via revdb_execute ? I've tried any possible synta

Rev cgi upgrade question

2008-06-14 Thread jbv
Hi list, I'm about to re-design a web site that I built around Rev cgi in 2004/2005. Back then I used Rev cgi 2.5 Linux. Because of several new features, the site might get significantly more trafic than before, especially in tasks requiring lots of requests to mySQL. I was wondering if it was wo

Re: lineoffset slower than "repeat for each line j" ?

2008-05-29 Thread jbv
Richard, > I don't understand why lineoffset is slower, however, and have submitted > a request to have it reviewed for potential optimization: > I'm wondering if lineoffset could get slower when the wholematches are set to false... I m

Re: lineoffset slower than "repeat for each line j" ?

2008-05-29 Thread jbv
Jim, > I would be curious to know how the filter command works with your particular > data set. One of the speed difference factors I find is the exact > configuration of the data. > > The filter command works fastest if the 'target' string in the first part of > a the line, and repeat for each

lineoffset slower than "repeat for each line j" ?

2008-05-29 Thread jbv
Hi list, Please excuse the remark, but I'd like to share something I just noticed and that surprised me a bit... I have a file loaded into a variable, which is about 8 Mb and consists in about 4 lines of 3 items each (itemdel is tab). I need to know which line contains a certain value as 3r

Re: PAYPAL [was] [ANN] The reason why I was so quiet recently.

2008-05-19 Thread jbv
Hi list, > > > As a buyer, I have used PayPal only twice but have not gotten an > > undue number of spam emails. > > But if you suddenly got lots and could figure out what it was that you > had done to deserve them, you might stop doing the action that caused > the spam. > I don't think there's a

Re: [somewhat OT] Text processing question (sort of)

2008-05-19 Thread jbv
Hi, Finally I implemented the option quoted below... As the content of the data to process are in french, I had to consider more characters (éèê etc) for the letter counts. As data is organized as lines with 3 items in each, I ended up with 4 lines, each featuring also 3 items, each item cont

Re: [somewhat OT] Text processing question (sort of)

2008-05-18 Thread jbv
if anyone is interested, while trying to find the fastest way to compare each line of a list with every other line, I found the following technique quite fast : -- myData contains the 4 lines to chack -- myData1 is a duplicate of myData put myData into myData1 repeat for each line j in myD

[somewhat OT] Text processing question (sort of)

2008-05-18 Thread jbv
Hi list, I've been asked to do some "cleaning" in a client's data, and am trying to figure out some simple and fast algorithm to do the job in Rev, but haven't got much success so far... Here's the problem : the data consists in a collection of quotations by various writers, politicians, etc. The

regex question

2008-05-18 Thread jbv
Hi list, Does anyone have a regex to remove any text between parenthesis (including the parenthesis) ? I've tried many options, but none seems to work perfectly... For instance : "\(\)"removes only parenthesis with no text inside I've also tried this : "\([a-z 0-9 ]+\)", but no luck... Tha

Re: One more question about Rev cgi & binary data

2008-04-27 Thread jbv
Dave, Thanks for the code; I'll try that as well, although the problem is not to parse data from multipart encoded forms, but to keep binary data consistent inside Rev variables... I'm probably doing something wrong, but as soon as I use "line" or "lineoffset" in a script, or even try to count t

Re: One more question about Rev cgi & binary data

2008-04-26 Thread jbv
takes only a few minutes to convert from text to stack. > > Best, > Richard > > On Apr 26, 2008, at 12:56 PM, jbv wrote: > > > > > > > Richard, > > > > Thank for the script, but your method implies the use of a cgi > > stack... what if a plain

Re: One more question about Rev cgi & binary data

2008-04-26 Thread jbv
Richard, Thank for the script, but your method implies the use of a cgi stack... what if a plain text script is used ? Actually, I'm looking towards a php solution right now... Best, JB > JB, > > Here's the solution which works for me. I know it seems a bit > bizarre. It took many attempts to

Re: One more question about Rev cgi & binary data

2008-04-25 Thread jbv
Mark , > JB, you may need to base64 encode the binary data. you mean in the html form, before uploading ? JB ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscriptio

One more question about Rev cgi & binary data

2008-04-25 Thread jbv
Hi guys, Has anyone already tried to parse data from a multipart/form-data html form (that contains a type=file element) with Rev cgi ? I've done it successfully in the past with ascii data, but now I'm trying to post jpeg data along with other parameters (height & with of the pic, session #...) i

Re: [slightly OT] XML & special character question

2008-04-18 Thread jbv
Colin Holgate a *crit : > The normal solution is to write it as & > that's what I do for names (and it works), but for http links, no luck... JB ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsu

[slightly OT] XML & special character question

2008-04-18 Thread jbv
Hi list, How do you guys handle the "&" character in xml ? Actually I need to pass html links as node values in xml (from a rev cgi script to the browser) and those links contain "&"... I managed to solve the problem with "&" inside names (smith & weston) but as for html links, no luck... it just

Re: [somewhat OT] dumb html / cgi question

2008-04-13 Thread jbv
Björnke Thanks for the reply, but I don't think it answers my question... I know what anchors are and how they work, but my problem remains : how to specify an anchor when the url of my page is : http://www.myDomain.com/myPage.cgi?a=1&b=2 IOW how to have this page opened straight to a specif

[somewhat OT] dumb html / cgi question

2008-04-13 Thread jbv
Hi list, In html, anchors are used to lead endusers to specific sections of webpages. Anchors are included in tags and added to the link in the form : http://www.myDomain.com/myPage.html#anchor-name But what if the html content is generated by a cgi script ? The only way I can see to lead us

Re: how to work with binary data inside a Rev cgi script ?

2008-04-08 Thread jbv
ssary processing in php, but that's a bit frustrating... > What do you mean by "handle"? What is it you need to do with the > binary data? > > Best, > > Mark > > On 7 Apr 2008, at 20:21, jbv wrote: > > > although I'm still not > > sure how

Re: how to work with binary data inside a Rev cgi script ?

2008-04-07 Thread jbv
Hi again, For those interested (if any), I finally succeeded in merging pdf code from a Rev cgi with binary pdf code from a php script... Actually, I used a tradeoff : I modified the php code so that the binary code doesn't need any further processing when imported inside the cgi script. It works

Re: how to work with binary data inside a Rev cgi script ?

2008-04-07 Thread jbv
Björnke, The way I merge (or try to merge) the date from the cgi and the php is pretty straightforward : I have a file that contains some pdf code and a few keywords. Some keywords are replaced with pdf code generated inside the cgi, and some other keywords are replaced by code generated by the ph

how to work with binary data inside a Rev cgi script ?

2008-04-07 Thread jbv
Hi folks, I'm trying to insert binary data (generated by a php script via a shell call) on the fly into some other data generated by my Rev cgi script to form a pdf file. I'm 100% sure that the binary data from php isn't corrupted, but once it gets inserted in the other data, then I get an error

Re: Rev cgi question

2008-04-02 Thread jbv
Richard , I have done that dozens of time, mostly on linux & windoze servers... So I'm not sure about OSX settings, but one thing I'd check first is the spelling of the folder's name... it might sound silly, but many times I have been blocked by spelling problems (or case sensitive spelling) whe

Somewhat [OT] : cgi, XML and Excel files

2008-03-30 Thread jbv
Hi folks, I've just finished a Rev cgi script that outputs sophisticated Excel files (with layout, styles and stuff) using the MS XML format. On my Mac and my PC everything works fine, but I'm using openOffice instead of excel. I've asked a few potential users to test it, and some of them meet var

Re: CGI-Scale photos without GUI

2008-03-25 Thread jbv
Josh, That's what I mentioned in my previous post : those libs can be used via dhell calls... JB > There are image processing libraries, like ImageMagick and GD, that > can live on a Linux server, and it probably wouldn't be too hard for a > genius like André or others to figure out how to pa

Re: CGI-Scale photos without GUI

2008-03-24 Thread jbv
Sivakatirswami, I'm about to do something similar with Rev cgi, and am planing to use a php graphic lib via shell calls.. JB > I would be interested in a runtime web app that takes incoming hi res > photos and generates a small version. Does anyone know if references > like the following will

Re: OOP in Rev...

2008-03-19 Thread jbv
Len Morgan a *crit : > > I suppose this could be done with a group (just about all of the > required pieces are there and could be manipulated with xTalk) but I > don't know of an easy way to store that "object" in such a way that I > could drop it on to a card. Perhaps a future enhancement mig

Re: Learn Guitar in 1 Day

2008-03-15 Thread jbv
Bill Marriott a *crit : > The members of this segment are "casual programmers" for whom coding is not > a primary job responsibility. They are enterpreneurs, consultants, managers, > teachers, scientists, and creative people. Nevertheless they recognize the > value of being able to streamline bu

Re: Learn Programming in 1 Day

2008-03-15 Thread jbv
actually we understand it too well : like a headline or advertising, it deals with the positionning of a product among the community of experienced users and newbies as well... And like an ad that misses its target, it might keep newbies away (because they'll realize it's still about programming)

Re: Learn Programming in 1 Day

2008-03-15 Thread jbv
Richmond, sorry to be so abrasive, but IMHO none of these titles makes any sense... The 1st one has been already discussed. As for the 2nd one, what exactly is a "functioning Program" ? put 1 + 1 into a is a functionning program, as well as echo "hello world"; and both can be built in a

Re: Learn Programming in 1 Day

2008-03-14 Thread jbv
"Marian Petrides, MD" a *crit : > Now, I'm planning on > attending the full conference + pre conference and what about post - conference ? sorry... couldn't resist... JB ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit t

Re: Learn Programming in 1 Day

2008-03-14 Thread jbv
Richard Gaskin a *crit : > > But my first experience with an xTalk (after deciding computers were > boring back in high school from having learned BASIC on a Wang) was the > exhilarating feeling that comes with making a button and scripting simply: > >on mouseUp > go next >end mouse

Re: Learn Programming in 1 Day

2008-03-14 Thread jbv
Heather, > > JB: I imagine you could probably learn quite a bit of Flash in one > day. Since Rev is enormously better than Flash*** its certainly > possible to learn to do useful work with it in one day. I've been using Xtalk since 1987 and still discover tricks and new & more efficient ways to

Re: Learn Programming in 1 Day

2008-03-14 Thread jbv
"Petrides, M.D. Marian" a *crit : > I realize these comments are intended primarily as humor. are they really ? I for one have about 30 years of experience as a programmer, and have used about 20 different languages, including such weird things as uP / uC assembler or MIDI programming language

Re: Learn Programming in 1 Day

2008-03-14 Thread jbv
Depends on what you mean by "programming"... I've often met graphic designers using Flash who write scripts with a complexity equivalent to "go prev / go next", or who copy/paste some scripts they grabbed on the web and in which they change 1 or 2 parameters, and then claim to be "graphic designers

Re: Extracting pitch information from sound files

2008-03-07 Thread jbv
David, I'm not sure pitch analyzis is a job for Rev... At least Rev can be used to build a front-end for data display, but for sound analyzis per se, you'll be more comfortable with software built for that purpose : just off the top of my head : some Csound functions or various phase vocoders (s

Re: Anyone interested in learning more about Rev on Rockets?

2008-02-21 Thread jbv
Chipp, > > So, if you're interested, holler at me or Andre, or just respond here. If > there are enough folks, we'll create a few free ROR tutes. Just let us know! of course I am interested, although I've got accustomed to my own Revcgi development tools I've developped over the years... I've h

Re: Rev & php script question

2008-02-15 Thread jbv
Andres, I already tried : same problem. Thanks anyway. > Hello JB > > I use "print" instead of "echo" and it works fine. > > Please try it. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscri

Rev & php script question

2008-02-15 Thread jbv
Hi there, I'm using "post myvar to url "" in a stack to access data stored in mysql via a php script. The php script ends with "echo $myvar;" and the strange thing is that it returns 2 empty lines before the value of $myvar ONLY when I access mysql in the script... when I post a similar conten

[OT] Rev cgi vs php - another (practical) question

2008-02-11 Thread jbv
Hi list, I'm in the process of translating a few Rev cgi scripts into php. In those Rev scripts, I'm using a very handy feature : some data is structured as lines of items and store as such in mySQL cells configured as "text" for further processing.. I was wondering how to implement something sim

slightly [OT] : online DB protection question

2008-02-11 Thread jbv
Hi list, I'm working on a promotional online B-to-B web game for a client, using Rev as cgi engine. In a few words here's how it works : players have to register first and then need to find several clues in successive images. Finding those clues is pretty easy and we expect the number of winners t

Re: Rev cgi vs. php

2008-01-30 Thread jbv
Hi, > What advantages does Rev cgi have over PHP? Since I know Rev and > don't know PHP, it certainly has advantages for me. But how might I > argue this point to others who are familiar with PHP but not Rev? > Rev cgi is perfect for web sites with low traffic but with complex things to do for e

Re: Testing conformity of xml data

2008-01-27 Thread jbv
Andre, Thanks a lot for the cool tip. However, one detail I forgot to mention in my previous post : my Rev cgi script will run on a win 2K server... JB > Jbv, > > check "tidy" unix program. Tidy is a popular unix tool that every host > out there will have installed. Eve

Re: another question about finding duplicates

2008-01-27 Thread jbv
Peter, I've tried that approach and found that in case of huge amount of data, it can beslower (because of the sort function) that the method posted before, the one including 2 loops and the use of arrays. JB > There's a file which goes roughly: > > 1 anything > 2 anything > 3

Testing conformity of xml data

2008-01-27 Thread jbv
Hi folks, Is there a function somewhere that could help me test conformity of xml data (basically finding and removing unclosed tags, or tags being closed without being opened) by a Rev cgi script before it's sent back to the end-user browser for heavy xml processing via js functions ? I'm using R

Re: [semi OT] encryption of pdf files

2008-01-10 Thread jbv
François, > > > Hi from Paris > > Acrobat (the application, not the reader) offers three levels of > protection by encryption+password > 1) permission to open > 2) permission to open and to print > 3) permission to open, print and modify in Acrobat > I guess what you need is option 2 yep... but i

[semi OT] encryption of pdf files

2008-01-10 Thread jbv
Hi list, I have several Rev cgi scripts that output pdf files with sophisticated layout and sensible content. I'm using my own libraries to build those pdf files. I was wondering if anyone had already tried to encrypt such homemade files so that users can still open them with Acrobat, but can't e

Re: Finding duplicates in a list

2008-01-09 Thread jbv
Hi, the following runs in 105 msec on my old G3 300 Mhz Mac, and must be pretty fast on the latest machines... It finds 442 duplicates. JB on mouseUp set cursor to watch lock screen put fld 1 into a-- fld 1 contains the 8708 lines of your list put "" into T put the milliseconds i

more Rev cgi headaches on Linux server

2007-12-05 Thread jbv
Hi list, Again fighting with Rev cgi problems... my ISP needs to know how to modify Apache settings on a Linux server to allow Rev cgi to launch... so far, every attempt to launch the engine fails because of some missing libraries, but I have the same engine running ok on some other Linux servers.

Re: Rev and video compression

2007-11-26 Thread jbv
Jack, it's probably me who was not clear : basically, the idea is to have a small app available for download on a webpage, and with that app, users (no matter which platform they use, Win, Mac of Linux) should be able to upload their won video files to a server, and the app should be able to aut

Re: Rev and video compression

2007-11-26 Thread jbv
Jack, Thanks for the reply. I guess it means that the solution works only with QT installed on the user's computer... which isn't always the case when the goal to achieve is to offer a small app to download from a website... Any other solution ? Thanks, JB > Yes. We convert clips from iMovie

Rev and video compression

2007-11-26 Thread jbv
Hi list, Has anyone tried to access QT (or any other) codecs to compress video files on the fly with Rev before uploading the compressed file to a server ? Thanks, JB ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url

Re: Rev cgi on Win 2K server, anyone ?

2007-11-10 Thread jbv
bs were included in the engine, at least for Linux... but I don't know if that's also valid for windows versions... Thanks, JB > jbv- > > Thursday, November 8, 2007, 1:28:54 PM, you wrote: > > > I did that, but no luck. my scripts keep crashing with revdb commands. >

Re: Rev cgi on Win 2K server, anyone ?

2007-11-08 Thread jbv
Mark, > > My guess is that you need revdb.dll installed along with the rev engine. > It's a separate file and not part of the engine itself, so if you haven't > put it on the win server the database calls aren't going to work. I did that, but no luck. my scripts keep crashing with revdb command

Re: Rev cgi on Win 2K server, anyone ?

2007-11-07 Thread jbv
Mark , Thanks again for kindly answering my post. actually I have good news : I now have Rev cgi running on my client's Win 2003 server !!! I pointed the guy in charge of the server to your earlier post from 18 months ago, and 20 mins later the thing was up and running ! those young guys can b

Re: Rev cgi on Win 2K server, anyone ?

2007-11-07 Thread jbv
Andre, thanks for the offer, but I've also been using rev cgi on Linux since 2001 (MC cgi actually)... but this is the first time on a windows server... JB > Hey JBV, > > I don't do windows, but if you ever get this running, I can try to > help with the cgi part... I be

Re: Rev cgi on Win 2K server, anyone ?

2007-11-07 Thread jbv
Mark, thanks for the reply. > jbv- > > Monday, November 5, 2007, 2:34:28 PM, you wrote: > > > I've found some advices / tutorials in the list archives, but most > > of them are at least 18 months old... > > Hmmm... 18 months sounds like you're looking a

where to download an old Rev cgi engine for Windows ?

2007-11-06 Thread jbv
Hi, Does anyone know where to download an old Rev cgi engine for Windows (like 2.5) ? thanks, JB ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

Rev cgi on Win 2K server, anyone ?

2007-11-05 Thread jbv
Hi list, I need to install Rev cgi on a Win 2003 server, with connections to mySQL 5+. I'm doing this because I want to reuse some older scripts and lack the time (and motivation) to rewrite everything in php. I've found some advices / tutorials in the list archives, but most of them are at least

The formattedwidth and italic fonts

2007-10-30 Thread jbv
Hi list, the following command : set width of fld 1 to the formattedwidth of fld 1 truncates a few pixels on the right when the font is italic... Is there a way to bypass this problem ? I'm using Rev 2.5 on Mac Classic, and need to know precisely the width of large characters (100 pixels s

Rev cgi 2.5 on Linux Ubuntu 7.04 ?

2007-10-26 Thread jbv
Hi list, Is anyone using Rev cgi 2.5 (or other) on Linux server with Ubuntu 7.04 ? Any specific thing to know or to take care of ? I'm asking because so far I've only used it on RedHat... Thanks, JB ___ use-revolution mailing list use-revolution@lists.

Re: Faking A Real Table Object

2007-10-22 Thread jbv
Len , just curious : why faking a table object ? Why not use a "real" table object instead ? JB > I'm trying to create a group that will act like a "real" table object > should. In other words, I want to be able to align each column > individually. > > I've created 5 fields each the width nee

Re: Rawkeydown and the mouse wheel

2007-09-29 Thread jbv
Hi list, are the rawkeydown key codes 65308 / 65309 similar on Mac and XP ? (I don't have any mousewheel to test on Mac). Thanks, JB ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and ma

Re: cgi + mySQL "revdberr,invalid database type"

2007-09-28 Thread jbv
Claude, you need to install the Rev mySQL drivers along with the cgi engine. JB > I have on a linux web server a MySQL database created and managed from my > desktop Windows computer by a Revolution stack (Vista + revolution/windows > 2.81) ; it works ok. > > On the same web server i installed

Re: Why isn't this a date?

2007-09-24 Thread jbv
Mikey, I just made the test with Rev 2.5 on XP and in both cases I get true. did you check the dateformat ? JB > If I > put "07/01/77" into thisCrap > put thisCrap is a date > > I get false > > put "07/01/1977" into thisCrap > put thisCrap is a date > > I get false > > Indeed there are no dat

Re: strange nested groups behaviour

2007-09-11 Thread jbv
Mark, I'm aware of that and usually name my objects with french words. In my previous posts I used "date" and "day" for the only purpose of my demonstration for an english-speaking audience. Best, JB > jbv- > > In addition to the above weirdnesses with

Re: strange nested groups behaviour

2007-09-10 Thread jbv
Jan, it's me again... I'm afraid your solution doesn't work with more than 2 levels of nested groups with similar names > > The solution is to work with the long ID of the object > itself. The long ID of the owner is then word 4 to -1 > of this long ID. > This trick resolves the name ambigu

Re: strange nested groups behaviour

2007-09-10 Thread jbv
Jan, Nevertheless I think it can be considered as a bug, or at least as a serious limitation of the engine. The Rev doc for "owner" says "Reports which object is next in the object hierarchy", and since xml is now widespread, one can expect "owner" to behave somehow like "parentNode"... JB >

Re: strange nested groups behaviour

2007-09-10 Thread jbv
well, I just found the explanation. "the owner of me" returns "group date" (for instance), and since each of my groups "search" contains the same kind of objects with the same names, Rev checks some lookup table for a group "date" and the first one it finds is group "date" in group "search1"... I'

strange nested groups behaviour

2007-09-10 Thread jbv
Hi list, I'm facing a strange behaviour regarding nested groups. I have a substack that contains 12 groups named "search1" to "search12". Each group contains various objects (exactly the same kind of objects in the same order with the same names), among which is a group "date" that contains 3 fie

Rev cgi, PHP & XML

2007-08-22 Thread jbv
Hi folks, It's me again with another weird question... this time for php experts... I have a Rev cgi script that returns some xml data to a client browser. In order to speed up downloading, I'm trying to compress the data using gzip via some php functions (such as gzencode or gzcompress). I had t

[sightly OT] XMLhttprequest + Rev cgi problem : xml data truncated

2007-08-21 Thread jbv
Hi folks, I'm trying to work with XMLhttprequest and Rev cgi and am encountering a problem : the response from the cgi script is truncated on the browser client side when its length > 50 Kb... I know that my code is 100% correct (both on server and client sides) since everything works fine as lon

Re: revdb_execute problem

2007-08-17 Thread jbv
Ken , > > > I'm trying to squeeze more than one SQL commands into 1 single > > revdb_execute request in a Rev cgi script. > > I've never done that, but I would assume that revdb_execute is limited > to only one command because it needs to return a result back to Rev; if > it could support more t

revdb_execute problem

2007-08-17 Thread jbv
Hi list, I'm trying to squeeze more than one SQL commands into 1 single revdb_execute request in a Rev cgi script. For instance : UPDATE myTable SET N = N + 1 WHERE id = 1 LIMIT 1 ; UPDATE myTable SET N = N + 1 WHERE id = 2 LIMIT 1 ; I've tried all possible ways, like this one : put "UPD

Re: Standalones as CGI

2007-08-15 Thread jbv
Jan, > > Apart from the obvious one: I can make those things in > Rev already, I don't know PHP and don't want to learn > something that looks like C ? with the librairies I had in mind, you don't need to know anything about php : you just install the php files on your server, and call various

  1   2   3   4   5   6   7   >