[mail function] ; For Win32 only. SMTP = localhost smtp_port = 25 ; For Win32 only. sendmail_from = email@qualquer.com.br
Deixe do jeito que estão e reinicie o Apache.
KILLME hasn't added any friends yet.
22/12/2010, 09:41
[mail function] ; For Win32 only. SMTP = localhost smtp_port = 25 ; For Win32 only. sendmail_from = email@qualquer.com.br
22/12/2010, 09:38
22/12/2010, 08:10
20/12/2010, 14:48
estou tentando fazer aquel eesquema de fazer o download de um arquivo automaticamente !
mas nao estou conseguindo, está dando o famoso erro no cabeçalho, mas nao sei o pq, o arquivo contem apenas esse codigo:<?php header("Content-Type: jpg"); // informa o tipo do arquivo ao navegador header("Content-Length: ".filesize($_GET["arquivo"])); // informa o tamanho do arquivo ao navegador header("Content-Disposition: attachment; filename=".basename($_GET["arquivo"])); // informa ao navegador que é tipo anexo e faz abrir a janela de download, tambem informa o nome do arquivo readfile($_GET["arquivo"]); // lê o arquivo exit; // aborta pós-ações ?>
Warning: Cannot modify header information - headers already sent by (output started at C:\AppServ\www\flash\download.php:1) in C:\AppServ\www\flash\download.php on line 2
Warning: Cannot modify header information - headers already sent by (output started at C:\AppServ\www\flash\download.php:1) in C:\AppServ\www\flash\download.php on line 3
Warning: Cannot modify header information - headers already sent by (output started at C:\AppServ\www\flash\download.php:1) in C:\AppServ\www\flash\download.php on line 4
valeuu !
09/11/2010, 20:41
Community Forum Software by IP.Board
Licensed to: Webmasters Online