Hi,
I just made a test.
(sorry a bit small...)
and your "while (list(..." as test2.php in the same directory works.
Why do you supply the path to the action with ??
For your first question I don't know.
J
"Jim Witt" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
[EMAIL PROTECTED]">
> 1. Why when I use $PHP_SELF, I get the file referenced twice? Ex: in
> file hello.php I have
>
> echo $PHP_SELF ;
> ?>
>
> and the result is: /cgi-bin/hello.phpcgi-bin/hello.php
This one beats me... :) Try one of the 'other', like $SCRIPT_NAME and
see if it works the same...
> 2. I set up
1. Why when I use $PHP_SELF, I get the file referenced twice? Ex: in
file hello.php I have
and the result is: /cgi-bin/hello.phpcgi-bin/hello.php
2. I set up the following right from PHP.net FAQ:
\n";
}
?>
but this does nothing. The FORM that is posted has four text INPUT's.
This