PHP 手冊
上一頁 |  | 下一頁

# hw_InsertDocument

(PHP 3>= 3.0.3, PHP 4 )

hw_InsertDocument -- upload any document

## Description

int hw_insertdocument ( int connection, int parent_id, int hw_document)

Uploads a document into the collection with parent_id. The document has to be created before with hw_new_document(). Make sure that the object record of the new document contains at least the attributes: Type, DocumentType, Title and Name. Possibly you also want to set the MimeType. The functions returns the object id of the new document or `FALSE`.

See also hw_pipedocument().

上一頁 | 最開頭 | 下一頁
hw_insertanchors | 上一層 | hw_InsertObject