Posted by zoilus on 06/06/07 21:48
Here ya go.
<h2>Search</h2>
<form name="search" method="post" action="<?=$PHP_SELF?>">
Seach for: <input type="text" name="find" /> in
<Select NAME="field">
<Option VALUE="fname">First Name</option>
<Option VALUE="lname">Last Name</option>
<Option VALUE="info">Profile</option>
</Select>
<input type="hidden" name="searching" value="yes" />
<input type="submit" name="search" value="Search" />
</form>
gbbulldog wrote:
> On 6 Jun, 16:56, zoilus <zol...@someplace.org> 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.
>
>
> Erm... why don't you just view the HTML source to see what's in the
> $PHP_SELF variable?
>
[Back to original message]
|