Re: Re: php form action breaks script
| From: | tamouse mailing lists | Date: | Thu, 28 Jun 2012 00:35:05 +0000 |
| Subject: | Re: Re: php form action breaks script | ||
| References: | 1 2 3 4 5 6 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-318315@lists.php.net to get a copy of this message | ||
On Wed, Jun 27, 2012 at 7:17 PM, Tim Dunphy <bluethundr@gmail.com> wrote:
> Hey guys,
>
> It's been a little while since I've toyed with this, and I hope you
> don't mind my coming back to you for some more advice. But I've
> enjoyed some limited success with David R's advice regarding adding
> some strong quoting to the mix. Here is what I last tried -
>
> <form method="post" action="' . $_SERVER['[PHP_SELF']
> .'">
Just a wee typo here: You've quoted '[PHP_SELF' -- the extra bracket
at the beginning what's wrong there. Should just be 'PHP_SELF'.