Re: Echo $PHP_SELF not working
| From: | Al | Date: | Fri, 10 Oct 2003 23:29:55 +0000 |
| Subject: | Re: Echo $PHP_SELF not working | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-165811@lists.php.net to get a copy of this message | ||
Put a ";" [no quotes] after such as: echo $PHP_SELF;
Jeff McKeon wrote:
I've just published a new website and something is wrong. I suspect the PHP.ini on the server but I can't seem to find anything. The line: <form method='post' action='<?PHP ECHO $PHP_SELF ?>'> Doesn't seem to work. If I look at the "view source" from the web browser I see this.. <form method='post' action=''> On the development server I see this... <form method='post' action='/auth_user.php'> On the dev server "ECHO $PHP_SELF" seems to work but not on the production one. Any ideas what I've missed? Thanks, Jeff