08-22-2007
yeah still using one good old pII-333 ... with linux (of course)
Will move to a better (and secure) one soon
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I have two mashines with RedHat 8.0......they connected with cross over cabel...I want use both mashines for Internet, but modem has only first computer... Maybe..through gateway ?....
What must i do for it ?......
sorry for my terrible english.... (3 Replies)
Discussion started by: Pennywize
3 Replies
2. IP Networking
i have a computer (sempron 2200+) with Suse 9.3 and another computer with windows 98 (PI 233 Mhz). I'm connect first computer (with Suse) on the Internet through ethernet but second computers in not connect. How can connect second computers on the internet (with 3 network card...two on the first... (8 Replies)
Discussion started by: dragos
8 Replies
3. UNIX for Advanced & Expert Users
Hello
I've wrote a C++ program which does some mathematical calculations, but the problem is that it takes way too long on any computer to finish.
Is there anyway to make more than 1 computer do the processing so it can process faster? (5 Replies)
Discussion started by: arya6000
5 Replies
4. Homework & Coursework Questions
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
I must write a program that records the availability of computers. For the argument i have to give him a file... (4 Replies)
Discussion started by: petel1
4 Replies
5. Shell Programming and Scripting
:(
---------- Post updated at 01:51 AM ---------- Previous update was at 01:50 AM ----------
Not working
---------- Post updated at 02:04 AM ---------- Previous update was at 01:51 AM ----------
cp -p /home/* home/exp/*.`date`
i am using this (4 Replies)
Discussion started by: rishiraaz
4 Replies
6. Shell Programming and Scripting
Hi
I'm waiting for the IT department to install Ganglia, and until that happens, I need to know the current load on 14 computers.
To do this, I'm trying to write a small script that output the top processes on each of the computers using top, but for some reason it doesn't work.
... (3 Replies)
Discussion started by: Tobbev
3 Replies
7. Solaris
Hi,
I need to rcp heavy files between 2 solaris 10/sparc M3000 computers. Currently theses 2 computers are linked via a switch/firewall and the rcp commands take a very long time, I have been told that this is because of the firewall (old one).
I asked my client to by a cross ethernet cable and... (2 Replies)
Discussion started by: zionassedo
2 Replies
8. What is on Your Mind?
Enjoy guys and gals...
LUnix on a Commodore 64...
YouTube
Bazza... (1 Reply)
Discussion started by: wisecracker
1 Replies
LEARN ABOUT PHP
cubrid_seq_put
CUBRID_SEQ_PUT(3) 1 CUBRID_SEQ_PUT(3)
cubrid_seq_put - Update the element value of sequence type column using OID
SYNOPSIS
bool cubrid_seq_put (resource $conn_identifier, string $oid, string $attr_name, int $index, string $seq_element)
DESCRIPTION
The cubrid_seq_put(3) function is used to update the content of the requested element in a sequent type attribute using OID.
PARAMETERS
o $conn_identifier
-Connection identifier.
o $oid
-OID of the instance you want to work with.
o $attr_name
-Name of the attribute that you want to update an element.
o $index
-Index (1-based) of the element that you want to update.
o $seq_element
-New content that you want to use for the update.
RETURN VALUES
TRUE, when process is successful.
FALSE, when process is unsuccessful.
EXAMPLES
Example #1
cubrid_seq_put(3) example
<?php
$conn = cubrid_connect("localhost", 33000, "demodb", "dba");
@cubrid_execute($conn, "DROP TABLE foo");
cubrid_execute($conn, "CREATE TABLE foo(a int AUTO_INCREMENT, b set(int), c sequence(int), d char(10))");
cubrid_execute($conn, "INSERT INTO foo(a, b, c, d) VALUES(1, {1,2,3}, {11,22,33,333}, 'a')");
$req = cubrid_execute($conn, "SELECT * FROM foo", CUBRID_INCLUDE_OID);
cubrid_move_cursor($req, 1, CUBRID_CURSOR_FIRST);
$oid = cubrid_current_oid($req);
$attr = cubrid_col_get($conn, $oid, "c");
var_dump($attr);
cubrid_seq_put($conn, $oid, "c", 1, "111");
$attr = cubrid_col_get($conn, $oid, "c");
var_dump($attr);
cubrid_close_request($req);
cubrid_disconnect($conn);
?>
The above example will output:
array(4) {
[0]=>
string(2) "11"
[1]=>
string(2) "22"
[2]=>
string(2) "33"
[3]=>
string(3) "333"
}
array(4) {
[0]=>
string(3) "111"
[1]=>
string(2) "22"
[2]=>
string(2) "33"
[3]=>
string(3) "333"
}
SEE ALSO
cubrid_seq_drop(3), cubrid_seq_insert(3).
PHP Documentation Group CUBRID_SEQ_PUT(3)