No, there is no redirect involved, and i managed to identify the problem: The second script, which used Apache rewrite was displaying also some html content, not only 'true' or 'false' ... I didn't notice it first, because the only thing my php script was displaying was 'true' or 'false', but when i checked source code i immediatelly realised, that the php script was displaying also some html tags. That was my problem, i fixed the output and it's now working fine.
Thanks for your answer. On 27. Nov, 17:07 h., "Jörn Zaefferer" <[EMAIL PROTECTED]> wrote: > Is there a redirect involved? If so, my guess is that the > XMLHttpRequest doesn't follow the redirect, just gets the 30x code and > no response body. > > I don't think the plugins can do anything about that... > > Jörn > > On Thu, Nov 27, 2008 at 12:02 PM, jurkoferko <[EMAIL PROTECTED]> wrote: > > > Hi i have a problem with "remote" checking. I have two identical > > scripts, both of them return 'true' or 'false': > > > 1. /something.php > > 2. /script/something > > > When i use the first PHP script in "remote", javascript sends data to > > the PHP script and PHP sends data to javascript. Everything is working > > OK. > > But when i use the second PHP script in "remote", which is executed > > the same way as the first, but the difference is, that this second > > script is handled through Apache's rewrite function, this second > > script sends data to PHP correctly but receives NO ANSWER. Although > > the script itself displays 'true' or 'false' when you call it directly > > from the browser. > > > Is there any way that "remote" checking in jquery's validate will work > > with apache's rewrite ? Or am I doing something wrong ?