RE: [PHP-WIN] $PHP_SELF problem
| From: | Ignatius Teo | Date: | Mon, 09 Oct 2000 22:25:22 +0000 |
| Subject: | RE: [PHP-WIN] $PHP_SELF problem | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-3077@lists.php.net to get a copy of this message | ||
use <form action = "<?php echo basename($PHP_SELF) ?>">
Ignatius
PS: Why does PHP exhibit this in CGI mode and not when running as a module?
> -----Original Message-----
> From: info@edoc.co.za [mailto:info@edoc.co.za]
> Sent: Monday, 9 October 2000 18:59
> To: php-windows@lists.php.net
> Subject: [PHP-WIN] $PHP_SELF problem
>
>
> Hi,
>
> I'm running PHP 4.01pl2 (will update soon :-))) on Windows 95.
>
> When I use <form action = "<?php echo "$PHP_SELF" ?>">, the
> URL returned is http://localhost/php4/php.exe/index.html
>
> How do I get is to return http://localhost/index.html?
>
> Thanks
>
> Nico
>
> Nico van der Dussen
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net
> For additional commands, e-mail: php-windows-help@lists.php.net
> To contact the list administrators, e-mail:
> php-list-admin@lists.php.net
>