>I have the situation where on starting a shockwave game, the engine gives me
>a parameter in the URL like
>http://xxx/numbers1.htm?lmsid=3
>
>Now I need to be able to get the data from the URL, especially the
>characters which come after the question mark.
>I'd hate having to use Javascript for it as I have more than 100 shockwave
>games and very little experience with javascript.


It should be easy:

on getquerystuff theurl
     set id = the itemdelimiter  --remember this to be polite
     set the itemdelimiter = "?"
     delete item 1 of theurl
     set the itemdelimiter = id --reset it again to what it was
     return theurl
end


-- 

[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]

Reply via email to