Posted by pablo k on 10/26/05 18:16
Hilarion wrote:
>> What reasons can there be that the echo $_SERVER['PHP_SELF'] (between
>> <?-tags) in the action parameter of a form does not show up in the
>> resent html-page?
>
>
>
> Are you sure it is:
>
> <?php echo $_SERVER[ 'PHP_SELF' ]; ?>
>
> You may try this somewhere on the page:
>
> <pre>
> <?php
> print_r( $_SERVER );
> ?>
> </pre>
>
> and check what is there and what is not.
> If you do not want to show it to users, then change "<pre>" to "<!--"
> and "</pre>" to "-->".
>
>
> Hilarion
Sorry,
Forgot to look under the hood.
[REQUEST_URI] => /apache2-default/info4u/bewerkNrJrg.php
[SCRIPT_NAME] => /apache2-default/info4u/bewerkNrJrg.php
[PHP_SELF] => /apache2-default/info4u/bewerkNrJrg.php
Is this what you mean?
pablo k
[Back to original message]
|