testing CGI help?

Robert Mann robmann at gp-racing.com
Fri Aug 10 17:41:36 EDT 2007


I have tried like that but I am not sure where it is suppose to get filled
from? It is empty checking like you suggest? Should the return URL from
paypal have something like
http://www.gp-racing.com/cgi-bin/myPDT.cgi?theBuffer
if so the URL sent back by paypal has nothing after
.cgi


-----Original Message-----
From: use-revolution-bounces at lists.runrev.com
[mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Mark
Schonewille
Sent: Friday, August 10, 2007 5:17 PM
To: How to use Revolution
Subject: Re: testing CGI help?

Hi Robert,

Maybe something like this?

if theBuffer is empty then
   put "Error: no data returned"
else
   -- remainder of script
end if

Best regards,

Mark Schonewille

--

Economy-x-Talk Consulting and Software Engineering
http://economy-x-talk.com
http;//www.salery.com

Quickly extract data from your HyperCard stacks with DIFfersifier.  
http://differsifier.economy-x-talk.com


Op 10-aug-2007, om 19:26 heeft Robert Mann het volgende geschreven:

> How do I find out if in the following theBuffer is empty?
>
>
>
> #!Linux
>
>
>
> --| PayPal PDT CGI
>
> --| (c)Thomas McCarthy
>
> --| speakup at mac
>
> --| March 1, 2006
>
> --| Used to present a web page to customers
>
>
>
> on startup
>
>   --StartCGI
>
>   --read info
>
>  put $QUERY_STRING into theBuffer
>
>   put theBuffer into theTermsArray --keep the original info.
>
>   put "myLibUrl.rev" into theStack
>
>   start using stack theStack
>
>   put the result into tresult
>
>   split theTermsArray by "&" and "="
>
>   put theTermsArray["tx"] into tvalue
>
>   put "cmd=_notify-synch" into tnotify
>
>   put "&tx=" & tvalue into tToken
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your  
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution

_______________________________________________
use-revolution mailing list
use-revolution at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution




More information about the use-livecode mailing list