William Alvord | <pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">I'm trying to do an http get passing a query string. The following works from the tclsh. I had wanted to develop the logging app first which is why I approached it this way. source "tmpsys:lib/tcl/http.tcl" set query [::http::formatQuery "one" "1" "two" "2"] set Token [::http::geturl "http://1.1.1.1/logging.php" -query $query]
Then when I move it into a script on flash, this fails (actually does a post instead of a get): package require httpios 1.0 set query [::httpios::formatQuery "one" "1" "two" "2"] set Token [::httpios::geturl "http://1.1.1.1/logging.php" -query $query]
I'm a tcl beginner so I'm sure that there's something simple I'm overlooking but after googling and searching this forum I'm still stuck. Any assistance is appreciated.
thanks, will </pre> |
| Please sign in to flag this as inappropriate. |