fork(10) download
  1. <?php
  2.  
  3. $url = 'http://e...content-available-to-author-only...o.com/pasta/pasta2/past/ficheiro.php';
  4. $elementos = parse_url($url);
  5.  
  6. echo $elementos['host'];
  7.  
  8.  
Success #stdin #stdout 0.01s 52488KB
stdin
Standard input is empty
stdout
exemplo.com