Hi,
how to include the library or libUrlLastRhHeaders liburldownloadtofile the LiveCode server?
can someone explain how to do?
thanx
include the library
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Re: include the library
Hi,
I'm not entirely sure that it will work, but you can try to copy the button libUrl of stack revLibrary to a new stack and save this on the server. In your server script, you include
and from then on you should be able to use the library. The question is whether it actually works. Give it a try and let me know.
Kind regards,
Mark
I'm not entirely sure that it will work, but you can try to copy the button libUrl of stack revLibrary to a new stack and save this on the server. In your server script, you include
Code: Select all
insert script of btn "libUrl" of stack /path/to/your/stack.rev" into back
Kind regards,
Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
Re: include the library
thanks for the suggestion, but after doing this how do I call the function in the script created on the server, I have to use the command "includes stackname.rev" in the script?
Re: include the library
Hi,
Just call the function as you always do in LiveCode.
Kind regards,
Mark
Just call the function as you always do in LiveCode.
Kind regards,
Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
Re: include the library
I have to re-create this function in LiveCode server:
libURLFormData-put ("username", pusername, "password", ppassword, "signin", "sign") into tData
tData post to url ("my_site_url")
put it into tHtmlPage
libUrlLastRHHeaders put () into tRHeaders-
but I do not know how to include the library revlibrary.rev in LiveCode server, so that the commands liburlformdata and all other commands to work.
Can someone show me how to do?
libURLFormData-put ("username", pusername, "password", ppassword, "signin", "sign") into tData
tData post to url ("my_site_url")
put it into tHtmlPage
libUrlLastRHHeaders put () into tRHeaders-
but I do not know how to include the library revlibrary.rev in LiveCode server, so that the commands liburlformdata and all other commands to work.
Can someone show me how to do?