unix and linux operating commands

Using Oracle's Built-in Security Features with PHP


 
Thread Tools Search this Thread
# 1  
Old 04-06-2008
Using Oracle's Built-in Security Features with PHP

How to take advantage of Oracle's native security features to improve the security of your PHP Web applications

More...
Login or Register to Ask a Question

Previous Thread | Next Thread

2 More Discussions You Might Find Interesting

1. AIX

AIX OS Features versus Solaris OS Features

Hi Unix Experts, I like to compile and compare all the features that AIX OS (541L) and Solaris OS (Solaris 10) provide. If somebody can shed on this topic would be highly appreciated. Thank you, Khan (0 Replies)
Discussion started by: hkhan12
0 Replies

2. UNIX for Dummies Questions & Answers

security permission logging onto Oracle database

Hello, I'm trying to login to an Oracle databse without entering the user/passwd. The server resides on an AIX 5.1 system, and using LDAP. I'm entering the following command >sqlplus / @ORACLE_SID This should work but for some odd reason I get a login denied. But if I enter the user id... (1 Reply)
Discussion started by: ctcuser
1 Replies
Login or Register to Ask a Question
OCI_SET_EDITION(3)														OCI_SET_EDITION(3)

oci_set_edition - Sets the database edition

SYNOPSIS
bool oci_set_edition (string $edition) DESCRIPTION
Sets the database "edition" of objects to be used by a subsequent connections. Oracle Editions allow concurrent versions of applications to run using the same schema and object names. This is useful for upgrading live systems. Call oci_set_edition(3) before calling oci_connect(3), oci_pconnect(3) or oci_new_connect(3). If an edition is set that is not valid in the database, connection will fail even if oci_set_edition(3) returns success. When using persistent connections, if a connection with the requested edition setting already exists, it is reused. Otherwise, a different persistent connection is created PARAMETERS
o $edition - Oracle Database edition name previously created with the SQL " CREATE EDITION" command. NOTES
Note Oracle version requirement This function is available from Oracle 11 gR2 onwards. Caution Persistent connections To avoid inconsistencies and unexpected errors, do not use ALTER SESSION SET EDITION to change the edition on persistent connec- tions. Caution DRCP Connection Pooling To avoid inconsistencies and unexpected errors when using editions and DRCP with Oracle 11.2.0.1, keep a one-to-one correspondence between the oci8.connection_class and the edition name used by applications. Each pooled server of a given connection class should only be used with one edition. This restriction has been removed with Oracle 11.2.0.2. RETURN VALUES
Returns TRUE on success or FALSE on failure. EXAMPLES
Example #1 Two scripts can use different versions of myfunc() at the same time <?php // File 1 echo "Version 1 of application "; oci_set_edition('ORA$BASE'); $c = oci_connect('hr', 'welcome', 'localhost/XE'); $s = oci_parse($c, "begin :r := myfunc(); end;"); oci_bind_by_name($s, ":r", $r, 20); oci_execute($s); echo "The result is $r "; ?> <?php // File 2 echo "Version 2 of application "; oci_set_edition('E1'); $c = oci_connect('hr', 'welcome', 'localhost/XE'); $s = oci_parse($c, "begin :r := myfunc(); end;"); oci_bind_by_name($s, ":r", $r, 20); oci_execute($s); echo "The result is $r "; ?> PHP Documentation Group OCI_SET_EDITION(3)