previousHTTP_Download::setParams (Previous) (Next) HTTP_Download::setDatanext

View this page in Last updated: Sun, 18 Oct 2009
English | Brazilian Portuguese | Chinese | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Turkish

HTTP_Download::setFile

HTTP_Download::setFile() – Set file path

Synopsis

mixed HTTP_Download::setFile ( string $file , bool $send_404 = true )

Description

Set the path to the file for the download.

Parameter

  • string $file - file path

  • bool $send_404 = true - whether to send "HTTP 404 File Not Found", if file couldn't be found

Return value

Returns TRUE on success, PEAR_Error on failure.

Note

This function can not be called statically.

previousHTTP_Download::setParams (Previous) (Next) HTTP_Download::setDatanext

Download Documentation Last updated: Sun, 18 Oct 2009
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.