Re: [irev] passing a parameter

2012-03-22 Thread Kee Nethery
This is correct except it is a key value pair: http://kweto.com/receiveData.irev?date=Jan2012,sender=Nicolas%20Cuelo that kind of thing. Also, the data you pass should be URL encoded (as in above replacing the space between your names with the URL encoded version of that character). Kee

Re: [irev] passing a parameter

2012-03-22 Thread Alex Tweedly
You pass the parameter in the URL using a name=value pair, like http://kweto.com/receiveData.irev?month=Jan2012 or http://kweto.com/receiveData.irev?day=12month=Jan2012 Note that if you are passing this from a script, you should URLencode the value before passing it put URLencode(mydata)

Re: [irev] passing a parameter

2012-03-22 Thread Dave Cragg
On 22 Mar 2012, at 08:54, Alex Tweedly wrote: put URLdecode( $_GET[keyname] ) into tData Alex, just a question for future reference. Is it necessary to URLDecode the $_GET values? I'm going on php experience here where $_GET values are already decoded. I was assuming it would be the same

Re: [irev] passing a parameter

2012-03-22 Thread Alex Tweedly
No idea - I've just always done it :-) Yep - a quick check says you're right, they are already urlDecoded In fact, the release notes say: $_GET Available when running in CGI mode. It is an array variable, translated from the QUERY_STRING. It assumes the query string is encoded as

Re: [irev] passing a parameter

2012-03-22 Thread Dave Cragg
On 22 Mar 2012, at 10:47, Alex Tweedly wrote: No idea - I've just always done it :-) Yep - a quick check says you're right, they are already urlDecoded Thanks for checking. ___ use-livecode mailing list use-livecode@lists.runrev.com Please

[irev] passing a parameter

2012-03-21 Thread Nicolas Cueto
Hello All, I'm streamlining an already working irev setup, and have a two-part question. I have an url that connects to an irev script, and now want to also pass an id parameter thru that same url. For example: http://kweto.com/receiveData.irev?Jan2012 http://kweto.com/receiveData.irev?Feb2012