Frank Boehme wrote:
> 
> Hi,
> 
> Midgard version: 1.4b4.
> 
> This puzzles me like hell:
> 
> In short, apparently I loose $argv[] and $argc when I try to process
> form data by an active page that sends an array variable (I do this with
> <select name="var[]" multiple> <option..... </select>
> 
> Here is the story:
> 
> To keep a logical page hyrarchie, I follow the common approach to
> process form data by the same page that creates the form. I use the name
> attribute of the submit button to distinguish between form display and
> data processing. This is an active page. Midgard finds this page in both
> cases and there is no problem in retrieving $var[] (sent by the form)
> when I am in 'processing mode'. But $argv[0] as well as $argc appear to
> be empty, even though the page is served correctly.
> 
> The only workaround seems be to not use $argv[0] but hidden form fields
> or the ?par=value syntax instead.
> 
> Is this known, or am I doing something wrong?
> 
> Any comments much appreciated.
What is the value of 'action' attribute of the form?

-- 
Sincerely yours, Alexander Bokovoy 
//   The Midgard Project   // Minsk Linux Users Group // IPLabs Linux Team
\\ www.midgard-project.org \\   www.minsk-lug.net     \\  linux.iplabs.ru
I've had a perfectly wonderful evening.  But this wasn't it.
                -- Groucho Marx

--
This is The Midgard Project's mailing list. For more information,
please visit the project's web site at http://www.midgard-project.org

To unsubscribe the list, send an empty email message to address
[EMAIL PROTECTED]

Reply via email to