str_replace() in PHP 4.4
Posted: Tue Mar 04, 2003 6:25 pm
Hi
I'm running Apache 2.0.43 with PHP 4.4.0 version and for some silly reason str_replace() does not work ... this simle code
which takes a file name with a phpxxx.tmp name and converts it to phpxxx.jpg so the display routine can read the jpg file for soem reason does not work. Any ideas why? has anyone else had the same problem???
Ta - Frank
I'm running Apache 2.0.43 with PHP 4.4.0 version and for some silly reason str_replace() does not work ... this simle code
Code: Select all
$temp = $rowї$i];
str_replace( "tmp" , "jpg" , $temp );
echo"<img src="image_reduce.php?to_be_reduced=$temp">";Ta - Frank