Um die Sybase-Datenbankunterstützung zu aktivieren, müssen Sie PHP mit der Option
--with-sybase[=DIR]konfigurieren. DIR ist das
Sybase Wurzelverzeichnis, welches im Normalfall /home/sybase ist.
Zur Aktivierung der Sybase-CT Unterstützung, muss als PHP-Konfigurationsparameter
--with-sybase-ct[=DIR] angegeben werden. Auch hier ist
DIR das Sybase Wurzelverzeichnis, dass normalerweise /home/sybase ist.
Compatability mode with old versions of PHP 3.0. If on, this will cause
PHP to automatically assign types to results according to their Sybase
type, instead of treating them all as strings. This compatability mode
will probably not stay around forever, so try applying whatever
necessary changes to your code, and turn it off.
If magic_quotes_sybase is on, a
single-quote is escaped with a single-quote instead of a
backslash if magic_quotes_gpc
or magic_quotes_runtime
are enabled.
Anmerkung:
Note that when magic_quotes_sybase
is ON it completely overrides magic_quotes_gpc
. In this case even when
magic_quotes_gpc is enabled
neither double quotes, backslashes or NUL's
will be escaped.
Tabelle 2. Sybase-CT configuration options
Name
Default
Changeable
sybct.allow_persistent
"On"
PHP_INI_SYSTEM
sybct.max_persistent
"-1"
PHP_INI_SYSTEM
sybct.max_links
"-1"
PHP_INI_SYSTEM
sybct.min_server_severity
"10"
PHP_INI_ALL
sybct.min_client_severity
"10"
PHP_INI_ALL
sybct.hostname
NULL
PHP_INI_ALL
sybct.deadlock_retry_count
"-1"
PHP_INI_ALL
Hier eine kurze Erklärung der
Konfigurationsoptionen:
Server messages with severity greater than or equal to
sybct.min_server_severity will be reported as warnings. This
value can also be set from a script by calling
sybase_min_server_severity(). The default
is 10 which reports errors of information severity or greater.
Client library messages with severity greater than or equal to
sybct.min_client_severity will be reported as warnings. This
value can also be set from a script by calling
sybase_min_client_severity(). The default
is 10 which effectively disables reporting.
Dieses Tutorial beschreibt sehr gut die Wirkunsweise von objektorientiertes Programmieren. Also bestens geeignet um das objektorientierte Programmieren zu verstehen.
In mehreren Tutorials wird der Zugriff auf Facebook Daten mittels Graph API, FQL und REST API erklärt. Alle Codebeispiele liegen zum Ausprobieren in einem SVN, bzw. github Repository bereit.