Posted by Anonymous on 06/06/07 18:06
zoilus wrote:
>
> Can not determine how "<?=PHP_SELF?>" is supposed to work.
>
> The below is the line of code.
> <!-- <form name="search" method="post" action="<?=$PHP_SELF?>"> -->
>
> When the above statement is run the following is the result.
>
> You don't have permission to access /dev/forms/forms_testing/< on this
> server.
The <?=PHP_SELF?> syntax requires short tags and register globals to be
on. Both are off on most default installations nowadays. Try this and
see if that works:
<?php echo $_SERVER['PHP_SELF']; ?>
[Back to original message]
|