Helping ordinary people create extraordinary websites!
HOME TUTORIALS SCRIPTS WEB HOSTING BLOG FORUM
Get Our Newsletter
Email:

File_HtAccess::setAuthUserFile()

File_HtAccess::setAuthUserFile() -- set the value of authuserfile property

Description

Sets the value of authuserfile property. AuthUserFile is the password file which contains username:password pairs for Basic authentication. You must give full path to the password file in order for it to work.

Parameter

  • string $file - absolute pathname to the password file.

Return value

void

Note

This function can not be called statically.