1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Could you please help me with this?

Discussion in 'PHP' started by Joseph S, Apr 16, 2012.

  1. #1
    I have bought a script from a guy. It is here http://tools.950buy.com/rss-submit/

    Unfortunately, the script will return all the services as "up and running", even though most of the sites it is supposed to ping are offline.

    I believe this is the function that is wrongly codded and will return everything as functioning. It is added as a js script.

    function URLSubmit(url,data,str){	
    	$.ajax({
                url: url,
                type: 'POST',
    			data: data,
    			beforeSend:function(){
    					$("#"+str+"_State").html("Please wait...");
    				},
    			complete:function(){
    					$("#"+str+"_State").html("<img src='/images/right.gif'>");
    				},
    			success:function(msg){
    			   if (msg!=""){			
    			    $("#"+str+"_State").html("<img src='/images/right.gif'>");
    			   }else{
    				   alert(msg);
    			   }
    			  }
    		});
    	
    }
    Code (markup):
    You can find it in http://tools.950buy.com/appcontent/themes/js/rss.js

    Could you please check if what I say is true or not?

    Thank you.
     
    Joseph S, Apr 16, 2012 IP