Posted by zoilus on 06/06/07 16:16
As I often do, I try learning from other peoples work. This script was
on a site and I thought it interesting. Trying to dig out interesting
tidbits. I had already put the 'search.php' in it's place but was
curious as to what and why $PHP_SELF was "Trying to be used" because is
was not working. This made it more interesting. I looked up what I think
it was to do but still can not figure out why it is not working.
Anyway.....
Erwin Moller wrote:
> 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.
>
>
> Hi,
>
> Why make things complicated?
> Why don't you just fill in the name of the script you want?
> Don't you know how your script is named?
>
> I never understood why people want to use PHP_SELF.
> :-/
>
> Regards,
> Erwin Moller
>
>
Navigation:
[Reply to this message]
|