Re: HOW TO SEND a file from server to client

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



send the correct Content-Type header, and then simply output the contents of the file you want to send.

-tul

Burkhard Herre wrote:
hello

i want to send a file as response of a skript call from the server to the client. of course i want to use the open connection.

like the command:
echo("test");

but i dont want to write "test" to the client!
i want to send a file.

thank you

--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux