Oi..
Alguem tem, ou sabe onde tem um script para proteção de links igual a este:
http://forum.guiadoh...10c3f6d2954b752
Vejam que o link só é liberado após clicar em algum anuncio.
????
Obrigado.
Protetor De Links
Started By NoiadoX, 17/10/2011, 12:06
3 replies to this topic
#1
Posted 17/10/2011, 12:06
#2
Posted 18/10/2011, 16:24
Isso é JavaScript... o PHP é uma linguagem de script server-side, não interage em tempo de execução com o Browser!
Abraços
Abraços
Procurando freelancer
***********************************************
Bachelor of Technology in Technology of Information, with great knowledge in Windows operating systems and Unix-Like (BSD, Ubuntu and Slackware), languages (PHP, JavaScript and MySQL), semantic (DHTML, Tableless, Ajax, MVC, OO) and analysis (manages projects based on PMI).
Developer in PHP, JAVA, Python, Objective-c MySQL, DHTML, CSS, JAVASCRIPT, JQUERY, JSON, SMARTY, MDB2, DOCTRINE, CAKEPHP. Linux desktop for work and MacOS. E-commerces, CRM and bussiness strategys
Love-me and be FREE use UniCes-Like .
***********************************************
Bachelor of Technology in Technology of Information, with great knowledge in Windows operating systems and Unix-Like (BSD, Ubuntu and Slackware), languages (PHP, JavaScript and MySQL), semantic (DHTML, Tableless, Ajax, MVC, OO) and analysis (manages projects based on PMI).
Developer in PHP, JAVA, Python, Objective-c MySQL, DHTML, CSS, JAVASCRIPT, JQUERY, JSON, SMARTY, MDB2, DOCTRINE, CAKEPHP. Linux desktop for work and MacOS. E-commerces, CRM and bussiness strategys
Love-me and be FREE use UniCes-Like .
#3
Posted 18/10/2011, 16:44
Isso é JavaScript... o PHP é uma linguagem de script server-side, não interage em tempo de execução com o Browser!
Abraços
Não é só javascript não, tem um parte php também.
#4
Posted 19/10/2011, 16:01
Não necessariamente ... mas imagino que tenha um admin para gerenciar esses links e afins! Ele monta em server-side e o Javascript faz toda parte de temporizar e então mostra o link...
Javascript que faz tudo :
Javascript que faz tudo :
$(document).ready(function(){
var sizesPage = getPageSize();
var wPage = arrayPageSize[0]; // Largura total da página
var hPage = arrayPageSize[1]; // tamanho total da página
$("#bgtela").animate({
opacity: 0.40,
});
var nopub = 0;
$("#icon_fechar").click(function(){
nopub++;
$.post('includes/r3.0.php', { do_register: "register" }, function(data) {
if(data == "register"){ }
});
if(nopub == 2){
$("#bgtela").hide();
$("#bgtela_conteudo").hide();
}else{
alert("Clique primeiro na propaganda para poder fechar!");
}
});
setTimeout(protect, 1000);
function protect(){
var init = 10;
var att = setInterval(attsecond, 1000);
function attsecond(){
init--;
if(init == 8){ $("#top").html("Enquanto o link está sendo processado ajude o GH."); }
if(init == 6){ $("#top").html("Click!"); }
if(init == 5){ $("#top").html("Ajude!"); }
if(init == 4){ $("#top").html("Colabore!"); }
if(init == 3){ $("#top").html("www.forum.guiadohacker.com.br conteúdo de qualidade!"); }
if(init == -1){
clearInterval(att);
$("#top").html("Processando...");
$.post('includes/v3.0.php', { do_check: "check" }, function(data) {
$("#top").html(data);
if(data == "Link inválido."){
$("#top").html("Link inválido.");
}
});
}else{
var wBar = $("#bbarloading").width();
$("#bbarloading").css("width", (wBar+28)+"px");
}
}
}
});
- NoiadoX likes this
Procurando freelancer
***********************************************
Bachelor of Technology in Technology of Information, with great knowledge in Windows operating systems and Unix-Like (BSD, Ubuntu and Slackware), languages (PHP, JavaScript and MySQL), semantic (DHTML, Tableless, Ajax, MVC, OO) and analysis (manages projects based on PMI).
Developer in PHP, JAVA, Python, Objective-c MySQL, DHTML, CSS, JAVASCRIPT, JQUERY, JSON, SMARTY, MDB2, DOCTRINE, CAKEPHP. Linux desktop for work and MacOS. E-commerces, CRM and bussiness strategys
Love-me and be FREE use UniCes-Like .
***********************************************
Bachelor of Technology in Technology of Information, with great knowledge in Windows operating systems and Unix-Like (BSD, Ubuntu and Slackware), languages (PHP, JavaScript and MySQL), semantic (DHTML, Tableless, Ajax, MVC, OO) and analysis (manages projects based on PMI).
Developer in PHP, JAVA, Python, Objective-c MySQL, DHTML, CSS, JAVASCRIPT, JQUERY, JSON, SMARTY, MDB2, DOCTRINE, CAKEPHP. Linux desktop for work and MacOS. E-commerces, CRM and bussiness strategys
Love-me and be FREE use UniCes-Like .
1 user(s) are reading this topic
0 membro(s), 1 visitante(s) e 0 membros anônimo(s)










