Re: JavaScript Injection ???
| From: | Daniel Brown | Date: | Mon, 18 Apr 2011 20:44:11 +0000 |
| Subject: | Re: JavaScript Injection ??? | ||
| References: | 1 2 3 4 5 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-312451@lists.php.net to get a copy of this message | ||
On Mon, Apr 18, 2011 at 15:50, tedd <tedd@sperling.com> wrote:
>
> It doesn't make any difference if I use stripslashes() or not, it still will
> NOT produce a javascript alert as it used to do.
Interestingly enough, I copied your index.php file to index2.php
on the server and modified it to use stripslashes() and, as you said,
it didn't work for me, regardless of how many times I tried.
In Chrome.
Switched over to Firefox and - wouldn't you know? - it worked like
a charm, exactly as expected, when stripslashes() was employed. Of
course, without the call, it wouldn't work in any browser, but this is
now confirmed to be a browser issue. Are you using Safari on your
Mac? If so, give it a shot with Firefox and/or Internet Exploder.
--
</Daniel P. Brown>
Network Infrastructure Manager
http://www.php.net/