Warning: get_meta_tags() [function.get-meta-tags]: failed to

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
gth759k
Forum Commoner
Posts: 76
Joined: Mon Jun 15, 2009 3:04 am

Warning: get_meta_tags() [function.get-meta-tags]: failed to

Post by gth759k »

I get this error when I try to parse the metadata out of pages. Does anyone know what the problem is?

Code: Select all

 
Warning: get_meta_tags('http://www.anyurl.com') [function.get-meta-tags]: failed to open stream: HTTP request failed! HTTP/1.0 403 Forbidden
 
User avatar
requinix
Spammer :|
Posts: 6617
Joined: Wed Oct 15, 2008 2:35 am
Location: WA, USA

Re: Warning: get_meta_tags() [function.get-meta-tags]: failed to

Post by requinix »

Have you looked into what "403 Forbidden" could be hinting at?
Post Reply