Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

dba_handlers(3) [php man page]

DBA_HANDLERS(3) 							 1							   DBA_HANDLERS(3)

dba_handlers - List all the handlers available

SYNOPSIS
array dba_handlers ([bool $full_info = false]) DESCRIPTION
dba_handlers(3) list all the handlers supported by this extension. PARAMETERS
o $full_info - Turns on/off full information display in the result. RETURN VALUES
Returns an array of database handlers. If $full_info is set to TRUE, the array will be associative with the handlers names as keys, and their version information as value. Otherwise, the result will be an indexed array of handlers names. Note When the internal cdb library is used you will see cdb and cdb_make. EXAMPLES
Example #1 dba_handlers(3) Example <?php echo "Available DBA handlers: "; foreach (dba_handlers(true) as $handler_name => $handler_version) { // clean the versions $handler_version = str_replace('$', '', $handler_version); echo " - $handler_name: $handler_version "; } ?> The above example will output something similar to: Available DBA handlers: - cdb: 0.75, Revision: 1.3.2.3 - cdb_make: 0.75, Revision: 1.2.2.4 - db2: Sleepycat Software: Berkeley DB 2.7.7: (08/20/99) - inifile: 1.0, Revision: 1.6.2.3 - flatfile: 1.0, Revision: 1.5.2.4 PHP Documentation Group DBA_HANDLERS(3)

Check Out this Related Man Page

CAIRO_SVG_SURFACE_GET_VERSIONS(3)					 1					 CAIRO_SVG_SURFACE_GET_VERSIONS(3)

CairoSvgSurface::getVersions - Used to retrieve a list of supported SVG versions

       Object oriented style (method):

SYNOPSIS
publicstatic array CairoSvgSurface::getVersions (void ) DESCRIPTION
Procedural style: array cairo_svg_get_versions (void ) Returns a numerically indexed array of currently available CairoSvgVersion constants. In order to retreive the string values for each item, use CairoSvgSurface::versionToString. PARAMETERS
This function has no parameters. RETURN VALUES
Returns a numerically indexed array of integer values. EXAMPLES
Example #1 CairoSvgSurface::getVersions example <?php /* Grab our list of versions */ $versions = CairoSvgSurface::getVersions(); var_dump($versions); /* echo the string name of each version */ foreach($versions as $id) { echo CairoSvgSurface::versionToString($id), PHP_EOL; } ?> The above example will output something similar to: array(2) { [0]=> int(0) [1]=> int(1) } SVG 1.1 SVG 1.2 Example #2 Procedural style <?php /* Grab our list of versions */ $versions = cairo_svg_surface_get_versions(); var_dump($versions); /* echo the string name of each version */ foreach($versions as $id) { echo cairo_svg_surface_version_to_string($id), PHP_EOL; } ?> The above example will output something similar to: array(2) { [0]=> int(0) [1]=> int(1) } SVG 1.1 SVG 1.2 SEE ALSO
CairoSvgSurface::versionToString. PHP Documentation Group CAIRO_SVG_SURFACE_GET_VERSIONS(3)
Man Page

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

truss

I'm a DBA so no abuse please! I've for 5 Oracle Forms processes that are spinning and am trying to find out if they're doing anything: Running HPUX 11.11 CPU TTY PID USERNAME PRI NI SIZE RES STATE TIME %WCPU %CPU COMMAND 9 ? 2735 oracle 241 20 24228K 16668K run 2607:29 84.92... (2 Replies)
Discussion started by: fraze
2 Replies

2. Shell Programming and Scripting

How to insert a record in fixed width flatfile

I have a fixed width flatfile with 5 columns, i will load file from oracle database to the flatfile for every 15 min at the end of the file, i want to insert a record by calling a shell script for inserting a record. please can any one help me. Thanks. (1 Reply)
Discussion started by: limou
1 Replies

3. UNIX for Advanced & Expert Users

A question on using sed or awk

Hi I have a pattern like this. repeating many lines CHANGE #13 TYP:22 CLS: 21 AFN:12 DBA:0x0040a15f OBJ:41142 SCN:0x0000.00036b3e SEQ:1 OP:11.2 CHANGE #15 TYP:32 CLS: 32 AFN:212 DBA:0x0040a15f OBJ:41143 SCN:0x0000.00046b3e SEQ:1 OP:13.3 . And i am trying to do the following: a) I need to get... (2 Replies)
Discussion started by: hare
2 Replies

4. Shell Programming and Scripting

Need Info

Hi, I'm a oracle DBA with little knowledge of Unix. I wanted to write some shell scripts which will be helpful for DBA's regular activity. As i'm a new to oracle with unix can any plese tell me what are all the activities can be done throgh Unix Shell Scripts also suggest me how to learn... (1 Reply)
Discussion started by: msgobinathan
1 Replies

5. Solaris

Can I use both of TCP/IP 10/100 and 100/1000?

Hi all! I am a DBA, and a newbie on Solaris OS. Recently, my Database have been being retrieved many queries by many sessions. Of course, as a DBA, I must tune it. It's normally to tune. And I found that, the V890 SPARC has 2 network cards, both of them using TCP/IP. One is 10/100 and one is... (10 Replies)
Discussion started by: trantuananh24hg
10 Replies

6. UNIX and Linux Applications

DataBase Online Or Not

Hey every one, I am new here, and work as DBA ,can I ask if there any tools can installed or command help me to know if the current DB still connected or not ? The DB that work on is so disturbing, your response are highly appreciated, Note : DB is Oracle and the OS is certain Unix. Best... (4 Replies)
Discussion started by: molanfx
4 Replies

7. Shell Programming and Scripting

Result set into an array

Hi, I have an issue with the result set. I wanted to run db2 query against db2 server in unix environment using perl script. I wanted to get the result set into an array. $db=<<DB_Name>> connect to $db get connection state this is my query = SELECT DISTINCT 'R' FROM... (0 Replies)
Discussion started by: solo123
0 Replies

8. UNIX for Dummies Questions & Answers

Help with trace file

Hi, I am an oracle DBA pretty new to unix. We had one of the filesystems full and a colleague cleared some stuffs to create more space. I just checked now and found there is now more space available. How do i find exactly what he cleared? We have oracle database installed and its a RAC... (4 Replies)
Discussion started by: dollypee
4 Replies

9. Shell Programming and Scripting

/db2home full issue in db2

Hi all, I am new for linux environment, and i am working as a DBA. I am facing some issues in OS level: In our dev boxes /db2home under this directory i'm not finding any folder but it's showing 98% used . /dev/dm-14 5.0G 4.6G 115M 98% /db2home # ls -lrt total 16... (1 Reply)
Discussion started by: suresh_target
1 Replies

10. What is on Your Mind?

Regarding Admin life either as DBA or UNIX Linux admin

I am planning to choose my career as Unix/Linux Admin or a DBA. But I have come to know from forums and few admins like the job will be 24/7. I have few questions on that. Can we get "DAY" shifts in any one of the admin Job ? Can't we have shift timings in any company ? Eventhough the... (7 Replies)
Discussion started by: Jacktts
7 Replies