I have a script that would get meta tags for a site in my directory! I have a problem my script only gets meta contents in the case 2 below and it does get the contents in meta tags for the case 1 This is the sample of the code I used to get meta tags how should I change the code? case 1: case 2;
At the link I posted, just scroll down a bit. There's a user submitted function called getUrlData() which should do what you want. EDIT: Or you can modify this for your needs. http://forums.digitalpoint.com/showthread.php?t=367792