[‚t‚q‚kƒGƒ“ƒR[ƒhEƒfƒR[ƒh]

---------------------------ŽΐsŒ‹‰Κ-----------------------
ŸŒ³‚Μ‚t‚q‚k•ΆŽš—ρhttp://www7.big.or.jp/~fujiko/php/mb_ereg_replace.php
Ÿ”ΌŠpƒXƒy[ƒX‚́{‚Ɂhttp%3A%2F%2Fwww7.big.or.jp%2F%7Efujiko%2Fphp%2Fmb_ereg_replace.php
Ÿ‚q‚e‚b1738‚ɏ€‹’http%3A%2F%2Fwww7.big.or.jp%2F~fujiko%2Fphp%2Fmb_ereg_replace.php
ŸƒfƒR[ƒhurldhttp://www7.big.or.jp/~fujiko/php/mb_ereg_replace.php
ŸƒfƒR[ƒhrawurldhttp://www7.big.or.jp/~fujiko/php/mb_ereg_replace.php

---------------------------ƒXƒNƒŠƒvƒg---------------------
$moji = 'http://www7.big.or.jp/~fujiko/php/mb_ereg_replace.php'; // ƒeƒXƒg—p•ΆŽš—ρ
echo 'ŸŒ³‚Μ‚t‚q‚k•ΆŽš—ρ'.$moji.'';
$encode = urlencode($moji); // ƒGƒ“ƒR[ƒh
echo 'Ÿ”ΌŠpƒXƒy[ƒX‚́{‚Ɂ'.$encode.'';
$encode_raw = rawurlencode($moji); // ƒGƒ“ƒR[ƒh
echo 'Ÿ‚q‚e‚b1738‚ɏ€‹’'.$encode_raw.'';
$encode_d = urldecode($encode); // ƒfƒR[ƒh
echo 'ŸƒfƒR[ƒhurld'.$encode_d.'';
$encode_d_raw = rawurldecode($encode_raw); // ƒfƒR[ƒh
echo 'ŸƒfƒR[ƒhrawurld'.$encode_d_raw.'';
----------------------------------------------------------