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

Archive_Tar::extractInString()

Archive_Tar::extractInString() -- extract one file and return it as a string

Description

This method extracts the file identified by path from the archive and returns it as a string. It does not use temporary files.

Parameter

  • string $path - the path of the file to extract

Return value

string - the content of the extracted file

Note

This function can not be called statically.