Skip to content

Instantly share code, notes, and snippets.

<?php
error_reporting ( E_ALL );
function hhb_tohtml($str) {
return htmlentities ( $str, ENT_QUOTES | ENT_HTML401 | ENT_SUBSTITUTE | ENT_DISALLOWED, 'UTF-8', true );
}
$ch = curl_init ();
$fh = tmpfile ();
$f = stream_get_meta_data ( $fh );
$f = $f ['uri'];
// var_dump($f);die("shit");