I always had a problem with that, didn't I?
I did find a partial work-around. Instead of posting to the final html page, I made a PHP script on my server that uses the Header() function to redirect the browser to the intended page. That way the html page doesn't think that someone is trying to post to it.
But ... I don't seem to be able to get the entire page in the destination variable. Is there a character limit for receiving web data? To demonstrate, create a Post action that targets
www.eccker.org/test.php. Select a variable for the Destination of the action, and insert that variable into a text object with a scrollbar. The text returned does not go all the way down to the bottom of the html page. Luckily the info I need is toward the top of the document, but other similar uses may need to pick out data that's further down the page.
And another question that's related to the project, but not necesarilly to Post or Get: Is there an Opus Script function that will search through a string and replace a combination of characters with other characters? Like ereg_replace() in PHP. In the data that's received from the web site, there are two lists that I put into separate arrays - the list of three-letter country/currency codes, and the list of exchange rates. The data I need is part of the javascript on the page, and appears like this:
Code:
var currency = new Array("USD","AUD","BRL","GBP","CAD","CNY","DKK",
"EUR","HKD","INR","JPY","MYR","MXN","NZD","NOK","SGD","ZAR",
"KRW","LKR","SEK","CHF","TWD","THB","VEB");
I can strip out the meat of it by using the String.word() function and the parenthesis at the begining and end of each line as the delimiters. But I can't use the split() function with more than one delimiting character, so I need to get rid of all the quotation marks and leave just the commas. Normally I'd use some kind of "replace" function to replace each occurrance of " with a null string. But I couldn't find any replace functions like this in Opus Script. So I had to build a loop that examined each character in the string and appended it into a new variable unless the character was the " character. Not a difficult work-around, but I'd much rather use a replace function.

If there is no such function, can you please add it to the wish list? Also, make sure that the parameters can accept patterns (multiple characters) and not just single characters. (at the same time, it would be helpful if other functions could accept entire patterns - like the split() function mentioned above)