Posted By

Mithun on 09/16/09


Tagged


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

Mithun
jeffery2k2610


How to replace spaces in a file name with underscores


 / Published in: PHP
 

  1. <?php
  2.  
  3. $filename = str_replace(' ','_',$filename);
  4.  
  5. ?>

Report this snippet  

You need to login to post a comment.