copy('https://graph.facebook.com/$fbid/picture?type=large', 'images/$fbid.jpg');
i am using the above code to store the image locally ..
the above code works without the variable. As it does not executes php in it so it is useless with links containing php variables....
The code works with a definite url is provided... i wanna use the above url of source and destination respectively to get image... please suggest me any other workaround or way that allows the links with variables to be executed ....