Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

dbplus_rcreate(3) [php man page]

DBPLUS_RCREATE(3)							 1							 DBPLUS_RCREATE(3)

dbplus_rcreate - Creates a new DB++ relation

SYNOPSIS
resource dbplus_rcreate (string $name, mixed $domlist, [bool $overwrite]) DESCRIPTION
Creates a new relation. Any existing relation sharing the same $name will be overwritten if the relation is currently not in use and $overwrite is set to TRUE. PARAMETERS
o $name - o $domlist - A combination of domains. May be passed as a single domain name string or as an array of domain names. This parameter should contain the domain specification for the new relation within an array of domain description strings. A domain description string consists of a domain name unique to this relation, a slash and a type specification character. See the db++ documentation, espe- cially the dbcreate(1) manpage, for a description of available type specifiers and their meanings. Note This function will also accept a string with space delimited domain description strings, but it is recommended to use an array o $overwrite - RETURN VALUES
NOTES
Warning This function is EXPERIMENTAL. The behaviour of this function, its name, and surrounding documentation may change without notice in a future release of PHP. This function should be used at your own risk. PHP Documentation Group DBPLUS_RCREATE(3)

Check Out this Related Man Page

DBPLUS_FIND(3)								 1							    DBPLUS_FIND(3)

dbplus_find - Set a constraint on a relation

SYNOPSIS
int dbplus_find (resource $relation, array $constraints, mixed $tuple) DESCRIPTION
Places a constraint on the given $relation. Further calls to functions like dbplus_curr(3) or dbplus_next(3) will only return tuples matching the given constraints. PARAMETERS
o $relation - A relation opened by dbplus_open(3). o $constraints - Constraints are triplets of strings containing of a domain name, a comparison operator and a comparison value. The $constraints parameter array may consist of a collection of string arrays, each of which contains a domain, an operator and a value, or of a single string array containing a multiple of three elements. The comparison operator may be one of the following strings: '==', '>', '>=', '<', '<=', '!=', '~' for a regular expression match and 'BAND' or 'BOR' for bitwise operations. o $tuple - RETURN VALUES
NOTES
Warning This function is EXPERIMENTAL. The behaviour of this function, its name, and surrounding documentation may change without notice in a future release of PHP. This function should be used at your own risk. SEE ALSO
dbplus_unselect(3). PHP Documentation Group DBPLUS_FIND(3)
Man Page

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

How do I change domain name from shell?

How do I change domain name from shell? I know how to change hostname but not domain. Please help me. Thank you, (3 Replies)
Discussion started by: lucas
3 Replies

2. Shell Programming and Scripting

Problem with reading characters

Hello, if I try this (in bash): #!/bin/bash cat leercaracter.sh | while read linea do # read character by character echo $linea | while read -n 1 caracter do echo $caracter done done New lines, spaces, tabs aren't showed by echo. How can I 'echo' those characters?... (7 Replies)
Discussion started by: albertogarcia
7 Replies

3. Shell Programming and Scripting

how to read delimited text into array

I am trying to parse a string using delimited char into array. BNAME=B10,B20,B30 B10.Q=X B20.Q=Y B30.Q=Z I need to parsethe BNAME into array, then i will loop through array to execute command using these variables. like: for i in $array do qload array array.Q # execute command: qload B10... (3 Replies)
Discussion started by: adars1
3 Replies

4. Shell Programming and Scripting

problem with while...do...done

Goodmorning to everybody I want to calcolate the relation between the files on the file system and the their used space I tried: #! /bin/sh numFile=$(find / -type f | wc -l) SIZE=0 du / | while read DIR; do TEMP=$(echo $DIR | awk '{print $1}') SIZE=$(expr $SIZE + $TEMP)... (6 Replies)
Discussion started by: Guccio
6 Replies

5. Web Development

Deny access from all users, except PHP application installed in same domain

Hi to all, Please, some help over here. IŽll try to be as much clear I can. In summary my problem is: I have a PHP application installed in a folder of my domain that reads CSV.txt files from another folder in my domain and I need to restrict direct access to see and download these CSV.txt... (0 Replies)
Discussion started by: cgkmal
0 Replies

6. AIX

Sizing p7 systems

Hi, I am currently given the dubious task ;) to make an assumption on sizing our current p5 environment in relation to new p7 machines. Is there any kind of a vague factor how to calculate this? I found some official IBM benchmark results with long lists of different Power machines and their... (9 Replies)
Discussion started by: zaxxon
9 Replies

7. Emergency UNIX and Linux Support

Best AV for Itanium IA64 (Windows 2000, 2003, NT)

Hi there I am hoping for a quick response to this one, because we're in a tight spot right now where the Itaniums we have don't support McAfee to run on Windows server setup on our Itanium machine. Does anyone have any idea (perhaps based on good experience themselves?) on what is a good AV that... (8 Replies)
Discussion started by: hedkandi
8 Replies

8. Shell Programming and Scripting

Rename values in file

Dear all, I have a problem that i cannot solve and I hope someone here can help me. I have a huge tab delimited text file with two columns in relation. The values in the first column can be redundant and one copy of that value can exist in the second column. My question is how to simplify... (5 Replies)
Discussion started by: Higgo
5 Replies

9. SCO

Machine and domain renaming

HELP! I am running UNIX 7.1.4 and trying to change an existing machines' name, domain, and IP address. Uname -S and the new name changes the name but even when I use netcfg, I can not change the domain and IP. It is like it still thinks it is the old machine. I can not ping the new name or IP but... (3 Replies)
Discussion started by: NC user
3 Replies