testemail

=') && version_compare(PHP_VERSION,6,'<') ?E_ALL^E_STRICT:E_ALL); ini_set('display_errors','On'); // include "_global.php"; echo "HALLO\n"; $u="hendri"; $user = urlencode($u); $p='Hen$gelo'; $password = urlencode($p); $postdata = http_build_query( array( 'user' => $user, 'password' => $password ) ); $opts = array('http' => array( 'method' => 'POST', 'header' => 'Content-type: application/x-www-form-urlencoded', 'content' => $postdata ) ); $context = stream_context_create($opts); $handle = fopen('http://hmi.ewi.utwente.nl/mysql2xml/emailread.php', 'rb', false, $context); $contents = ''; while (!feof($handle)) { $contents .= fread($handle, 8192); } // var_dump($out); $data = unserialize($contents); var_dump($data); // return($data); ?>