|
|
|
|
Bonjour
|
Cacher impossible il faut donc crypter
|
Oui mais sur un site j'ai vu comme code source
|
Je sais qu'il ne fonctionne pas c'est pour ça que j'ai dit faudra trouver ou créer un équivalent php
|
Merci mais c'est pas ce que je cherche
|
J'ai fais ça dis moi si ça te convient
<?php $mapageHTML = '<br><br><br><br><a href="http://google.fr">google</a>'; $str2=''; for($i=0; $i<strlen($mapageHTML); $i++) $str2.='%'.base_convert(ord($mapageHTML[$i]), 10, 16); echo '<script>document.write(unescape("'.$str2.'"))</script>'; ?> |
Salut,
|
Sinon t'a la technique Ogame, t'insere une frame, et si quelqu'un veut aller directement dessus tu le rediriges.
|
Tu fait une page index.php
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" lang="fr"> <head> <title></title> </head> <frameset rows="*"> <frame src="home.php"/> </frameset> </html> ainsi qu'une page home.php <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" lang="fr"> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/> <script> if(window.parent.location.href != 'http://................index.php') window.location.href = 'http://................index.php'; </script> </head> <body> ...................................... </body> </html> comme ça impossible d'acceder a la page sans passer par la page principale m'enfin ça sert pas a grand chose ... avec firefox tu fai clic droit > ce cadre > code source du cadre et voila tu a la source ... et avec internet explorer tu fais clic droit > afficher la source dans les 2 cas la source a été vue facilement donc l'utilité .... |