FPublisher
Web-����������: ���� ������
������������ PHP
ifx_blobinfile_mode
(No version information available, might be only in CVS)
ifx_blobinfile_mode � Set the default blob mode for all select queries
��������
bool ifx_blobinfile_mode ( int $mode )
Set the default blob mode for all select queries.
������ ����������
Mode «0» means save Byte-Blobs in memory, and mode «1» means save Byte-Blobs in a file.
������������ ��������
���������� TRUE � ������ ��������� ���������� ��� FALSE � ������ ������������� ������.
��������� �����������:
���������� �� �����
��������� 14 ����� 2020 ����
�p���� Genesis (�� ��p��p������� ��p������)
��������� �� ������ � Vim
��������� 05 ������� 2020 ����
Vim �������� ������ ��������, �� ������ � ��� �� ������ ��������.
�������� ���� ����� ��������������� �����-�� ���� �������� ��� ������ crontab, ��� ������ ��������� ������ � viv �����.
������: Error: Cannot find a val >��������� 13 �������� 2020 ����
���� ��������� ������ �� centos 5 ����
YumRepo Error: All mirror URLs are not using ftp, http[s] or file.
Eg. Invalid release/
Linux Optimization
��������� 30 ���� 2012 ����
��� ����� ��� ifx_blobinfile_mode
(PHP 3 >= 3.0.4, PHP 4, PHP 5)
ifx_blobinfile_mode — Set the default blob mode for all select queries
Description void ifx_blobinfile_mode ( int mode )
Set the default blob mode for all select queries. Mode «0» means save Byte-Blobs in memory, and mode «1» means save Byte-Blobs in a file.
����. | ������ | ����. |
ifx_affected_rows | ������� ���� | ifx_byteasvarchar |
���� �� �� ����� ��� ������, �� ���������� ��������������� ������� �� �����:
��� ����� ��� ifx_blobinfile_mode
�������� Informix ��� Online (ODS) 7.x, SE 7.x � Universal Server (IUS) 9.x ��������� � «functions/ifx.ec» � «functions/php3_ifx.h». � ������ ������ ��������� ��������� ODS 7.2 � ��������� ������� ���������, � ������ ���������� BLOB. ��������� IUS 9.1 ��������� ��������: ����� ���� ������ ��� ����, �� ��������� SLOBS ��� ��� � ������ ����������.
����� ���, ��� �� ��������� ������ «configure», ���������, ��� ���������� «INFORMIXDIR» �����������.
���������������� ������ �������������� ���������� � ���������� (include) ����������, ���� �� ��������� «configure —with_informix=yes». �� ������ �������������� ��� ����������, �������������� ���������� ��������� «IFX_LIBDIR», «IFX_LIBS» � «IFX_INCDIR». ������ ����� �������� �������������� ������ ������� Informix. �� ��������� ���������� ��������� ���������� «HAVE_IFX_IUS», ���� � ��� Informix ������ >= 9.00.
��������� ��������� �� ������������� BLOB:
������� ������ (18 �������� 1998) ��������� ������������ select/insert/update ��� BLOB.
BLOB� � ����� ������ ����������� �������������� ���������������� BLOB. ������ Select ���������� «blob ��������� ��� ��� �����. ��� ��������� ���������� ����������� ����������� �������� ��������� �����/������
��� �������� insert/update ��� ��������� ������� «blob id’s» ������ ������, ��������� «ifx_create_blob(..);». ����� �������� ������������� BLOB � ������ � �������� ������� BLOB ������ ������� (?) � ������ �������. ��� updates/inserts �� ����������� ���������� BLOB, ��������� ifx_update_blob(. ).
��������� ������� BLOB ����� ��� �������� ����������������� �����������, ������� ����� �������������� � �� ����� ����������:
���������������� ���������� : ifx.textasvarchar
���������������� ���������� : ifx.byteasvarchar
������� ������� ���������� :
ifx_textasvarchar(0) : ������������ ������������� BLOB ��� �������� select ��� ������� TEXT.
ifx_byteasvarchar(0) : ������������ ������������� BLOB ��� �������� select ��� ������� BYTE.
ifx_textasvarchar(1) : ���������� ������� TEXT ���, ��� ����� ��� VARCHAR, ��� ������������� �������������� BLOB ��� �������� select.
ifx_byteasvarchar(1) : ���������� ������� BYTE ���, ��� ����� ��� VARCHAR, ��� ������������� �������������� BLOB ��� �������� select.
���������������� ���������� : ifx.blobinfile
������� ������� ���������� :
ifx_blobinfile_mode(0) : ���������� ������� BYTE � ������, ������������� BLOB ��������� �������� ����������.
ifx_blobinfile_mode(1) : ���������� ������� BBYTE � ����, �� �������������� BLOB — ��� �����
���� �� �������������� ifx_text/byteasvarchar � 1, �� ������ ������������ ������� TEXT � BYTE � �������� select ��� ������� (�� �������� �������) ���� VARCHAR. � ��� ���, ��� ��� ������ � PHP3 «�������», ��� ���������� «�������� ������������». ������������ ������ ����� ��������� ���, ��� ������, �� ��������� �� ����������.
���� �� �������������� ifx_blobinfile � 1, ����������� ��� �����, ������������ ifx_get_blob(..) ��� ��������� ��������� ����������. �������, ��� � ���� ������ �� ������������ �� �������� ��������� ������, ��������� INFORMIX ��� ������� ����. ������ ����� ��������� ��� ������� ����� ��������� ����� ��� ������ ������� ���� BYTE.
�������������� ��������� ������ ����������� � ���������� ��������� «blobdir», �� ��������� — «.» (������� ����������). ���-�� ����� putenv(blobdir=»tmpblob»); �������� �������� �������� ����������� ��������� ������ (����� ���� ����� ������ ���������� � «blb»).
������������ �������� ��� ������ «char» (SQLCHAR � SQLNCHAR):
����� ���� ���������� � ���������������� ���������� :
ifx.charasvarchar : ���� ����������� � 1 , �� �������� ������� ����� ��������� �������������.
ifx_connect
��������
int ifx_connect (string [ database ], string [ userid ], string [ password ]);
��� �������� ���������� ���������� ������������� ����������, ��� ������ — false.
ifx_connect() ������������� ���������� � ������� Informix. ��� ��������� ����������� � ��� �� ���������� ������� ��������� �� ���������, �� ����� php3.ini: ���� — ifx.default_host (���� �� ����������, �� ���������� Informix ���������� ���������� ��������� $INFORMIXSERVER), ������������ — ifx.default_user, ������ — ifx.default_password (����� ���� �� ���������).
� ������ ����������� ������ ������� ifx_connect() � ���� �� �����������, ����� ���������� ����������� �� �����, � ����������� ������������� ��� �������������� ����������.pened link
������ � ������� ����� ����������, ��� ������ ���������� ���������� �������, ���� ������ ��� �� ����� ������� ������ ������� ifx_close() .
������ ����� ifx_pconnect() , � ifx_close() .
������ 1. ���������� � ����� ������ Informix
��� �� ���� � ����������� .bin? ��� �������?
������ ����� .bin #2
�������� ����� .bin �� ������������ ����� CDRWin
�������� ����� .bin �� ����������CDRWin CD Image
��� ����������� ������
��������� ������������� ����� CD ��� DVD. � ����� �������� ������, ������������� � �������-����� �� ������� ���� � ������� ��������� CDRWin. ����� ������������ ������, ��� ����� ������������ ��� ���������� ����. ������ ����� ����� �� .ISO. ���� ��� �������� BIN-����� ���������� ������, ���������� �������� ���������� �� ISO.
���, ��� ������� ���� .bin?Roxio Easy Media Creator
Golden Hawk Technology CDRWin
Daemon Tools
IsoBuster
EZB Systems UltraISO
������ ����� .bin #3
�������� ����� .bin �� ����������� �������� ������
�������� ����� .bin �� ����������Generic Binary File
��� ���������� ������
��������� ������������ BIN ������ ������ � �������� �������. ����� ������ ������ ���������� �� ��������� ������, ������� ����� ����� �������������. �������� ���� ����� ���� ������ ������ ������� ����������� �, ��� �������, ������� ����� ����� ��������� �� ���������������.
��������, ����� ������� ������ ������ ������� �� �������� ������. �� ����� ��� ����� ����������, �������� �� BIN. �����, BIN-����� ����� �������������� ��� ���������� ��������� ��������.
���, ��� ������� ���� .bin?����������� ���������, ������� ������� ����
������ ����� .bin #4
�������� ����� .bin �� ������������ ������ Sega Genesis
�������� ����� .bin �� ����������Sega Genesis Game ROM
��� ���������� ���
��������� ������������� �������� ��������� Sega Genesis, ���������� � ����. �� �� ���� ����� ������� � ������� ��������� ���������� Genesis.
���� ������ Sega Genesis ����� ����� ����� ���������� .SMD.
���, ��� ������� ���� .bin?Gens
Gens Plus!
Kega Fusion
retroDrive
HazeMD
Ages
Xega
������ ����� .bin #5
�������� ����� .bin �� ������������������ ���� Unix
�������� ����� .bin �� ����������Unix Executable File
��� ���������������� �����
��������� ����������������� ��� c��������������� �������� ����, ������� ����� ������� � ������������ �������� ��������� Unix (Linux, FreeBSD � ��.) . ���� ����� ����� ��������� �� ��������� ������. ��� ����� �������� «.bin», ��� — ��� ������������ �����.
���, ��� ������� ���� .bin?���� ������ ������������ ��������, �������� �� Windows ��� ��. ����������� �� ��� �������� �����
������ ����� .bin #6
�������� ����� .bin �� ��������������� �����-����
�������� ����� .bin �� ����������Binary Video File
��� ����������-�����
��������� �������������-����, ���������� �������� ������. ��� �������, ��������� �� DVD ��� ������ ��������� �����������. ���������� � ���������� ��������� �����-����� ����� ���� ��������� � ��������������� ����� .CUE.
��� ����� ��� ifx_blobinfile_mode
�������� Informix ��� Online (ODS) 7.x, SE 7.x � Universal Server (IUS) 9.x ��������� � «functions/ifx.ec» � «functions/php3_ifx.h». � ������ ������ ��������� ��������� ODS 7.2 � ��������� ������� ���������, � ������ ���������� BLOB. ��������� IUS 9.1 ��������� ��������: ����� ���� ������ ��� ����, �� ��������� SLOBS ��� ��� � ������ ����������.
����� ���, ��� �� ��������� ������ «configure», ���������, ��� ���������� «INFORMIXDIR» �����������.
���������������� ������ �������������� ���������� � ���������� (include) ����������, ���� �� ��������� «configure —with_informix=yes». �� ������ �������������� ��� ����������, �������������� ���������� ��������� «IFX_LIBDIR», «IFX_LIBS» � «IFX_INCDIR». ������ ����� �������� �������������� ������ ������� Informix. �� ��������� ���������� ��������� ���������� «HAVE_IFX_IUS», ���� � ��� Informix ������ >= 9.00.
��������� ��������� �� ������������� BLOB:
������� ������ (18 �������� 1998) ��������� ������������ select/insert/update ��� BLOB.
BLOB� � ����� ������ ����������� �������������� ���������������� BLOB. ������ Select ���������� «blob ��������� ��� ��� �����. ��� ��������� ���������� ����������� ����������� �������� ��������� �����/������
��� �������� insert/update ��� ��������� ������� «blob id’s» ������ ������, ��������� «ifx_create_blob(..);». ����� �������� ������������� BLOB � ������ � �������� ������� BLOB ������ ������� (?) � ������ �������. ��� updates/inserts �� ����������� ���������� BLOB, ��������� ifx_update_blob(. ).
��������� ������� BLOB ����� ��� �������� ����������������� �����������, ������� ����� �������������� � �� ����� ����������:
���������������� ���������� : ifx.textasvarchar
���������������� ���������� : ifx.byteasvarchar
������� ������� ���������� :
ifx_textasvarchar(0) : ������������ ������������� BLOB ��� �������� select ��� ������� TEXT.
ifx_byteasvarchar(0) : ������������ ������������� BLOB ��� �������� select ��� ������� BYTE.
ifx_textasvarchar(1) : ���������� ������� TEXT ���, ��� ����� ��� VARCHAR, ��� ������������� �������������� BLOB ��� �������� select.
ifx_byteasvarchar(1) : ���������� ������� BYTE ���, ��� ����� ��� VARCHAR, ��� ������������� �������������� BLOB ��� �������� select.
���������������� ���������� : ifx.blobinfile
������� ������� ���������� :
ifx_blobinfile_mode(0) : ���������� ������� BYTE � ������, ������������� BLOB ��������� �������� ����������.
ifx_blobinfile_mode(1) : ���������� ������� BBYTE � ����, �� �������������� BLOB — ��� �����
���� �� �������������� ifx_text/byteasvarchar � 1, �� ������ ������������ ������� TEXT � BYTE � �������� select ��� ������� (�� �������� �������) ���� VARCHAR. � ��� ���, ��� ��� ������ � PHP3 «�������», ��� ���������� «�������� ������������». ������������ ������ ����� ��������� ���, ��� ������, �� ��������� �� ����������.
���� �� �������������� ifx_blobinfile � 1, ����������� ��� �����, ������������ ifx_get_blob(..) ��� ��������� ��������� ����������. �������, ��� � ���� ������ �� ������������ �� �������� ��������� ������, ��������� INFORMIX ��� ������� ����. ������ ����� ��������� ��� ������� ����� ��������� ����� ��� ������ ������� ���� BYTE.
�������������� ��������� ������ ����������� � ���������� ��������� «blobdir», �� ��������� — «.» (������� ����������). ���-�� ����� putenv(blobdir=»tmpblob»); �������� �������� �������� ����������� ��������� ������ (����� ���� ����� ������ ���������� � «blb»).
������������ �������� ��� ������ «char» (SQLCHAR � SQLNCHAR):
����� ���� ���������� � ���������������� ���������� :
ifx.charasvarchar : ���� ����������� � 1 , �� �������� ������� ����� ��������� �������������.
ifx_connect
��������
int ifx_connect (string [ database ], string [ userid ], string [ password ]);
��� �������� ���������� ���������� ������������� ����������, ��� ������ — false.
ifx_connect() ������������� ���������� � ������� Informix. ��� ��������� ����������� � ��� �� ���������� ������� ��������� �� ���������, �� ����� php3.ini: ���� — ifx.default_host (���� �� ����������, �� ���������� Informix ���������� ���������� ��������� $INFORMIXSERVER), ������������ — ifx.default_user, ������ — ifx.default_password (����� ���� �� ���������).
� ������ ����������� ������ ������� ifx_connect() � ���� �� �����������, ����� ���������� ����������� �� �����, � ����������� ������������� ��� �������������� ����������.pened link
������ � ������� ����� ����������, ��� ������ ���������� ���������� �������, ���� ������ ��� �� ����� ������� ������ ������� ifx_close() .
������ ����� ifx_pconnect() , � ifx_close() .
������ 1. ���������� � ����� ������ Informix
Linux.yaroslavl.ru
|
(PHP 3>= 3.0.4, PHP 4)
ifx_blobinfile_mode — ������������� blob-����� �� ��������� ��� ���� �������� select.
��������
void ifx_blobinfile_mode (int mode)
������������� blob-����� �� ��������� ��� ���� �������� select. ����� «0» �������� ���������� Byte-Blobs � ������, � ����� «1» �������� ���������� Byte-Blobs �����.
Set the default blob mode for all select queries
(PHP 4, PHP ifx_blobinfile_mode � Set the default blob mode for all select queries
��������
Set the default blob mode for all select queries.
������ ����������
Mode «0» means save Byte-Blobs in memory, and mode «1» means save Byte-Blobs in a file.
������������ ��������
���������� TRUE � ������ ��������� ���������� ��� FALSE � ������ ������������� ������.
ifx_blobinfile_mode
(No version information available, might be only in CVS)
ifx_blobinfile_mode — Set the default blob mode for all select queries
Описание
Set the default blob mode for all select queries.
Список параметров
Mode «0» means save Byte-Blobs in memory, and mode «1» means save Byte-Blobs in a file.
Возвращаемые значения
Возвращает TRUE в случае успешного завершения или FALSE в случае возникновения ошибки.
��� �� ���� � ����������� .bin? ��� �������?
������ ����� .bin #2 �������� ����� .bin �� ������������ ����� CDRWin �������� ����� .bin �� ����������CDRWin CD Image ��� ����������� ������ ��������� ������������� ����� CD ��� DVD. � ����� �������� ������, ������������� � �������-����� �� ������� ���� � ������� ��������� CDRWin. ����� ������������ ������, ��� ����� ������������ ��� ���������� ����. ������ ����� ����� �� .ISO. ���� ��� �������� BIN-����� ���������� ������, ���������� �������� ���������� �� ISO. ���, ��� ������� ���� .bin?Roxio Easy Media Creator Golden Hawk Technology CDRWin Daemon Tools IsoBuster EZB Systems UltraISO
������ ����� .bin #3 �������� ����� .bin �� ����������� �������� ������ �������� ����� .bin �� ����������Generic Binary File ��� ���������� ������ ��������� ������������ BIN ������ ������ � �������� �������. ����� ������ ������ ���������� �� ��������� ������, ������� ����� ����� �������������. �������� ���� ����� ���� ������ ������ ������� ����������� �, ��� �������, ������� ����� ����� ��������� �� ���������������.
��������, ����� ������� ������ ������ ������� �� �������� ������. �� ����� ��� ����� ����������, �������� �� BIN. �����, BIN-����� ����� �������������� ��� ���������� ��������� ��������. ���, ��� ������� ���� .bin?����������� ���������, ������� ������� ����
������ ����� .bin #4 �������� ����� .bin �� ������������ ������ Sega Genesis �������� ����� .bin �� ����������Sega Genesis Game ROM ��� ���������� ��� ��������� ������������� �������� ��������� Sega Genesis, ���������� � ����. �� �� ���� ����� ������� � ������� ��������� ���������� Genesis.
���� ������ Sega Genesis ����� ����� ����� ���������� .SMD. ���, ��� ������� ���� .bin?Gens Gens Plus! Kega Fusion retroDrive HazeMD Ages Xega
������ ����� .bin #5 �������� ����� .bin �� ������������������ ���� Unix �������� ����� .bin �� ����������Unix Executable File ��� ���������������� ����� ��������� ����������������� ��� c��������������� �������� ����, ������� ����� ������� � ������������ �������� ��������� Unix (Linux, FreeBSD � ��.) . ���� ����� ����� ��������� �� ��������� ������. ��� ����� �������� «.bin», ��� — ��� ������������ �����. ���, ��� ������� ���� .bin?���� ������ ������������ ��������, �������� �� Windows ��� ��. ����������� �� ��� �������� �����
������ ����� .bin #6 �������� ����� .bin �� ��������������� �����-���� �������� ����� .bin �� ����������Binary Video File ��� ����������-����� ��������� �������������-����, ���������� �������� ������. ��� �������, ��������� �� DVD ��� ������ ��������� �����������. ���������� � ���������� ��������� �����-����� ����� ���� ��������� � ��������������� ����� .CUE.
PHP � PYTHON
PYTHON ifx_blobinfile_mode
Do you know a Python replacement for PHP’s ifx_blobinfile_mode ? Write it!
PHP ifx_blobinfile_mode
ifx_blobinfile_mode
(PHP 4, PHP ifx_blobinfile_mode � Set the default blob mode for all select queries
Description
Set the default blob mode for all select queries.
Parameters
Mode «0» means save Byte-Blobs in memory, and mode «1» means save Byte-Blobs in a file.
Return Values
Returns TRUE on success or FALSE on failure.
Понравилась статья? Поделиться с друзьями:
|