$head = wp_get_http_headers( $word_url ); $cookie = $head[‘set-cookie‘]; $cookie = substr( $cookie, 0 , strpos( $cookie, ";" ) );
时间: 2024-10-30 15:08:10
$head = wp_get_http_headers( $word_url ); $cookie = $head[‘set-cookie‘]; $cookie = substr( $cookie, 0 , strpos( $cookie, ";" ) );