검색어: serialized (터키어 - 영어)

인적 기여

전문 번역가, 번역 회사, 웹 페이지 및 자유롭게 사용할 수 있는 번역 저장소 등을 활용합니다.

번역 추가

터키어

영어

정보

터키어

if an object was serialized, its methods are not preserved in the returned value.

영어

unserialize_callback_func directive:

마지막 업데이트: 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 형식이 포함되어 있습니다

인적 기여로
9,144,720,006 더 나은 번역을 얻을 수 있습니다

사용자가 도움을 필요로 합니다:



당사는 사용자 경험을 향상시키기 위해 쿠키를 사용합니다. 귀하께서 본 사이트를 계속 방문하시는 것은 당사의 쿠키 사용에 동의하시는 것으로 간주됩니다. 자세히 보기. 확인