fork download
  1. <?php
  2. $fname = basename('http://w...content-available-to-author-only...o.uk/this-is-the-text-i-would-like-please.php');
  3. $fname = str_replace( '-', ' ', $fname);
  4. $fname = substr($fname, 0, -4);
  5. echo $fname;
  6. ?>
Success #stdin #stdout 0.02s 13648KB
stdin
Standard input is empty
stdout
this is the text i would like please