Re: [OT] Server doesn't send response code

2012-04-29 Thread Mark Schonewille
Hi Jacque, Where exactly is the CGI sending the return message? The URL should start with ssl://www.sandbox.paypal.com/... I do this with PHP and that has worked fine for years. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage:

Re: Checking for an internet connectio

2012-04-29 Thread Peter Haworth
Thanks Dar. You're right, Phil's solution answers a better question than the one I asked since it kills two birds with one stone - is there an internet connection and is the server responding. Pete lcSQL Software http://www.lcsql.com On Sat, Apr 28, 2012 at 3:40 PM, Dar Scott d...@swcp.com

Re: Checking for an internet connectio

2012-04-29 Thread Peter Haworth
Yes, Linux would be a useful addition. I googled linux ping and found the man page which says the format would be: ping -c 1 -w 5 pTargetDomain ...yet a third variation! Pete lcSQL Software http://www.lcsql.com On Sat, Apr 28, 2012 at 5:59 PM, Phil Davis rev...@pdslabs.net wrote: Sorry

Re: Checking for an internet connectio

2012-04-29 Thread Peter Haworth
Hi Phil, Double checking on the code below in your script. The man page for ping in OS X and Linux say that ping has an exit code of zero if no errors are encountered. Should the test on tResult be for zero or have you found that empty works too? Thanks, Pete lcSQL Software http://www.lcsql.com

Installing new software

2012-04-29 Thread Peter Haworth
Got everything working nicely with my handler to check for a more recent version of my program. The final step after downloading is to copy the new version of the program to wherever it needs to go on the user's computer but I can't do that because the program is running (this is on OS X but I

Re: Checking for an internet connectio

2012-04-29 Thread Tim Jones
Pete, It's a good idea to always check the error code returned from a shell command. The actual text may various from one OS update to another, so depending of the text returned can be a quick way to introduce an odd bug that works on one platform, but not on another. The man page will

Re: Checking for an internet connectio

2012-04-29 Thread Tim Jones
Urgh - autocorrect sux! The actual text may vary from one OS update to another Tim On Apr 29, 2012, at 11:02 AM, Tim Jones wrote: Pete, It's a good idea to always check the error code returned from a shell command. The actual text may various from one OS update to another, so

Re: Installing new software

2012-04-29 Thread Alex Tweedly
H ... I could be wrong (Haven't done it myself), but I thought the usual way to do this was to have a splash screen approach - the splash screen stack starts up and quickly displays a splash screen - then it checks for a new version. and if there is one the splash stack downloads

Re: [OT] Server doesn't send response code

2012-04-29 Thread J. Landman Gay
On 4/29/12 6:20 AM, Mark Schonewille wrote: Hi Jacque, Where exactly is the CGI sending the return message? The URL should start with ssl://www.sandbox.paypal.com/... I do this with PHP and that has worked fine for years. According to the most recent docs, it should be sent to

Re: [OT] Server doesn't send response code

2012-04-29 Thread J. Landman Gay
On 4/29/12 2:32 PM, J. Landman Gay wrote: On 4/29/12 6:20 AM, Mark Schonewille wrote: Hi Jacque, Where exactly is the CGI sending the return message? The URL should start with ssl://www.sandbox.paypal.com/... I do this with PHP and that has worked fine for years. According to the most

Re: Installing new software

2012-04-29 Thread Peter Haworth
Hi Alex, Thanks for the suggestion. That would work but I'm just not a big fan of the splash stack approach in general unless there's a genuine (at least in my opinion!) reason for having one, like an extended amount of time to initialise the program. In this case, I'd rather delay the user every

Re: Installing new software

2012-04-29 Thread J. Landman Gay
On 4/29/12 2:49 PM, Peter Haworth wrote: Hi Alex, Thanks for the suggestion. That would work but I'm just not a big fan of the splash stack approach in general unless there's a genuine (at least in my opinion!) reason for having one, like an extended amount of time to initialise the program. In

Re: Installing new software

2012-04-29 Thread Peter M. Brigham, MD
On Apr 29, 2012, at 3:49 PM, Peter Haworth wrote: On Sun, Apr 29, 2012 at 12:07 PM, Alex Tweedly a...@tweedly.net wrote: H ... I could be wrong (Haven't done it myself), but I thought the usual way to do this was to have a splash screen approach - the splash screen stack starts up and

Re: Installing new software

2012-04-29 Thread Peter Haworth
Appreciate the input folks. I guess as much as anything else, I'm reluctant to start messing with my stack structure at this late stage of the game for a released product. I can pretty much guarantee there will be unforseen consequences! On thinking about this more, I'm not sure I should really

Re: Server doesn't send response code

2012-04-29 Thread J. Landman Gay
I could still use some advice. I know at least a couple people have liburl working with old-style cgis. I'm running rev 3.5 and liburl 1.1.6. This script receives and logs all paypal data but hangs, causing the sandbox to think it couldn't find the server: #!rev -ui on startup if

Re: Server doesn't send response code

2012-04-29 Thread Monte Goulding
Hi Jaque What engine are you using? https was introduced in 2.5 and I believe it requires revsecurity.so Might be simpler to switch to php or LC server. Cheers -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external

Re: Server doesn't send response code

2012-04-29 Thread Mark Schonewille
Hi Jacque, Is it possible that you need to urlDecode or unescape the data from stdIn before posting them back to PayPal? Could it be that the data parts in tOrderData need to be urlEncoded? Could there be a problem with the character encoding? I always make sure that I send and receive UTF8.

Re: Server doesn't send response code

2012-04-29 Thread J. Landman Gay
On 4/29/12 6:28 PM, Monte Goulding wrote: Hi Jaque What engine are you using? https was introduced in 2.5 and I believe it requires revsecurity.so Might be simpler to switch to php or LC server. Thanks for responding Monte. I'm using engine 3.5. I'm not sure about the library, is that

Re: Server doesn't send response code

2012-04-29 Thread J. Landman Gay
On 4/29/12 6:34 PM, Mark Schonewille wrote: Hi Jacque, Is it possible that you need to urlDecode or unescape the data from stdIn before posting them back to PayPal? Could it be that the data parts in tOrderData need to be urlEncoded? Could there be a problem with the character encoding? I

Re: Server doesn't send response code

2012-04-29 Thread Monte Goulding
On 30/04/2012, at 11:00 AM, J. Landman Gay wrote: On 4/29/12 6:28 PM, Monte Goulding wrote: Hi Jaque What engine are you using? https was introduced in 2.5 and I believe it requires revsecurity.so Might be simpler to switch to php or LC server. Thanks for responding Monte. I'm using

The revMenuBar

2012-04-29 Thread Cal Horner
Is there any reason for the IDE revMenubar to be as wide as it is? If you have ever taken a little wander with the Property inspector you will see that the max width and max height can be 65535! What could be the possible reason for the attributes to be set that large? Well, anyway back to the

Characters that can be used in an array key

2012-04-29 Thread David Epstein
Are there any limits on what characters can be used in an array key? For example, do tab characters cause problems? Many thanks. David Epstein ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe,

Re: Server doesn't send response code

2012-04-29 Thread J. Landman Gay
On 4/29/12 8:23 PM, Monte Goulding wrote: On 30/04/2012, at 11:00 AM, J. Landman Gay wrote: On 4/29/12 6:28 PM, Monte Goulding wrote: Hi Jaque What engine are you using? https was introduced in 2.5 and I believe it requires revsecurity.so Might be simpler to switch to php or LC server.

Re: Server doesn't send response code

2012-04-29 Thread Monte Goulding
hmm... it may have been called something else before. I vaguely recall the windows dll changing it's name. It's certainly called revsecurity.so in the current bundle. Is it possible it was supported later on Linux than on other platforms? Cheers Monte On 30/04/2012, at 11:48 AM, J. Landman

Re: Server doesn't send response code

2012-04-29 Thread J. Landman Gay
On 4/29/12 8:23 PM, Monte Goulding wrote: I'm assuming your server is Linux. Put it next to the engine. It should be in inside the app bundle somewhere. If all else fails, use Rev 3.5 to build a stack for Linux with SSL and see where the Standalone Builder puts it ;-) Ah -- found a copy in

Re: Server doesn't send response code

2012-04-29 Thread J. Landman Gay
On 4/29/12 8:55 PM, Monte Goulding wrote: hmm... it may have been called something else before. I vaguely recall the windows dll changing it's name. It's certainly called revsecurity.so in the current bundle. Is it possible it was supported later on Linux than on other platforms? I don't know.

Re: Characters that can be used in an array key

2012-04-29 Thread Phil Davis
Hi David, I doubt tabs make trouble but don't really know. When I have a tab-delimited line I'm using as a key, I usually base64Encode it first. I would not use nulls in a key, but again I don't really know if it would cause problems. Best - Phil Davis On 4/29/12 6:36 PM, David Epstein

Re: iOS Real Estate

2012-04-29 Thread Roger Guay
Ok, I know I'm missing something simple, but I can't see what I'm doing wrong. I have a stack that's 1000 by 1000 pixels, and I'm testing it in the iPad Simulator 5.1. In the Standalone Application Settings, I am building for iOS 5.0 or Later, Armv7, and I have set it for Landscape Left. The

Re: iOS Real Estate

2012-04-29 Thread Charles E Buchwald
Hi Ray, I just experienced something similar... check out... iphoneUseDeviceResolution usePixels, [ nativeControlsUsePixels ] ... in the iOS Release notes. - Charles On 2012-04-29, at 9:35 PM, Roger Guay wrote: Ok, I know I'm missing something simple, but I can't see what I'm doing wrong. I

Re: Characters that can be used in an array key

2012-04-29 Thread Dar Scott
On Apr 29, 2012, at 7:36 PM, David Epstein wrote: Are there any limits on what characters can be used in an array key? For example, do tab characters cause problems? NUL characters do funny things. Avoid those. A NUL is called null in LiveCode and is numToChar(0). The result of

Re: The revMenuBar

2012-04-29 Thread J. Landman Gay
On 4/29/12 8:31 PM, Cal Horner wrote: Is there any reason for the IDE revMenubar to be as wide as it is? What OS? If you have ever taken a little wander with the Property inspector you will see that the max width and max height can be 65535! What could be the possible reason for the