Currently browsing tag

php

[php] curl GET example

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 #!/usr/bin/php <?php $url = "http://liho.tw/"; $qry_str …

[php] plurk bot 跨年撲

先前看到 皮樂的撲. 有人傳說會加業障100. 所以來玩看看吧 材料 : Linux base機器一台(mac也許可以), at, php 還有 php plurk api, 烹煮方式 : 1. 先確認你的 linux 環境有沒有 at 和 …

HOWTO Delete Non-primary Google Calendar Event?

When you created google calendar event, you will get google event id. something like below : http://www.google.com/calendar/feeds/default/private/full/yyyyy After you created non-primary google …

php搜尋中文字

1 2 3 4 5 6 7 <? mb_internal_encoding(’UTF-8’); $output = "123中文測試…"; $pos = mb_strpos($output, "中文"); $output = substr($output, $pos); echo $output; …