Bonjour,
j'utilise phpflickr (WAMP 2.0) pour l'intégration des photos sous
flickr mais lorsque j'upload la photo en utilisant la méthode
sync_upload j'obtiens une série de message d'avertissement m'indiquant
que j'utilise des méthodes obsolètes.Et ce message m'empêche
d'afficher une page sur symfony.
Pouvez vous m'aidez ?
voir ci dessous le message....


[code]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

As i'm using symfony ;, i don't want to show this warning message on
the GUi and i want to redirect my request to a page i have defined.THe
warning message is shown after the method sync_upload.

This is my code:

require_once("../Flickr/phpFlickr.php"); // authentication $f = new
phpFlickr("key","secret"); if($f!=null) echo "connexion réussie"; $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 "".$url."" ;

--~--~---------~--~----~------------~-------~--~----~
Vous avez reçu ce message, car vous êtes abonné au groupe Groupe "Symfony-fr" 
de Google Groupes.
 Pour transmettre des messages à ce groupe, envoyez un e-mail à 
l'adresse [email protected]
 Pour résilier votre abonnement à ce groupe, envoyez un e-mail à 
l'adresse [email protected]
 Pour afficher d'autres options, visitez ce groupe à l'adresse 
http://groups.google.com/group/symfony-fr?hl=fr
-~----------~----~----~----~------~----~------~--~---

Répondre à