/ Published in: PHP
deliciousã«ãƒã‚¹ãƒˆã™ã‚‹ã‚µãƒ³ãƒ—ル
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <title>delicious_test</title> <body> <?php postBookmark("id", "pass", "title", "http://...", "comment...", "tags..."); function postBookmark($account,$password,$title,$url,$comment,$tag="") { $cmd = 'curl --silent --user ' . $account . ':' . $password . ' -o "response.xml"' . ' -O "https://api.del.icio.us/v1/posts/add?url=' . "$url&description=$title&extended=$comment&tags=$tag&" . '"'; } ?> </body> </html>