You are here: Re: action="<?=$PHP_SELF?>"> « PHP Programming Language « IT news, forums, messages
Re: action="<?=$PHP_SELF?>">

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']; ?>

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация