boolean extractInString (
This method extracts the file identified by
from the archive and returns it
as a string.
It does not use temporary files.
string $path - the path of the file
string - the content of the extracted file
|Error code||Error message||Reason||Solution|
Unable to open in read mode
||The file is exclusive locked by another application.||Check for other applications working on the file. This can not be caused by a competive processing the archive with Archive_Tar|
Invalid extractinstring mode
||Implementation error||Should not occur, please set up a bug report.|
Error while opening
||The file could not be created.||The file is maybe locked.|
||Read the message.||Read the message.|
This function can not be called statically.
Extract a file in a string