10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
hi unix expert
what does mean the blew sentences? and what does i do for this? ( i want to install dropbox in centos)
"I was just experimenting with Flatpak apps, and Dropbox is available as a Flatpak.
Installing that way was super easy -- installed gnome-software (which has Flatpak... (2 Replies)
Discussion started by: abdossamad2003
2 Replies
2. Red Hat
Hi All,
I've been looking at various options at administering several servers remotely like:
- VNC (don't like the lax security of 8 characters max for a password) and
- NX (awesome piece of kit but still limited to a per desktop viewer)...
What I'm looking for is a GUI that... (7 Replies)
Discussion started by: ASGR
7 Replies
3. UNIX for Dummies Questions & Answers
e.g.
File name: File.txt
cat File.txt
Result:
#INBOUND_QUEUE=FAQ1
INBOUND_QUEUE=FAQ2
I want to get the value for one which is not commented out.
Thanks, (3 Replies)
Discussion started by: Tanu
3 Replies
4. Programming
python gui or c++ gui or java gui?
and when to use etch one? (1 Reply)
Discussion started by: kaja
1 Replies
5. UNIX for Dummies Questions & Answers
Hi everyone
I'm installing a homeserver running debain without a desktop GUI as its not needed
The box is a low power all in one, which won't have a monitor
If I've not installed the desktop part, can I still ssh to the box and forward GUI applications with Xming when needed to a windows... (5 Replies)
Discussion started by: tofa83
5 Replies
6. SCO
Hi all
I have installed a demo version of SCO OpenServer 5.0.2, I finally found it is Desktop Interface, I would like to know how to change its interface to dos based interface?
If you have any ideas, please tell me then. Thank you (2 Replies)
Discussion started by: TinhNhi
2 Replies
7. Shell Programming and Scripting
I was wondering if it is possible to run a GUI window (say Firefox) without actually showing up the window on the desktop but still make it do its own regular stuff (like maybe do something via the command line). Sorry if its a dumb question.
Thanks (3 Replies)
Discussion started by: Legend986
3 Replies
8. UNIX for Dummies Questions & Answers
Hey, how do I access the desktop gui for a remote fedora box?
$ ssh user@ip
$ xinit
Fatal server error:
Server is already active for display 0
If this server is no longer running, remove /tmp/.X0-lock
and start again.
Thanks (1 Reply)
Discussion started by: JustinT
1 Replies
9. Shell Programming and Scripting
Has anybody ever needed to make a GUI (but really old-school style like dialog) to do some menu-based configurations... quite literally I have been bashing out code in Python using an interface class to the Dialog program in Linux... but it doesn't really have all the callback menu-driven... (0 Replies)
Discussion started by: jjinno
0 Replies
10. UNIX for Dummies Questions & Answers
Hello all,
1) I want to have a GUI application that will call Unix shell scripts,
2) that GUI application should be able to reside on windows ( if possible) and then call Unix shell script either directly or through a server residing on unix.
That is for example.
If a is windows gui (... (1 Reply)
Discussion started by: hchivukula
1 Replies
OCI_SET_CLIENT_INFO(3) OCI_SET_CLIENT_INFO(3)
oci_set_client_info - Sets the client information
SYNOPSIS
bool oci_set_client_info (resource $connection, string $client_info)
DESCRIPTION
Sets the client information for Oracle tracing.
The client information is registered with the database when the next 'roundtrip' from PHP to the database occurs, typically when an SQL
statement is executed.
The client information can subsequently be queried from database administration views such as V$SESSION.
The value may be retained across persistent connections.
PARAMETERS
o $connection
-An Oracle connection identifier, returned by oci_connect(3), oci_pconnect(3), or oci_new_connect(3).
o $client_info
- User chosen string up to 64 bytes long.
RETURN VALUES
Returns TRUE on success or FALSE on failure.
EXAMPLES
Example #1
Setting the client information
<?php
$c = oci_connect('hr', 'welcome', 'localhost/XE');
// Record the client information
oci_set_client_info($c, 'My Application Version 2');
// Code that causes a roundtrip, for example a query:
$s = oci_parse($c, 'select * from dual');
oci_execute($s);
oci_fetch_all($s, $res);
sleep(30);
?>
// While the script is running, the administrator can see the client
// information:
sqlplus system/welcome
SQL> select client_info from v$session;
NOTES
Note
Oracle version requirement
This function is available when PHP is linked with Oracle Database libraries from version 10 g onwards.
Tip
Performance
With older versions of OCI8 or the Oracle Database, the client information can be set using the Oracle DBMS_APPLICATION_INFO pack-
age. This is less efficient than using oci_set_client_info(3).
Caution
Roundtrip Gotcha
Some but not all OCI8 functions cause roundtrips. Roundtrips to the database may not occur with queries when result caching is
enabled.
SEE ALSO
oci_set_module_name(3), oci_set_action(3), oci_set_client_identifier(3).
PHP Documentation Group OCI_SET_CLIENT_INFO(3)