Cuando lo hacia en localhost me exportaba bien la tabla a c:/ pero al subirlo al servidor web no me lo hace saludos y gracias
Código PHP:
<form action="exportar.php" method="post" enctype="multipart/form-data">
</th>
</tr>
<td>
<input type="submit" name="exportar" value="Exportar">
</td>
<td>
</form>
</td>
</tr>
</table>
<?
if($_POST['exportar'])
{
mysql_query("Select * from finiquito into outfile 'C:/exprueba.csv ' columns terminated by ';' lines terminated by '\n'");
echo("exportada a C:/exprueba.csv");
}
if($_POST['datos'])
{
echo ($HTTP_POST_FILES['archivo']['name']."<br>");
echo ($HTTP_POST_FILES['archivo']['type']."<br>");
echo ($HTTP_POST_FILES['archivo']['size']."<br>");
echo ($HTTP_POST_FILES['archivo']['tmp_name']."<br>");
echo ("Datos");
}
?>