6 Jan
2003
6 Jan
'03
6:26 p.m.
[ beno]
Okay, so I've got this:
<dtml-call expr="REQUEST.get('HTTP_ACCEPT_LANGUAGE')">
How do I return the value of the expression to my script?
You do not have to call it, REQUEST['HTTP_ACCEPT_LANGUAGE'] IS the value. You can pass it like you would any other parameter, or have your script ask for it directly. It will be a string like this: en-us,en;q=0.5
If my language is *en*, how do I return this to use it in redirecting the client?
Just look up how to do redirects. Cheers, Tom P