Récupérer lien après redirection

Fermé
Sggg - 14 mars 2011 à 18:33
 kikikoo - 14 mars 2011 à 18:37
Bonjour,

Le lien dans la fonction imagecreatefrompng affiche une image après une redirection qui fait planté le script.

<?php
header('Content-type: image/png');
$image = imagecreatefrompng("robothumb.com/src/?url=www.yahoo.fr");
imagepng($image);
?>


Comment récupérer le lien après la redirection ?

Merci
A voir également:

1 réponse

HTTP referrer

Tadammmm ;)
0