首页| 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
0.216163s