首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > PHP > 使用PHP的卷曲而不是梨上传照片到Flickr,多上传是神奇的

使用PHP的卷曲而不是梨上传照片到Flickr,多上传是神奇的

资 源 简 介

[Brief:] php-curl , no pear! this project upload photoes to flickr and get the return url , thus you can use flickr as your blog"s image hosting server! you can upload one image a time or tens of images once! require\_once("./curlflickr.php");//chage to your directory session\_start();//we will use session , so be sure you have this rights $fk=new curlflickr; $fk->api\_key="dddddddddddddddddd";//set your api $fk->secret="296ddddddddddddd5b5b";//set your secret code $fk->auth("write",TRUE);//you can just use $fk->auth(); is fine //multiple upload $images[.md](.md)="./1.jpg"; > $images[.md](.md)="./2.jpg"; > $images[.md](.md)="./3.jpg"; > $urls=$fk->umulty($images,"large");////all,array,large,small,square,thumbnail,medium is all ok > print\_r($urls); > foreach($urls as $url){ > print ""; > > } $fk=NULL; ?> if there is any problem , just leave me a

文 件 列 表

curlflickr.php
example.php
login.php
readme.txt
VIP VIP
  • 大智若愚 4小时前 成为了本站会员

  • Mason 7小时前 成为了本站会员

  • 7小时前 成为了本站会员

  • Half_Punch 1天前 成为了本站会员

  • liqing71718 1天前 成为了本站会员

  • 伟国 1天前 成为了本站会员

  • songy 1天前 成为了本站会员

  • 纯色幽默 1天前 成为了本站会员

  • odd? 1天前 成为了本站会员

  • 52JOY... 1天前 成为了本站会员

0.181987s