0
Personal how can I do with php the following situation:
I have a variable that is coming to the following example information:
$filename = "/wp-content/uploads/1.avi";
as I do to change only this final extension instead of 1.avi I would like it to be 1.mp4
I found this code no longer working follows below
$str = $nome_do_arquivo;
str_ireplace(".avi",".mp4",$str);