http_send_file()

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
momukhtar
Forum Newbie
Posts: 11
Joined: Thu Mar 06, 2008 8:02 pm

http_send_file()

Post by momukhtar »

The function http_send_file() takes the file as a parameter. Does anyone know how to set the file destination if we want to use this function.
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Re: http_send_file()

Post by Chris Corbyn »

What do you mean by the destination? This function for sending a file to the web browser of the user. Basically it's a download() function.
momukhtar
Forum Newbie
Posts: 11
Joined: Thu Mar 06, 2008 8:02 pm

Re: http_send_file()

Post by momukhtar »

Oh I see. So the documentation is not clear for this function.
Thanks for your clarification
Post Reply