Re: rev cgi - put url & read from

2008-09-20 Thread Dave Cragg
On 20 Sep 2008, at 05:32, Jim Sims wrote: I have a rev stack used as cgi and where put url worked on my Leopard webserver it doesn't on jaguarpc. So, I changed to open file - read from - close file. I'm surprised by this. (Not doubting you. :-)) But I've never come across

Re: rev cgi - put url & read from

2008-09-20 Thread Mark Schonewille
http://economy-x-talk.com http://www.salery.biz Dutch forum: http://runrev.info/rrforum/ Benefit from our inexpensive hosting services. See http://economy-x-talk.com/server.html for more info. On 20 sep 2008, at 06:32, Jim Sims wrote: I've switched my rev cgi from my local Leopard webserver

rev cgi - put url & read from

2008-09-19 Thread Jim Sims
I've switched my rev cgi from my local Leopard webserver test area to jaguarpc and it seems that I must change some code. I have a rev stack used as cgi and where put url worked on my Leopard webserver it doesn't on jaguarpc. So, I changed to open file - read from - close file. M

Re: OS X Rev CGI engine failure

2008-09-19 Thread J. Landman Gay
es 2.9 now that I tried it again. So Tiger is out, and Leopard is in, if you are working with CGI on OS X. -- Jacqueline Landman Gay | [EMAIL PROTECTED] HyperActive Software | http://www.hyperactivesw.com ___ use-revolution ma

Re: OS X Rev CGI engine failure

2008-09-19 Thread J. Landman Gay
ersions of 10.3 and downwards anymore, so I can't test against them. Now is your cgi software supposed to run on macs? Because you're fine on linux. And not one dares cgis on windows anyway, too weird. So it appears that your only problem is mac os x tiger. If you're not using a

Re: OS X Rev CGI engine failure

2008-09-19 Thread Andre Garzia
wnwards anymore, so I can't test against them. Now is your cgi software supposed to run on macs? Because you're fine on linux. And not one dares cgis on windows anyway, too weird. So it appears that your only problem is mac os x tiger. If you're not using any of the 3.0 goodies, you

Re: OS X Rev CGI engine failure

2008-09-19 Thread J. Landman Gay
Andre Garzia wrote: Hum strange. Jacque, care to try a simple hello world with that engine? There are commands that are not available to the command line engine Already tried that with the standard "echo.mt" script. It fails with the same error. Any script I try won't even start up, it fa

Re: OS X Rev CGI engine failure

2008-09-19 Thread J. Landman Gay
as cgi, apache runs the cgi as user nobody (or a similar underpowered foe). This is for security reasons as you don't want your cgi to have administrator privileges. I just did a test and set the rev engine permissions to: -rwxrwxrwx Now anyone can do anything with it. But I get the

Re: OS X Rev CGI engine failure

2008-09-19 Thread Andre Garzia
Hum strange. Jacque, care to try a simple hello world with that engine? There are commands that are not available to the command line engine, I think I remember from your original email you were trying some get url command inside the cgi, well, there's no libURL in cgis... Let us tr

Re: OS X Rev CGI engine failure

2008-09-19 Thread J. Landman Gay
Jim Ault wrote: What version of OSX are you running? If you upgraded to Leopard from Tiger, there are a few issues with the new Apache file paths.. easy to fix, but you need to know which things to do. I'm testing on Tiger, but I have a Leopard machine I could try. I just haven't got to that y

Re: OS X Rev CGI engine failure

2008-09-19 Thread J. Landman Gay
Andre Garzia wrote: First Solution - or, you have the wrong engine - Copy the engine from the Standalone.app in the Runtime folder of 3.0-gm-* Thats the correct CGI engine. I think you copied the one from Revolution.app. I just tried the engine from 3.0-gm-3 here and it works fine as a CGI. You

Re: OS X Rev CGI engine failure

2008-09-19 Thread Andre Garzia
Hello Jacque, In MacOS X only the logged user has permission to connect to the windowing server (layer), so when you run your script from the terminal, it runs as the logged user, thus, revolution engine is able to connect to the GUI layer and is pretty happy. When you run as cgi, apache runs the

Re: OS X Rev CGI engine failure

2008-09-19 Thread Jim Ault
, and runs as a separate web server on your localhost. Drag MAMP to the trash and its entire environment is gone. (Inside the MAMP folder is the htdocs/ root folder for your html docs, and a cgi-bin for your Rev cgi. The port you will need to use is ) This can be turned off and on from the

OS X Rev CGI engine failure

2008-09-18 Thread J. Landman Gay
I'm trying to do some CGI testing on my OS X machine locally. For ages I've been using an old copy of MetaCard locally but I just tried Rev (both 2.9.1 and 3.0). I can't get the it to run. The script, permissions, etc. are correct. The Rev engine is the Runtime/Standalone eng

Re: Rev CGI delete rows with selected checkboxes

2008-09-14 Thread Jim Sims
On Sep 14, 2008, at 9:00 PM, Jim Sims wrote: I'm playing with Rev CGI, creating membership forms with name-email- tele-etc. Rev writes to a master list (a text file on the server) and saves the data in a tab delimited list. Never mind ;-) Got it figured it out now.

Rev CGI delete rows with selected checkboxes

2008-09-14 Thread Jim Sims
I'm playing with Rev CGI, creating membership forms with name-email- tele-etc. Rev writes to a master list (a text file on the server) and saves the data in a tab delimited list. Each has an individual ID number and I include that in the value of a checkbox that I want to use to d

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

Re: Rev CGI testing on MAMP setup

2008-09-10 Thread Neal Campbell
l <[EMAIL PROTECTED]> wrote: >> Where do I stick the rev standalone in the MAMP folder? Should it go in >> CGI-BIN? > > Yes, the cgi-bin folder inside the MAMP folder. > > Cheers, > Sarah > ___ > use-revolution mailing list

Re: Rev CGI testing on MAMP setup

2008-09-10 Thread Sarah Reichelt
On Thu, Sep 11, 2008 at 6:13 AM, Neal Campbell <[EMAIL PROTECTED]> wrote: > Where do I stick the rev standalone in the MAMP folder? Should it go in > CGI-BIN? Yes, the cgi-bin folder inside the MAMP folder. Cheers, Sarah ___ use-revolu

Rev CGI testing on MAMP setup

2008-09-10 Thread Neal Campbell
Where do I stick the rev standalone in the MAMP folder? Should it go in CGI-BIN? Thanks Neal -- Neal Campbell Abroham Neal Software Programming Services for Windows, OS X and Linux (540) 242 0911 - Try Spot for OS X, the

Re: download limits - Rev CGI?

2008-09-08 Thread Jim Sims
Major (International star of stage & screen) wrote: In that case you will have to script your CGI script to return that namely file and you will have to: put url "http://www.somebody.com/ cgi_that_delivers_the_file_hamburger" into whatever and check "$QUERY_STRING" in y

Re: download limits - Rev CGI?

2008-09-08 Thread Jim Ault
Yes, this is possible and a typical use of a web server. Using PHP, this is the same as a visitor counter where the value is written to a text file. A Rev-cgi can do the same thing. Even better for you might be that each download is written to a log file showing details you would like to keep

Re: download limits - Rev CGI?

2008-09-08 Thread Klaus Major
t the file, anyone that tries after that would be told "Sorry, snooze and you lose". I might want to be able to set up many such limited situations at the same time (different files available for different groups). I've not done any Rev CGI 'stuff', is this the sort of th

Re: download limits - Rev CGI?

2008-09-08 Thread Klaus Major
le, anyone that tries after that would be told "Sorry, snooze and you lose". I might want to be able to set up many such limited situations at the same time (different files available for different groups). I've not done any Rev CGI 'stuff', is this the sort of thing that co

download limits - Rev CGI?

2008-09-08 Thread Jim Sims
that tries after that would be told "Sorry, snooze and you lose". I might want to be able to set up many such limited situations at the same time (different files available for different groups). I've not done any Rev CGI 'stuff', is this the sort of thing tha

Re: protected file access by CGI script

2008-08-14 Thread Phil Davis
il Mark Schonewille wrote: Hi Phil, Assuming that your CGI script and the stack are on the same server, I don't think that your CGI script needs a password and user name to read any other file on the server. It should work without user name and password. The script is in an unprot

Re: protected file access by CGI script

2008-08-14 Thread Jim Ault
Step 1 for me would be to check the file format = legacy, since the cgi engine is not recent Step 2 Try using a simple text files (actually a group of text files) having different protection settings (read access) This should give you the clues you need to go forward. On 8/14/08 2:19 PM

Re: protected file access by CGI script

2008-08-14 Thread Brian Yennie
ername/my.domain.com/lockedFolder/ test1.rev" ? HTH Mark Schonewille wrote: Hi Phil, Assuming that your CGI script and the stack are on the same server, I don't think that your CGI script needs a password and user name to read any other file on the server. It should work without user n

Re: protected file access by CGI script

2008-08-14 Thread Andre Garzia
t;) :-D Andre On Thu, Aug 14, 2008 at 7:40 PM, Phil Davis <[EMAIL PROTECTED]> wrote: > Mark Schonewille wrote: >> >> Hi Phil, >> >> Assuming that your CGI script and the stack are on the same server, I >> don't think that your CGI script needs a pass

Re: protected file access by CGI script

2008-08-14 Thread Phil Davis
Mark Schonewille wrote: Hi Phil, Assuming that your CGI script and the stack are on the same server, I don't think that your CGI script needs a password and user name to read any other file on the server. It should work without user name and password. The script is in an unprot

Re: protected file access by CGI script

2008-08-14 Thread Mark Schonewille
Hi Phil, Assuming that your CGI script and the stack are on the same server, I don't think that your CGI script needs a password and user name to read any other file on the server. It should work without user name and password. If you really want to check some password, include it as

protected file access by CGI script

2008-08-14 Thread Phil Davis
How would one 'go to' a stack that lives in a .htpasswd protected directory? On a web server, I have a CGI script that wants to use a stack that's in a protected directory. When I try the URL form of 'go' as follows, I get a result of 'no such card':

Re: Rev CGI scripts

2008-08-11 Thread Sarah Reichelt
Thanks Andre - it worked :-) On Tue, Aug 12, 2008 at 12:38 PM, Andre Garzia <[EMAIL PROTECTED]> wrote: > Sarah, > > it should work with no problem! > > andre > > On Mon, Aug 11, 2008 at 11:33 PM, Sarah Reichelt > <[EMAIL PROTECTED]> wrote: >> On Tue, Aug 12, 2008 at 12:22 PM, Andre Garzia <[EMAIL

Re: Rev CGI scripts

2008-08-11 Thread Jim Ault
ToUseAndSendPage.rev" or an exe saved as "sendPage.exe" and in every case the URL in the browser must specify the location of the file relative to the cgi-bin folder. If no folder is specified, then the default folder is the cgi-bin folder. If a path to a script is specified, the

Re: Rev CGI scripts

2008-08-11 Thread Andre Garzia
Sarah, it should work with no problem! andre On Mon, Aug 11, 2008 at 11:33 PM, Sarah Reichelt <[EMAIL PROTECTED]> wrote: > On Tue, Aug 12, 2008 at 12:22 PM, Andre Garzia <[EMAIL PROTECTED]> wrote: >> Sarah, >> >> instead of linking with URLs like >> >> http://192.168.0.123:/folder/file.txt";

Re: Rev CGI scripts

2008-08-11 Thread Sarah Reichelt
On Tue, Aug 12, 2008 at 12:22 PM, Andre Garzia <[EMAIL PROTECTED]> wrote: > Sarah, > > instead of linking with URLs like > > http://192.168.0.123:/folder/file.txt";> > > why don't you use root relative paths without the server, like: > > > > if so, the server part will be assumed to be the sam

Re: Rev CGI scripts

2008-08-11 Thread Andre Garzia
arah Reichelt <[EMAIL PROTECTED]> wrote: > Hi All, > > I'm writing a Rev-based CGI stack and one of it's functions is to > return a web page containing a set of links that the CGI stack has > generated. > This web page is not saved anywhere, it just gets sent back to

Rev CGI scripts

2008-08-11 Thread Sarah Reichelt
Hi All, I'm writing a Rev-based CGI stack and one of it's functions is to return a web page containing a set of links that the CGI stack has generated. This web page is not saved anywhere, it just gets sent back to the calling browser, so the links in it need to be absolute links, no

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

2008-08-07 Thread Alex Shaw
Hi I agree but I have had past problems using "sendmail" (particularly with attachments) on some web servers. The solution that's worked best for me is LibCGI and Shao Sean's libSMTP & libEmailEncode. All in rev :) regards alex Andre Garzia wrote: Folks, using

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

2008-08-04 Thread Andre Garzia
Folks, using smtp routines from a cgi is not the best solution. If the server blocks, you end up eating server resources and many hosts will not allow your cgi to open sockets to outside servers. RevOnRockets has a library called RocketsSendmail that wraps around the sendmail common unix tool to

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

2008-08-04 Thread Mark Smith
http://economy-x- talk.com/server.html for more info. On 4 aug 2008, at 18:14, Mark Smith wrote: I'd also point out that it should also be possible to a) send the mail directly from the student to the teacher and b) use a rev CGI on the server without a php s

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

2008-08-04 Thread Mark Schonewille
z Benefit from our inexpensive hosting services. See http://economy-x-talk.com/server.html for more info. On 4 aug 2008, at 18:14, Mark Smith wrote: I'd also point out that it should also be possible to a) send the mail directly from the student to the teacher and b) use a rev CGI

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

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

2008-08-04 Thread Mark Smith
I'd also point out that it should also be possible to a) send the mail directly from the student to the teacher and b) use a rev CGI on the server without a php script. Best, Mark On 4 Aug 2008, at 17:06, Eric Chatonet wrote: Bonsoir John, I remember a project I made three year

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

2008-08-04 Thread Eric Chatonet
Bonsoir John, I remember a project I made three years ago that allowed the desktop based user to send an email to an author (the project was kind of eBook). I used directly a php script on the server, passing the data and the address without having to set up any Rev CGI. For security

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

2008-08-04 Thread John Patten
teacher's email address to send to. I was wondering if I could post the teacher's email address and the student project data to a rev cgi project on the server, and then have the rev cgi project, on the fly, create the mail.php file with the correct email address and email the st

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

[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

Re: Using Rev CGI for Giant POST action

2008-07-06 Thread Andre Garzia
your best bet for large file uploades. I don't know how these flash uploaders save the file. I know that using plain old Revolution CGI, you'll need a mime decoder and you'll not be able to track the upload while it is going. Andre On Sun, Jul 6, 2008 at 12:19 AM, Sivakatirswami &l

Re: Using Rev CGI for Giant POST action

2008-07-05 Thread Jim Ault
I know little about the CGI, but file uploading is part of the world-wide standard for HTML. No need for javascript or other server technology. This, however, may not address all your security concerns without going to HTTPS, or other. Go to w3schools.com and check out their HTML lessons Hope

Using Rev CGI for Giant POST action

2008-07-05 Thread Sivakatirswami
We want to set up a protected web page where users can browse their drive for a movie file(s) and upload via http. Like YouTube does it. I presume this is just POST with a CGI on the back end that is robust enough to receive it. Right now the only CGI language that I know is Revolution. Easy

Re: Help with basic CGI project?

2008-06-23 Thread Sadhunathan Nadesan
| J. Landman Gay wrote: | I think you can place the file wherever you like. The engine is secure | when used as a cgi, provided your scripts don't do anything to breach | that security. Here is a repost of a similar question and the reply from | Scott Raney, back when the engine was

Re: Help with basic CGI project?

2008-06-22 Thread J. Landman Gay
Sadhunathan Nadesan wrote: What if you want to create a file that is more permanent in nature, that can be overwritten by a CGI, and that can be accessed by anyone? Will this raise cries of security hole, red flag, dangerous no-no? Solution?: Is there a security guide to creating such a

Re: Help with basic CGI project?

2008-06-20 Thread Sadhunathan Nadesan
good place to put a file that has to be accessed by both the CGI and other folks. Problem: On the other hand, sometimes CGI scripts are restricted from writing outside of their docroot space. Also, anything in /tmp is going to dissapear eventually on most systems. What if you want to creat

Re: Help with basic CGI project?

2008-06-19 Thread J. Landman Gay
Sadhunathan Nadesan wrote: I just ran this CGI: (please pardon the lack of comments, and credits, this was shamefully borrowed a long long time ago) cut here. That should say "shamelessly", grin. And the author was Scott R

Re: Help with basic CGI project?

2008-06-19 Thread Sadhunathan Nadesan
I just ran this CGI: (please pardon the lack of comments, and credits, this was shamefully borrowed a long long time ago) cut here. That should say "shamelessly", grin. And the author was Scott Raney as

Re: Help with basic CGI project?

2008-06-19 Thread Sadhunathan Nadesan
Re: > The cgi does not run as you, it runs as another user ("nobody" I think, > but I'm not certain.) At any rate, the permissions for the stack are set > to only allow you, the admin, to write to the file. You need to change > that to allow

Re: Help with basic CGI project?

2008-06-19 Thread John Patten
Thanks Jacqueline! I did find the solution in a post you had made earlier in the archives a few years back Store your stack, in this case, the data.rev stack, outside of the cgi-bin folder. I did that and everything worked as it should. As I was trouble shooting this, i did remember

Re: Help with basic CGI project?

2008-06-18 Thread J. Landman Gay
John Patten wrote: Couple things I?ve noticed that seem a bit strange. First, if I have multiple ?put? commands pulling text from fields on different cards, the rev cgi only will pull the text from the first card. Not sure why that would be, it should work. You could try adding a "

Help with basic CGI project?

2008-06-18 Thread John Patten
Hi All? I been going round and round with an issue on a very simple cgi exercise. I?m attempting to post data from a web form and store it in a field on a rev stack. Everything appears to work with the exception of saving text to a fld on the rev stack, saving new cards in the rev stack, and

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 i

Re: URL for downloading Mac OS X cgi engine

2008-06-07 Thread Shao Sean
This is the one I use on Mac OS X 10.4.11 PPC and it includes support for MySQL (sample stack included) I believe that the engine is the 2.5 engine, so consider yourself warned in regards to the feature set it has.. http://rapidshare.com/files/120892413/rev_cgi_osx.zip -Sean p.s. a RapidS

URL for downloading Mac OS X cgi engine

2008-06-07 Thread Burrton Woodruff
Folk, All the URLs I've been able to find for the Mac OS X cgi engine are broken. Would one of you kind folk post a working URL. Many thanks. Burrton Woodruff RippleSoft Software [EMAIL PROTECTED] [EMAIL PROTECTED] ___ use-revolution mailing

Re: CGI performance: using mod_cache

2008-06-02 Thread Andre Garzia
David, I am assuming you have a way to tell if the database changed since you last poked into it. Make your cgi generate static pages, this way, and trigger the regeneration of the pages to new data being inserted onto the database, this is quick and easy, everytime you enter new data, the page

CGI performance: using mod_cache

2008-05-31 Thread David Bovill
I'd like to speed up performance of a Rev based CGI by caching the results on the server - however I want to retain the CGI based dynamic behaviour. >From reading around it looks like this is possible, and I think this could be a generally useful hack for Rev based CGI's. AFAIK thi

Re: mysql and cgi, or why the engine outputs: Attempting to load driver: /opt/web/lib/dbdrivers/dbmysql.so ???

2008-05-19 Thread Phil Davis
zia wrote: Aloha Friends, is there any way to prevent the engine from outputing: Attempting to load driver: /opt/web/lib/dbdrivers/dbmysql.so When loading a database in a CGI? This line is disrupting my http headers, can we say to the engine like "keep your voice down while you load y

mysql and cgi, or why the engine outputs: Attempting to load driver: /opt/web/lib/dbdrivers/dbmysql.so ???

2008-05-19 Thread Andre Garzia
Aloha Friends, is there any way to prevent the engine from outputing: Attempting to load driver: /opt/web/lib/dbdrivers/dbmysql.so When loading a database in a CGI? This line is disrupting my http headers, can we say to the engine like "keep your voice down while you load your modules&quo

Re: CGI Setup

2008-05-15 Thread J. Landman Gay
gines don't need a registration code. Just copy the right one to your cgi-bin folder on the server. Sometimes your scripts need to specify -ui in the declaration line, but again, I'm not sure if that is still the case when using the standalone engines. (I really need to get cleared u

Re: CGI Setup

2008-05-15 Thread Andre Garzia
p #2: Copy this engine to your cgi-bin folder and set the permissions on the file to 755. Ready! Pronto! You're good to go. =) After that, you can follow the wonderful CGI tutorial by Jacque and if you're further interested, explore my RevOnRockets package < http://www.andregarzia.com/

Re: CGI Setup

2008-05-15 Thread Nicolas Cueto
one version. As for your registration info, it is not required for running the RunRev engine with cgi scripts. > Do I Have to have some type of > special > access to the server I don't understand "special access" but... Setting up Rev for cgi can be difficult -- Jacque

Re: CGI Setup

2008-05-15 Thread Sarah Reichelt
On Fri, May 16, 2008 at 7:07 AM, Chris Young <[EMAIL PROTECTED]> wrote: > Thank you Sarah, I have seen that. > So if I want to use my Linux server, ( which is hosted > at GoDaddy.com ) > Do I need to download the Linux version of RunRev, > ( does it matter what version? ) and how do I put in

Re: CGI Setup

2008-05-15 Thread Chris Young
ROTECTED]> wrote: > > I'm looking for some help setting up a RunRev CGI. > > > > I have both a windows server and a linux server I > > could use. > > Which ever would be easier or work better. > > > > But I'm not sure what to download and FTP

Re: CGI Setup

2008-05-15 Thread Sarah Reichelt
On Fri, May 16, 2008 at 6:47 AM, Chris Young <[EMAIL PROTECTED]> wrote: > I'm looking for some help setting up a RunRev CGI. > > I have both a windows server and a linux server I > could use. > Which ever would be easier or work better. > > But I'm not

CGI Setup

2008-05-15 Thread Chris Young
I'm looking for some help setting up a RunRev CGI. I have both a windows server and a linux server I could use. Which ever would be easier or work better. But I'm not sure what to download and FTP to the server. Most places explain to download a file but the links all point to a RunRe

Re: One more question about Rev cgi & binary data

2008-04-30 Thread Andre Garzia
Friends, I do have a libCGI that I think is the most recent one somewhere on my drive, I think it is version 1.0.1 or something like it. I´ve took this handler and adapted it to work with Rockets CGI libraries in case anyone is interested. Anyone else interested? Andre -- http

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 Richard Miller
r is base64encoded ? Thanks, JB JB, I've found a stack script more flexible that a text script, and it 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

Re: One more question about Rev cgi & binary data

2008-04-26 Thread J. Landman Gay
Dave Cragg wrote: On 25 Apr 2008, at 21:18, jbv wrote: 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

Re: One more question about Rev cgi & binary data

2008-04-26 Thread Dave Cragg
On 25 Apr 2008, at 21:18, jbv wrote: 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

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 Richard Miller
JB, I've found a stack script more flexible that a text script, and it 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

Re: One more question about Rev cgi & binary data

2008-04-26 Thread Richard Miller
al. It doesn't work otherwise. Field "temp2" is just an empty text field on the cgi stack put pictdata into url PictFile put url PictFile into pictdata put pictdata into fld "temp2" put fld "temp2" into url PictFile The file PictFile will now be

Re: One more question about Rev cgi & binary data

2008-04-25 Thread Mark Smith
I'd think you'd need to base64 encode the data before adding it to the form, but I must admit that I haven't actually done this. Best, Mark On 25 Apr 2008, at 21:35, jbv wrote: Mark , JB, you may need to base64 encode the binary data. you mean in the html form, before uploading ? JB

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

Re: One more question about Rev cgi & binary data

2008-04-25 Thread Mark Smith
JB, you may need to base64 encode the binary data. Best, Mark On 25 Apr 2008, at 21:18, jbv wrote: 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

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 th

Re: [somewhat OT] dumb html / cgi question

2008-04-13 Thread Sarah Reichelt
> 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 specific section of the > html code ? If you

Re: [somewhat OT] dumb html / cgi question

2008-04-13 Thread Martin Baxter
Hi jbv, I see what you mean. I've used the following format: > http://www.myDomain.com/myPage.cgi?a=1&b=2#myanchor Successfully. Martin Baxter jbv wrote: > 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 prob

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

Re: [somewhat OT] dumb html / cgi question

2008-04-13 Thread Björnke von Gierke
generated by a cgi script ? The only way I can see to lead users to a specific section of the page, is to define each section inside a with an ID : and then scroll to that section when the page opens, with a short script on the tag : onload ="window.scrollTo(0,document.getElementById('

Re: [somewhat OT] dumb html / cgi question

2008-04-13 Thread Len Morgan
: 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 le

[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

Re: Rev cgi server and SSL

2008-04-11 Thread Mark Wieder
Richard- Aside from the technical issues, if I were on the customer side of things and in the middle of processing a credit card transaction my browser gave me a security warning, I would immediately abort the process and never go back, resulting in a lost sale for you and your client. -- Ma

Re: Rev cgi server and SSL

2008-04-11 Thread Luis
n 11 Apr 2008, at 08:01, Richard Miller wrote: I have a web page that is secured by an SSL certificate. Users access it by going to "https://mywebpage.html";. This page sends a cgi request (containing credit card information) to my MacMini server, located elsewhere. The server is not S

Re: Rev cgi server and SSL

2008-04-11 Thread Richard Miller
it by going to "https://mywebpage.html";. This page sends a cgi request (containing credit card information) to my MacMini server, located elsewhere. The server is not SSL protected. The credit card data is then processed via a Rev SSL routine to a secure payment gateway, then i

Re: Rev cgi server and SSL

2008-04-11 Thread Luis
access it by going to "https://mywebpage.html";. This page sends a cgi request (containing credit card information) to my MacMini server, located elsewhere. The server is not SSL protected. The credit card data is then processed via a Rev SSL routine to a secure payment gateway,

Re: Rev cgi server and SSL

2008-04-11 Thread Richard Miller
, Luis. On 11 Apr 2008, at 08:01, Richard Miller wrote: I have a web page that is secured by an SSL certificate. Users access it by going to "https://mywebpage.html";. This page sends a cgi request (containing credit card information) to my MacMini server, located elsewhere. The ser

Re: Rev cgi server and SSL

2008-04-11 Thread Luis
and get them to install it in their browsers. Cheers, Luis. On 11 Apr 2008, at 08:01, Richard Miller wrote: I have a web page that is secured by an SSL certificate. Users access it by going to "https://mywebpage.html";. This page sends a cgi request (containing credit card infor

Rev cgi server and SSL

2008-04-11 Thread Richard Miller
I have a web page that is secured by an SSL certificate. Users access it by going to "https://mywebpage.html";. This page sends a cgi request (containing credit card information) to my MacMini server, located elsewhere. The server is not SSL protected. The credit card da

<    1   2   3   4   5   6   7   8   9   10   >