All great suggestions.
I mostly wanted to see if there already was such a function - which there
obviously isn’t.
But it is great to see several easy ways to built your own.
Thanks all.
Bill Vlahos
> On Oct 17, 2019, at 8:51 AM, Bob Sneidar via use-livecode
> wrote:
>
> The problem with o
> Hugh Senior wrote:
> Has anyone got an LC-based method to merge pdf files? Just asking...
I'll publish this weekend on SampleStacks a pdfLib (split and merge)
based on a JS library (via a browser widget). Already 95% are done.
___
use-livecode mailing
> On 17. Oct 2019, at 19:27, Lagi Pittas via use-livecode
> wrote:
>
> HI Ralph
>
> Basically the server script does this
>
> put arrayEncode($_SERVER) and sends back everything within the $_SERVER
> variable
> we then decode it in the App
>
> It gives us everything shown in the docume
On Oct 17, 2019, at 9:27 AM, FlexibleLearning.com via use-livecode
wrote:
>
> Has anyone got an LC-based method to merge pdf files?
LC business can’t even output a pdf widget save as low density raster at the
moment.
I’m currently working on an interim solution that creates a PyPdf2 script,
HI Ralph
Basically the server script does this
put arrayEncode($_SERVER) and sends back everything within the $_SERVER
variable
we then decode it in the App
It gives us everything shown in the documentation but not the header info
- GATEWAY_INTERFACE
- SERVER_ADDR
- SERVER_NAME
> On 17. Oct 2019, at 17:24, Lagi Pittas via use-livecode
> wrote:
>
> There is no $_SERVER["HTTP_Authorization"] in the docs the closest is
> $_SERVER["HTTP] but since
> the code gives an error and the return is empty it's a moot point.
Lagi, the original question was:
> how to read an "
Has anyone got an LC-based method to merge pdf files?
Just asking...
Hugh Senior
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev
The problem with one-liners is that the genius is implicit, not explicit. ;-)
Bob S
> On Oct 17, 2019, at 08:44 , J. Landman Gay via use-livecode
> wrote:
>
> Show-off. :-)
> --
> Jacqueline Landman Gay | jac...@hyperactivesw.com
___
use-livecode
Show-off. :-)
--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On October 17, 2019 5:22:44 AM Mark Waddingham via use-livecode
wrote:
On 2019-10-17 10:50, Klaus major-k via use-livecode wrote:
save some lines by setting the numberformat
Hi Everybody
If anybody else (Mark? even) has any insights
We have found this function libURLLastRHheaders, which seems to get the
last headers set to the server.
In the documentation, it indicates that it works on the Server version.
We put it in the server code, but get the following error w
I call it sqltime because it has to be formatted as hh:mm:ss.
function formatTime theTime, theFormat
/*
accepts any valid time and returns the form of the time specified in the
second parameter.
The valid formats are:
sql time: hh:mm:ss (Note: combining sql date from the formatDate()
Lagi, sorry for not expressing myself well. Of course I
meant the whole process including reading HTTP
headers on the server.
This means $_SERVER["HTTP_Authorization"]
should not be empty in your case
Ralf
> On 17. Oct 2019, at 15:51, Lagi Pittas via use-livecode
> wrote:
>
> Hi Ralf,
>
>
Hi Ralf,
The problem isn't the sending of the headers but reading them using
livecode server.
We are using Linux servers so the Mac problem is not an issue.
Via PHP the call is get_headers ( string $url [, int $format = 0 [,
resource $context ]] ) : array
Basically is there a way of doing that i
Panos,
Thanks!
I will try that for "put secure cookie". The first problem is the a "start
session" creates a cookie on the client and I don't see a way to add the
attributes.
Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net
Phone: 518-636-3998 Ex:11
Cell: 518-796-
Todd, sending Authorization HTTP request headers
to LC server on Linux should work. I have
troubles with request headers too, but only on Mac OS.
Ralf
> On 17. Oct 2019, at 13:56, Todd Fabacher via use-livecode
> wrote:
>
> Hello all,
>
> We are running LC Server Scripts to process some DB
Hello all,
We are running LC Server Scripts to process some DB request and we
want to do basic validation by passing a token from the App to the
server script.
The problem is I can not find where I can get the headers on the
server. I looked in $_SERVER, but not there. I see the CONTENT_TYPE
and
Save a lot of lines by using "format":
on countdown t
put format("%02d:%02d:%02d",t div 3600,(t mod 3600) div 60,t mod 60) into fld
1
subtract 1 from t
if t < 0 then exit countDown
send "countdown t" to me in (1000-the millisecs mod 1000) millisecs
end countdown
> > Terry J. wrote:
> > N
Hi Mark,
> Am 17.10.2019 um 12:21 schrieb Mark Waddingham via use-livecode
> :
>
> On 2019-10-17 10:50, Klaus major-k via use-livecode wrote:
>> save some lines by setting the numberformat first (lazy moi :-)
>> ...
> Save even more lines by using format, div and mod...
>
> function formatRemai
On 2019-10-17 10:50, Klaus major-k via use-livecode wrote:
save some lines by setting the numberformat first (lazy moi :-)
...
Save even more lines by using format, div and mod...
function formatRemainingTime pSeconds
return format("%02d:%02d:%02d", pSeconds div 3600, (pSeconds mod 3600)
Hi all,
> Am 17.10.2019 um 02:41 schrieb Terry Judd via use-livecode
> :
>
> Not built-in but...
>
> function formatRemainingTime pTime
> put trunc(pTime/3600) into tHours
> put pTime mod 3600 into tTimeX
> put trunc(tTimeX/60) into tMins
> put tTimeX mod 60 into tSecs
> if tHours < 1
Hello Ralph,
Does it work if you append this attribute to the "cookieValue" param?
Something like:
put secure cookie "testcookie4" for "/products/" on "www.livecode.com" with
"some_cookie_value; SameSite=None" until (the seconds + 60 * 60 * 24 * 365)
Kind regards,
Panos
--
On Thu, 17 Oct 2019 a
21 matches
Mail list logo