Re: $PHP_SELF
| From: | Hugh Bothwell | Date: | Tue, 02 Apr 2002 02:56:38 +0000 |
| Subject: | Re: $PHP_SELF | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-91064@lists.php.net to get a copy of this message | ||
In php.ini, there is a setting called short_open_tag
which controls whether <? is recognized as shorthand
for <?php
Try using <?php instead - if that works, then your
problem has been identified.
> I have a question that could be Apache, could be
> php, but I'm so new to this I have to ask: what is
> wrong with my code for the form action? Apache
> does not recognize the <? as the beginning of php
> code and gives an error "filename is not valid"
> whenever this form is submitted [note: phpinfo()
> and several other php files work with no problem]?