I don't understand how to debug an irev file when form input is involved.

Here it the case:
I want to pick data up from a CGI driven HTML page. But my irev script needs to do some preprocessing first. So I made a script "preprocess.irev" and I began to try just passing whatever this script GETs: I tried "preprocess.irev?id18=1&m=eph+1%3A1-5%3A1" with the following script:
<?rev
put $_GET into sGET
combine sGET using "&"
put "script.cgi?set=5&lang=en&pos=0&nobar=1&t=4&" & urlencode(sGET) into varZ
put url varZ
?>

It returned "Bad request". But when I hardcoded in exactly the same values, it worked:
<?rev
put "id18=1&m=eph+1%3A1-5%3A1"into sGET
put "http://www.biblija.net/biblija.cgi? lang=en&set=5&pos=0&nobar=1&t=4&" & sGET into varZ
put url varZ
?>

I wanted to insert a breakpoint, but then I realized I didn't knew how to debug this because of the additional data in the url. Any solutions?

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

Reply via email to