Skip to content

Nelson's Life Blog

  • AI
  • Tech Tips
  • Network
  • Uncategorized
  • Synology
  • Comfyui
Nelson's Life Blog

Day: August 16, 2012

PHP Replace “&” With “%26” in URL encoding ampersands

// replace & to %26
$string = “M&M”;
$string = str_replace(“&”, urlencode(“&”), html_entity_decode($string));
//————————————–

OUTPUT on url will be M%26M
OUTPUT on your page still M&M

Author nelsonPosted on August 16, 2012August 16, 2012Categories UncategorizedLeave a comment on PHP Replace “&” With “%26” in URL encoding ampersands
  • AI
  • Docker
  • Fun
  • iOs shortcust
  • Linux
  • Network
  • Stable Diffusion
  • Synology
  • Tech Tips
  • Uncategorized
  • VPN

Comfyui gmail goole Networking Stable Diffusion Synology VPN Windows 10

  • 谷歌无线邮箱
  • 自动管理docker容器更新的工具Watchtower让docker容器
  • 部署Ollama到MacOS
  • Detailed Command’s of Ollama
  • Easy Fix: This PC can’t run Windows 11 (Bypass TPM and Secure Boot)
August 2012
M T W T F S S
 12345
6789101112
13141516171819
20212223242526
2728293031  
« Jul   Sep »
Log in
  • AI
  • Tech Tips
  • Network
  • Uncategorized
  • Synology
  • Comfyui
Nelson's Life Blog Proudly powered by WordPress