|
Posted by laredotornado@zipmail.com on 02/23/07 18:44
Hi,
A question for those of you who always seem to know the one line way
of doing things. I'm using php 4.4.4 and I want to rename the first
part of the file to a particular string. For example, if my input
string were
$input = "/path/to/my/file/12345.jpg";
I would want my result to be "/path/to/my/file/header.jpg", assuming
"header" was my fixed string.
Any slick ways to do this?
Thanks, - Dave
Navigation:
[Reply to this message]
|