使用phpflicker时出现问题

使用phpflicker时出现问题,php,upload,phpflickr,Php,Upload,Phpflickr,我在Windows Vista和WAMP2.0上使用PHPFlicker(最新稳定版本): 我有这些: Strict Standards: Assigning the return value of new by reference is deprecated in .../phpFlickr.php on line 91 Strict Standards: Assigning the return value of new by reference is deprecated in ....

我在Windows Vista和WAMP2.0上使用PHPFlicker(最新稳定版本):

我有这些:

Strict Standards: Assigning the return value of new by reference is deprecated in .../phpFlickr.php on line 91

Strict Standards: Assigning the return value of new by reference is deprecated in .....phpFlickr.php on line 330

Strict Standards: Assigning the return value of new by reference is deprecated in ...phpFlickr.php on line 399

Strict Standards: Assigning the return value of new by reference is deprecated in phpFlickr.php on line 468

Strict Standards: Assigning the return value of new by reference is deprecated in HTTP/Request.php on line 341

Strict Standards: Assigning the return value of new by reference is deprecated in ../Request.php on line 659

Strict Standards: Assigning the return value of new by reference is deprecated in ....quest.php on line 672

Strict Standards: Assigning the return value of new by reference is deprecated in ...../Request.php on line 717

Strict Standards: Assigning the return value of new by reference is deprecated in ....PEAR.php on line 569

Strict Standards: Assigning the return value of new by reference is deprecated in .....PEAR.php on line 572
当我使用symfony;,我不想在GUi上显示此警告消息,我想将我的请求重定向到我定义的页面。此警告消息在方法sync_upload之后显示

这是我的代码:

require_once("../Flickr/phpFlickr.php");
//authentication
        $f = new phpFlickr("key","secret");
        if($f!=null) echo  "connexion réussie</br>";
        $f->setToken("token");

        $f->enableCache("fs", "../Flickr/cache");

        $myPerms =$f->auth("write");
        echo  "permission définie".$myPerms."</br>";
//upload
        $tags="test1,test2";
        $upload_photo_id=$f->sync_upload($filePhotoName,"www.koutchoumi.com",null,$tags);
        echo $upload_photo_id."_test";
        $photo=$f->photos_getInfo($upload_photo_id);
        print_r($photo) ;
        $url=$f->buildPhotoURL($photo);
        echo "</br>".$url."</br>"  ;
require_once(../Flickr/phpFlickr.php”);
//认证
$f=新的phpflicker(“密钥”、“秘密”);
如果($f!=null)回显“connexion réussie
”; $f->setToken(“令牌”); $f->enableCache(“fs”,“Flickr/cache”); $myPerms=$f->auth(“写入”); 回显“权限完成”。$myPerms.
”; //上传 $tags=“test1,test2”; $upload\u photo\u id=$f->sync\u upload($filePhotoName,“www.koutchoumi.com”,null,$tags); echo$upload\u photo\u id.“\u test”; $photo=$f->photos\u getInfo($upload\u photo\u id); 印刷(照片); $url=$f->buildPhotoURL($photo); 回显“
”$url。”
”;
看起来您正在使用PHP5.3


只需更改您的
error\u reporting
设置,这样就不会显示
E\u DEPRECATED
类型的错误。

谢谢,这就是问题的原因。