The Server Pages
:: TSP Menu
- Home
- Authors
- Glossary
- RSS Feed

:: Servers
- CPanel
- Hosting
- Linux
- Windows

:: Webmaster
- Databases
- Design
- PHP
- Search Engines

:: Scripts
- Scripts

:: Documentation
- PHP Manual

:: Other
- Errors & Solutions
- TechPunt
- Wojjie

search for in the

hw_InsertObject> <hw_insertanchors
[edit] Last updated: Sat, 12 May 2012

view this page in

hw_InsertDocument

(PHP 4)

hw_InsertDocumentUpload 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.

See Also



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

 
show source | credits | sitemap | contact | advertising | mirror sites