Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

cubrid_close_request(3) [php man page]

CUBRID_CLOSE_REQUEST(3) 						 1						   CUBRID_CLOSE_REQUEST(3)

cubrid_close_request - Close the request handle

SYNOPSIS
bool cubrid_close_request (resource $req_identifier) DESCRIPTION
The cubrid_close_request(3) function closes the request handle given by the $req_identifier argument, and releases the memory region related to the handle. It is an alias of cubrid_close_prepare(3). PARAMETERS
o $req_identifier -Request identifier. RETURN VALUES
Return TRUE on success. EXAMPLES
Example #1 cubrid_close_request(3) example <?php $con = cubrid_connect ("localhost", 33000, "demodb", "dba", ""); if ($con) { echo "connected successfully"; $req = cubrid_execute ( $con, "select * from members", CUBRID_INCLUDE_OID | CUBRID_ASYNC); if ($req) { while ( list ($id, $name) = cubrid_fetch ($req) ){ echo $id; echo $name; } cubrid_close_request($req); // or you can use cubrid_close_prepare($req) } cubrid_disconnect($con); } ?> SEE ALSO
cubrid_close_prepare(3). PHP Documentation Group CUBRID_CLOSE_REQUEST(3)

Check Out this Related Man Page

CUBRID_CLOSE(3) 							 1							   CUBRID_CLOSE(3)

cubrid_close - Close CUBRID connection

SYNOPSIS
bool cubrid_close ([resource $conn_identifier]) DESCRIPTION
The cubrid_close(3) function ends the transaction currently in process, closes the connection handle and disconnects from server. If there is any request handles not closed yet at this point, they will be closed. It is similar to the CUBRID function cubrid_disconnect(3). PARAMETERS
o $conn_identifier -The CUBRID connection identifier. If the connection identifier is not specified, the last connection opened by cubrid_connect(3) is assumed. RETURN VALUES
TRUE, when process is successful. FALSE, when process is unsuccessful. EXAMPLES
Example #1 cubrid_close(3) example <?php $con = cubrid_connect ("localhost", 33000, "demodb"); if ($con) { echo "connected successfully"; $req = cubrid_execute ( $con, "insert into person values(1,'James')"); if ($req) { cubrid_close_request ($req); cubrid_commit ($con); } else { cubrid_rollback ($con); } cubrid_close ($con); } ?> SEE ALSO
cubrid_disconnect(3), cubrid_connect(3), cubrid_connect_with_url(3). PHP Documentation Group CUBRID_CLOSE(3)
Man Page

8 More Discussions You Might Find Interesting

1. Solaris

file wont remove

check this out ls -l nmo* -rwsr-s--- 1 root dba 19312 Mar 31 14:44 nmo -rw-r----- 1 oracle dba 0 May 19 2004 nmo0 -rwxr-x--- 1 oracle dba 16512 Mar 31 14:44 nmocat # rm nmo0 nmo0: No such file or directory # id uid=0(root) gid=1(other) what... (8 Replies)
Discussion started by: csaunders
8 Replies

2. UNIX for Advanced & Expert Users

Removing files

Hi, It seems someone has created files instead of actually running the commands, as below: -rw-r--r-- 1 oracle92 dba 0 Mar 2 11:19 PRIML_070302.ok -rw-r--r-- 1 oracle92 dba 557 Mar 2 11:20 PRIVH_070302.dat -rw-r--r-- 1 oracle92 dba 0 Mar 12 11:57... (2 Replies)
Discussion started by: LiquidChild
2 Replies

3. UNIX for Advanced & Expert Users

Problem joining 2 files

Hi I have 2 files which look like File1 1245 1256 2345 2165 3245 9851 8514 6498 8547 2541 5242 and File2 (4 Replies)
Discussion started by: rochitsharma
4 Replies

4. Shell Programming and Scripting

sort files

i have a folder contails 3 types of files , ls -l -rw-r--r-- 1 oratest dba 7 Jul 1 15:36 aml001.agl -rw-r--r-- 1 oratest dba 7 Jul 1 15:36 aml002.agl -rw-r--r-- 1 oratest dba 6 Jul 1 15:43 aml003.agl -rw-r--r-- 1 oratest dba 7 Jul 1 15:36 bom001.agl -rw-r--r-- 1 oratest dba 7... (4 Replies)
Discussion started by: Elii
4 Replies

5. Shell Programming and Scripting

Replacing space with T only in the 1st line of the file

Hi Masters , I have a file whose header is like HDRCZECM8CZCM000000881 SVR00120100401160828+020020100401160828+0200CZK There is a space between 1 and S ,my req is to chng the space to T I tried echo `head -1 CDCZECM8CZCM000000881` | sed 's/ /T/' it works ,but how can I modify in... (5 Replies)
Discussion started by: Pratik4891
5 Replies

6. Red Hat

find . -name '*.req' -mtime +2 -exec rm {} \; not deleting files

i want to remove *.req files from directory /opt/FFCL8001/oracle/inst/apps/FFCL8001_lhrho/logs/appl/conc/log i executed command find . -name '*.req' -mtime +2 -exec rm {} \; but it is running since hours and free space in /opt is same as old 7.4 GB . why it is not removing files ? (5 Replies)
Discussion started by: rehantayyab82
5 Replies

7. Shell Programming and Scripting

Subtotal in UNIX

Please help me on below req Data in file ARIZONA HCPAZ 47 ARIZONA HCPAZCONT 3056 ARIZONA AZA 20 CALIFORNIA HC06 878 CALIFORNIA LC04 51 CALIFORNIA LC06 4039 CALIFORNIA HCPCACONT 4960 THE CAMDEN GROUP CAM 83... (7 Replies)
Discussion started by: skchevva
7 Replies

8. UNIX for Beginners Questions & Answers

Ls followed by grep

Hi, On AIX 7.1 I run the following: ls -lrt | grep "Dec 18 14" -rw-r--r-- 1 user1 dba 1015 Dec 18 14:00 l21088100.req -rw-r--r-- 1 user1 dba 2491 Dec 18 14:01 l21088103.req -rw-r--r-- 1 user1 dba 1294 Dec 18 14:01 l21088102.req -rw-r--r-- ... (3 Replies)
Discussion started by: big123456
3 Replies