I am wondering how to fetch and resize myspace photo from any profile in php and import it to an external site, kinda like mobstersadds dot com has done it? Have been trying to figure it out but no success... I know it can be done with php cause that's how they did it! THanks for the help!
You would want to do something along the lines of... $sContent = file_get_contents("http://www.myspace.com/profile.html"); preg_match_all('\<img src=(.*)\>', $sContent, $aMatches); $sImage = $aMatches[2]; resizeImage($sImage); PHP: Please note this is the actual code for this but merely a blueprint on what you should be doing. You'd want to fix the regular expression to match the profile image and use an image resizing class (http://www.google.com/search?q=php image resize class). Perhaps if you posted some code you are using I could give a more specific answer.