Jump to content


11closed

Member Since 17/12/2006
Offline Last Active 24/03/2015, 15:18
-----

#1021604 gravar no BD IP de quem clica nos anuncios do adsense

Posted by 11closed on 27/02/2015, 15:23

ok... 

 

essa é a pagina do anunico






<!-- Calling jQuery Library -->


<script type="text/javascript">
 
	// When the DOM is ready to be interacted with, hook up
	// the DOM events for Google AdSense tracking.
	jQuery(function( $ ){
		
	// I am a flag that will determine if the user is
	// currently mousing over a Google AdSense.
	var isOverGoogleAd = false;
	 
	// When a user mouses over a Google AdSense iFrame, we
	// want to track that activity. This way, when the
	// current window blurs, we can guesstimate as to
	// whether or not the window-blur was due to the user
	// clicking the Google ad.
	$( "iframe[ id *= adframe ]" )
	.mouseover(
		function(){
			isOverGoogleAd = true;
			
		}
	)
	.mouseout(
		function(){
			isOverGoogleAd = false;
			
	}
	)
	;
	 
	// Now that we are tracking the mouse movements over
	// the Google AdSense, let's track the window's blur
	// event to see if we can guesstimate the AdSesnse
	// usage.
	$( window ).onclick(
		
		function(){
			// Check to see if the user was over a Google
			// AdSense ad when the window was blurred.
			if (isOverGoogleAd){
	 
				// Because the user was mousing over a
				// Google AdSense iFrame when the window
				// was blurred, it is reasonable to
				// estimate that the blurring is due to
				// the user clicking one of the ads.
				$.ajax({
					type: "post",
					url: "bd.php",
					data: {
						adUrl: window.location.href
					}
				});
	 
			}
		}
	)

	// Focus the window by default.
	.focus()
	;
	 
	});
 
</script>
 
	
 <div style="text-align:center;width:100%;">				
 <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"  >

 </script>
<!-- pagina-centro-clientes -->
<ins class="adsbygoogle"
     style="display:inline-block;width:728px;height:90px"
     data-ad-client="ca-pub-2025377467503276"
     data-ad-slot="3776313246"></ins>
<script>

(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</div> 
	 

e essa é a bd.php

<script>
alert("Eu sou um alert!");

</script>



#819515 Como Ter Um Servidor Proprio

Posted by 11closed on 24/01/2007, 00:08

aew galera blz..


eu to tentano fazer um site mas tenho duvidas ...

tem como eu colocar meu site no ar sem colocar em hospedero, tipo é possivel deixar ele em servidor proprio???

Eu gostaria de saber como q eu posso fazer com q meu pc se torne um servidor proprio??

e quais são as vantagens de ter um servidor proprio??
porfavor simplifique !!!

vlww

at+++


IPB Skin By Virteq