liburl cgi linux

Dave Cragg dcragg at lacscentre.co.uk
Tue Feb 7 04:57:36 EST 2006


On 7 Feb 2006, at 04:13, Thomas McCarthy wrote:

>
> I'm running rev's Linux engine on my ISP.
> Is there a problem with the POST command?

I'm assuming you want to post *from* the cgi (and not to it).

In that case, you'll need to have the libUrl library loaded somehow.

 From the archives:

>
> Create a new mainstack and name it myLibUrl (or whatever) and save  
> it as myLibUrl.rev.
>
> In a button, put the following script (take care of wrapping in mail):
>
> on mouseUp
> set the script of stack "myLibUrl" to the script of button  
> "revlibUrl" \
> of stack "revLibrary"
> set the customproperties of stack "myLibUrl" to the customproperties \
> of button "revlibUrl" of stack "revLibrary"
> set the customProperties["cFtpGoodCodes"] of stack "myLibUrl" to \
> the customProperties["cFtpGoodCodes"] \
> of button "revlibUrl" of stack "revLibrary"
> save stack "myLibUrl"
> end mouseUp
>
> I've never done the next bit, but I understand it works. (Someone  
> please tell us if I'm wrong.)
>
> Place the myLibUrl stack in the same location as your cgi script.  
> Near the top of your cgi script, put the line:
>
> start using stack "myLibUrl.rev"

Cheers
Dave



More information about the use-livecode mailing list