Query: cubrid_new_glo
OS: php
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
CUBRID_NEW_GLO(3) 1 CUBRID_NEW_GLO(3) cubrid_new_glo - Create a glo instanceSYNOPSISstring cubrid_new_glo (resource $conn_identifier, string $class_name, string $file_name)DESCRIPTIONThe cubrid_new_glo(3) function is used to create a glo instance in the requested class (glo class). The glo created is a LO type, and is stored in the $file_name file.PARAMETERSo $conn_identifier -Connection identifier. o $class_name -Name of the class that you want to create a glo in. o $file_name -The file name that you want to save in the newly created glo.RETURN VALUESOid of the instance created, when process is successful. FALSE, when process is unsuccessful.EXAMPLESExample #1 cubrid_new_glo(3) example <?php $oid = cubrid_new_glo ($con, "glo", "input.jpg"); if ($oid){ // the type of column "image" is "object" $req = cubrid_execute ($con, "insert into person(image) values($oid)"); if ($req) { echo "image inserted successfully"; cubrid_close_request ($req); cubrid_commit($con); } } ?>NOTESNote For backward compatibility, the following deprecated alias may be used: cubrid_new_glo(3) Note This function is removed from CUBRID 3.1.SEE ALSOcubrid_save_to_glo(3), cubrid_load_from_glo(3), cubrid_send_glo(3). PHP Documentation Group CUBRID_NEW_GLO(3)
Related Man Pages |
---|
cubrid_disconnect(3) - php |
cubrid_get_class_name(3) - php |
cubrid_lock_write(3) - php |
cubrid_save_to_glo(3) - php |
cubrid_set_add(3) - php |
Similar Topics in the Unix Linux Community |
---|
Copying only the file name |
Pattern Matching and text deletion using VI |
file_cnt=`ls $in_dir/$file_name | wc -l` not working |
Error with file test script |