im server.My kodundan değer getirmesi mümkün değildir htaccess url rewriting.But im takip ile ajax işlevini çağırma ..
function lookup(val1,val2) {
//some code here ////
if (xmlhttp.readyState==4){
alert(xmlhttp.responseText); // but i m not getting values
}
var str=inputString+'/'+cityid;
xmlhttp.open("GET","http://www.mydomain.in/f/fetchname/"+str,true);
xmlhttp.send();
}
/ / / / Htaccess kodu / /
RewriteRule ^f/fetchname/(.*)/(.*)$ fetchname.php?fetchkey=$1&cityidval=$2 [NC]
Url doğrudan yürütme im bu value.So yazdırırken zaman php sayfada hiçbir hata yoktur.
Ajax içinde htaccess değerini almak için herhangi bir farklı yolu var mı?