検索ワード: unserialize (トルコ語 - 英語)

人による翻訳

プロの翻訳者、企業、ウェブページから自由に利用できる翻訳レポジトリまで。

翻訳の追加

トルコ語

英語

情報

トルコ語

unserialize

英語

(php 3 = 3.0.5, php 4)

最終更新: 2011-10-24
使用頻度: 1
品質:

トルコ語

Örnek 2. unserialize() example

英語

example 2. unserialize() example

最終更新: 2011-10-24
使用頻度: 1
品質:

トルコ語

this example complements the one described / / with function serialize / function. $conn = odbc_connect ("webdb", "php", "chicken"); $stmt = odbc_prepare ($conn, "select data from sessions where id = ?"); $sqldata = array ($php_auth_user); if (!odbc_execute ($stmt, $sqldata) _bar_ _bar_ !odbc_fetch_into ($stmt, $tmp)) {/ / if the execute or fetch fails, initialize to empty array $session_data = array();} else {/ / we should now have the serialized data in $tmp[0]. $session_data = unserialize ($tmp[0]); if (!is_array ($session_data)) {/ / something went wrong, initialize to empty array $session_data = array();}}

英語

?php / / here, we use unserialize() to load session data to the / / $session_data array from the string selected from a database. / / this example complements the one described with serialize(). $conn = odbc_connect ("webdb", "php", "chicken"); $stmt = odbc_prepare ($conn, "select data from sessions where id = ?"); $sqldata = array ($php_auth_user); if (!odbc_execute ($stmt, $sqldata) _bar_ _bar_ !odbc_fetch_into ($stmt, $tmp)) {/ / if the execute or fetch fails, initialize to empty array $session_data = array();} else {/ / we should now have the serialized data in $tmp[0]. $session_data = unserialize ($tmp[0]); if (!is_array ($session_data)) {/ / something went wrong, initialize to empty array $session_data = array();}}?

最終更新: 2011-10-24
使用頻度: 1
品質:

警告:見えない HTML フォーマットが含まれています

人による翻訳を得て
7,726,058,907 より良い訳文を手にいれましょう

ユーザーが協力を求めています。



ユーザー体験を向上させるために Cookie を使用しています。弊社サイトを引き続きご利用いただくことで、Cookie の使用に同意していただくことになります。 詳細。 OK