I was trying use the global variable within
a function without using global declaration.
All is good now.
Thanks for help.




Vincent Stoessel wrote:

> David Guerizec wrote:
> 
>>> I just read the 1.4 section on this but I'm not really clear.
>>> I am testing for a GET variable from a query string in the
>>> code-init page element attached to  a page. For some weird reason
>>> I can not see $HTTP_GET_VARS["my-variable"] in my code-init code.
>>> can it be that code-init preprocces code before external $HTTP_*_VARS
>>> get set?
>>> Thank You.
>>>
>>
>> Check your FORM action field, you might have forgotten to add the 
>> trailing
>> slash (ie. action="/send/" instead of action="/send")
>>
>> David
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
> 
> actually this is not coming from a form. I'm trying to get the varaible 
> from a query string.
> 
> /editorial.html?version=222
> 
> $HTTP_GET_VARS["version"] returns empty
> 
> I'm going to do a few more tests to confirm this in various situations.
> 
> 
> 



-- 
Vincent Stoessel [EMAIL PROTECTED]
Internet Applications Engineer
IDEV http://www.idev.com
V: 301 495 7345 x129


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to