downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | my php.net 
search for in the  

<hw_insertanchorshw_InsertObject>
Last updated: Thu, 26 Jun 2008

hw_InsertDocument

(PHP 4)

hw_InsertDocument — Upload any document

Description

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

Uploads a document into the given collection.

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.

Parameters

connection

The connection identifier.

parent_id

The collection identifier.

hw_document

The document identifier.

Return Values

The functions returns the object id of the new document or FALSE.



add a noteadd a note User Contributed Notes
Upload any document
There are no user contributed notes for this page.




<hw_insertanchorshw_InsertObject>
Last updated: Thu, 26 Jun 2008
show source | credits | sitemap | contact | advertising | mirror sites
Copyright © 2001-2005 The PHP Group
All rights reserved.
This unofficial mirror is operated at: http://phpbuilder.com/
Last updated: Tue Nov 1 20:20:59 2005 EST
Columns / Articles | Tips / Quickies | News | News Linking and RSS Feeds | Shared Code Library
Mail Archives | Support / Discussion Forums | Get Started! Links | Contribute! | Docs