Forum Moderators: coopster
initially i tried to change the filename by adding preifx "new_" to original filename but it gives problem while alphabatically listing of file.
so i want to rename file by adding suffix in the filename( somefile.withdots.filename.extension to somefile.withdots.filename[1].extension )...but i have not much idea with strings so not able to figure it out...and i also dont want to involve 2step process of storing file into temp & then rename it...
can anybody help me for making a function for renaming uploaded file (ie. somefile.filename.ext to somefile.filename[1].ext )
any help will be appreciated..thanks.
[ua.php.net...]