$.getJSON and PHP file

suzannerabbit

New Member
Is it possible to hide name of *.php file in \[code\]$(document).ready(function(){$.getJSON("getdata.php", function(returned_data) { if(returned_data =http://stackoverflow.com/questions/2302618/=="1") { $("div#wall").html('user has no subscription'); $("#message_wall").attr("disabled", "disabled"); return false; }});\[/code\]});Because that jquery code will be visible in source code of the page and I do not want to some malicious visitors try to do something with it.
 
Top