|
Posted by phpCodeHead on 06/06/07 16:52
On Jun 6, 10:56 am, 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.
not sure your version of php or it's config, but try using
$_SERVER['PHP_SELF']; or set a global variable to $PHP_SELF =
$_SERVER['PHP_SELF']; then reference throughout your app whenever
necessary.
Also, educate yourself a bit more on this subject at http://us.php.net/reserved.variables
hth,
-----------
Gene Kelley
LAMP Web Application Developer
BizFlowDesigns.com
St. Louis, Missouri, USA
[Back to original message]
|