|
Post by votan on Jul 22, 2008 15:54:43 GMT -5
How do I actually get the transmitted variables? For example, from www.somesite.com/?user=JoeSmithI need to get "JoeSmith"... is there a already available syntax to get all the variables? Or do I have to parse the whole UrlKeys$ and seperate the variables "manually"? No problem then.. but there is a built in way, would be even better....
|
|
|
Post by StefanPendl on Jul 22, 2008 16:14:17 GMT -5
The key to success is WORD$(), so manual parsing ;-) part = 1 while word$(UrlKeys$, part, "&") <> "" OptionString$ = word$(UrlKeys$, part, "&")
OptionName$ = word$(OptionString$, 1, "=") OptionValue$ = word$(OptionString$, 2, "=")
print OptionName$; " ... "; OptionValue$
part = part + 1 wend
|
|
|
Post by votan on Jul 22, 2008 16:19:26 GMT -5
Yeah, thought so.... already did it that way, was just wondering if there is an even more cofortable way already built in that I just missed to see... Thanx anyway!
|
|