PHP: hw_InsertDocument - Manual

downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

hw_InsertObject hw_insertanchors

Last updated: Fri, 26 Jan 2007

view this page in

# hw_InsertDocument

(PHP 3 >= 3.0.3, PHP 4, PECL)

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().

add a note User Contributed Notes
hw_InsertDocument
There are no user contributed notes for this page.
hw_InsertObject hw_insertanchors

Last updated: Fri, 26 Jan 2007
show source | credits | stats | sitemap | contact | advertising | mirror sites
Copyright © 2001-2007 The PHP Group
All rights reserved.
This mirror generously provided by: Yahoo! Inc.
Last updated: Sat Mar 10 09:32:46 2007 PST