hahaah i have solution , the problem was the blanc space , i used a php function who delete it rtrim("$file");
so the code is :
[PHP]<?php
$lines = file('file.txt');
$l_count = count($lines);
for($x = 0; $x< $l_count; $x++)
{
$po = $lines[$x] ;
$ourFileName = "$x.txt";
$ourFileHandle = fopen($ourFileName, 'w') or die("can't open file");
fclose($ourFileHandle);
$mo = rtrim("$po");
rename("$x.txt","$mo.mp3");
echo $ourFileName ;
}
?>
[/PHP]
have a good day
now lets create the fake mp3s file