Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <title>Untitled Document</title>
- <script type="text/javascript">
- function acao(){
- var xmlhttp;
- if(window.XMLHttpRequest){
- xmlhttp = new XMLHttpRequest();
- }else{
- xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
- }
- xmlhttp.onreadystatechange = function(){
- if(xmlhttp.readyState == 4 && xmlhttp.status == 200){
- document.getElementById("msg").innerHTML = xmlhttp.responseText;
- }
- }
- xmlhttp.open("GET", "view.php?url="+document.getElementById("website").value+"", true);
- xmlhttp.send();
- }
- </script>
- </head>
- <body>
- <form id="form1" name="form1" method="post" action="">
- <table width="338" border="0">
- <tr>
- <td width="66">Website:</td>
- <td width="256"><label for="website"></label>
- <input name="website" type="text" id="website" size="40" /></td>
- </tr>
- <tr>
- <td> </td>
- <td><input type="button" name="btn" id="btn" value="Buscar Thumb" onclick="acao();" /></td>
- </tr>
- </table>
- </form>
- <div id="msg"></div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement