HW_GETREMOTECHILDREN(3) 1 HW_GETREMOTECHILDREN(3)hw_getremotechildren - Gets children of remote documentSYNOPSIS
mixed hw_getremotechildren (int $connection, string $object_record)
DESCRIPTION
Returns the children of a remote document. Children of a remote document are remote documents itself. This makes sense if a database query
has to be narrowed and is explained in Hyperwave Programmers' Guide.
If you want to use this function you should be very familiar with HGIs. You should also consider to use PHP instead of Hyperwave to access
external sources. Adding database support by a Hyperwave gateway should be more difficult than doing it in PHP.
PARAMETERS
o $connection
- The connection identifier.
o $object_record
- The object record.
RETURN VALUES
If the number of children is 1 the function will return the document itself formatted by the Hyperwave Gateway Interface (HGI). If the
number of children is greater than 1 it will return an array of object record with each maybe the input value for another call to
hw_getremotechildren(3). Those object records are virtual and do not exist in the Hyperwave server, therefore they do not have a valid
object ID. How exactly such an object record looks like is up to the HGI.
SEE ALSO hw_getremote(3).
PHP Documentation Group HW_GETREMOTECHILDREN(3)
Check Out this Related Man Page
PG_LO_IMPORT(3)PG_LO_IMPORT(3)pg_lo_import - Import a large object from fileSYNOPSIS
int pg_lo_import ([resource $connection], string $pathname, [mixed $object_id])
DESCRIPTION pg_lo_import(3) creates a new large object in the database using a file on the filesystem as its data source.
To use the large object interface, it is necessary to enclose it within a transaction block.
Note
When safe mode is enabled, PHP checks whether the files or directories being operated upon have the same UID (owner) as the script
that is being executed.
Note
This function used to be called pg_loimport(3).
PARAMETERS
o $connection
- PostgreSQL database connection resource. When $connection is not present, the default connection is used. The default connection
is the last connection made by pg_connect(3) or pg_pconnect(3).
o $pathname
- The full path and file name of the file on the client filesystem from which to read the large object data.
o $object_id
- If an $object_id is given the function will try to create a large object with this id, else a free object id is assigned by the
server. The parameter was added in PHP 5.3 and relies on functionality that first appeared in PostgreSQL 8.1.
RETURN VALUES
The $OID of the newly created large object, or FALSE on failure.
CHANGELOG
+--------+-------------------------------------+
|Version | |
| | |
| | Description |
| | |
+--------+-------------------------------------+
| 5.3.0 | |
| | |
| | The optional $object_id was added. |
| | |
+--------+-------------------------------------+
EXAMPLES
Example #1
pg_lo_import(3) example
<?php
$database = pg_connect("dbname=jacarta");
pg_query($database, "begin");
$oid = pg_lo_import($database, '/tmp/lob.dat');
pg_query($database, "commit");
?>
SEE ALSO pg_lo_export(3), pg_lo_open(3).
PHP Documentation Group PG_LO_IMPORT(3)
Hi all,
I am trying to connect to a remote sybase database server (sitting on windows) from my freebsd apache webserver.
My Webserver has installed;
Apache2.0
PHP 4.3.8
Freetds with ODBC enables ( tsql works but isql doesnt )
unixODBC
syabse-ocsd
When i connect with tsql from... (4 Replies)
Hello Guys
I have to compare flat file record to oracle table record count count which are on different servers
I am taking the flat file record count from the server now I am connecting to remote server first and then running sqlplus
But after connecting to remote server the sqlplus... (3 Replies)
Thank you for taking the time to read my issue. I need to set up a script to run from a wagon wheel type toplogy where 1 server needs to query about 10 to 15 remote servers for duplicate values in a database table. If a duplicate value is found, send an email to me( or wall command to console).... (5 Replies)