![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
11/02/2002, 22:58
|
| | Fecha de Ingreso: diciembre-2001
Mensajes: 26
Antigüedad: 23 años, 1 mes Puntos: 0 | |
COPY de archivos Tengo este script y no consigo que ponga la extensión. Me copia los archivos pero no pone que son ( htm ) alguien sabe ¿porque?
<?
$flores="totflor.txt";
$fds = fopen ("totflor.txt", "r");
while (!feof($fds)) {
$bufon = fgets($fds, 4096);
$z++;
$gnr[$z]=$bufon;
}
fclose ($fds);
for ($ns = 1; $ns <=3; $ns++) {
$filete=$gnr[$ns];
print $filete;
copy($flores,$filete.".htm");
}
?>
:) :) |