■文字エンコーディングのチェック例

<?php

$temp = isset($_GET['id']) ? $_GET['id'] : '';

    if (! mb_check_encoding($id, 'SHIFT_JIS')) {

        die('文字エンコーディングが正しくありません');

}

?>

 

■文字エンコーディングの変換例

<?php

$id = mb_convert_encoding($id, 'UTF-8', 'SHIFT_JIS');

?>

 

9 Comments

  1. como rastrear celular says:

    … [Trackback]

    […] Find More Info here on that Topic: dragon-ark.com/archives/536 […]

  2. lenovo servis says:

    … [Trackback]

    […] Info to that Topic: dragon-ark.com/archives/536 […]

  3. it danışmanlık ücretleri says:

    … [Trackback]

    […] Read More on to that Topic: dragon-ark.com/archives/536 […]

  4. Hp Sunucu Teknik Servis says:

    … [Trackback]

    […] Read More on to that Topic: dragon-ark.com/archives/536 […]

  5. Server Teknik Destek says:

    … [Trackback]

    […] Find More on that Topic: dragon-ark.com/archives/536 […]

  6. what is the most expensive champagne in the world says:

    … [Trackback]

    […] Read More on on that Topic: dragon-ark.com/archives/536 […]

  7. White House Market URL says:

    … [Trackback]

    […] Read More on that Topic: dragon-ark.com/archives/536 […]

  8. nembutal alternatives says:

    … [Trackback]

    […] Find More on that Topic: dragon-ark.com/archives/536 […]

  9. kardinal stick says:

    … [Trackback]

    […] Find More Information here on that Topic: dragon-ark.com/archives/536 […]

Leave a Reply