[PHP] RE: $_SELF[PHP_SELF] not working anymore

2003-09-16 Thread Maria Garcia Suarez
Hi there! --- Javier Tacon [EMAIL PROTECTED] wrote: Try with $_SERVER[PHP_SELF] Then I get: Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in This is how I use it: $currentAddress=$_SERVER[HTTP_HOST]$_SERVER[PHP_SELF]; Thanks

Re: [PHP] RE: $_SELF[PHP_SELF] not working anymore

2003-09-16 Thread Curt Zirzow
* Thus wrote Maria Garcia Suarez ([EMAIL PROTECTED]): Hi there! --- Javier Tacon [EMAIL PROTECTED] wrote: Try with $_SERVER[PHP_SELF] Then I get: Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in This is how I use

[PHP] Re: $_SELF[PHP_SELF] not working anymore

2003-09-16 Thread Maria Garcia Suarez
Hi there! First, thanks for your reply... --- Curt Zirzow [EMAIL PROTECTED] wrote: * Thus wrote Maria Garcia Suarez ([EMAIL PROTECTED]): Try with $_SERVER[PHP_SELF] Then I get: Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or

Re: [PHP] Re: $_SELF[PHP_SELF] not working anymore

2003-09-16 Thread Jason Wong
On Tuesday 16 September 2003 23:45, Maria Garcia Suarez wrote: $currentAddress={$_SERVER['HTTP_HOST']}{$_SERVER['PHP_SELF']}; php wont be so confused as what you're trying to do. Does the above not work? I also tried with $_SERVER[PHP_SELF] alone (echo $_SERVER[PHP_SELF]; or echo

[PHP] Re: $_SELF[PHP_SELF] not working anymore *** SOLVED!

2003-09-16 Thread Maria Garcia Suarez
Hi there! First I would like to send a big THANKS to all the people who tried to help me. And after that, the solution It was a problem of the server (Xitami), browsing around the PHP.net server I found the following comment: ---CUT--- Using the CGI (c:\php[version]\php.exe) with Xitami

Re: [PHP] RE: $_SELF[PHP_SELF] not working anymore

2003-09-16 Thread Eugene Lee
On Tue, Sep 16, 2003 at 03:30:39PM +, Curt Zirzow wrote: : * Thus wrote Maria Garcia Suarez ([EMAIL PROTECTED]): : --- Javier Tacon [EMAIL PROTECTED] wrote: : : Try with $_SERVER[PHP_SELF] : : Then I get: : : Parse error: parse error, unexpected : T_ENCAPSED_AND_WHITESPACE,