Frank Boehme wrote:
> 
> Alexander Bokovoy wrote:
> 
> > What is the value of 'action' attribute of the form?
> 
> I have something like
> 
> <FORM action="first_part/parameter.html" METHOD="POST">
> 
> where first_part is the URL of the active page. As I said, the page is
> served, but $argv[0] is empty instead of having the value parameter. It
> does have the value parameter when the page is displaying the form.
Just tried it and had no problems. The test code is:

<? if(!$action) { ?>
<form action="&(PHP_SELF);" method="post">
<input type=submit value=submit name="action">
</form>
<? } else { ?>
argc = &(argc);<br>
<? for($i=0; $i<$argc; $i++) { ?>
argv[&(i);] = '&(argv.i);'<br>
<? }
} ?>

-- 
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
Don't have good ideas if you aren't willing to be responsible for them.

--
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