how to get the header information of a website using php???

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
raahatazim
Forum Newbie
Posts: 3
Joined: Sat Aug 04, 2007 1:17 pm

how to get the header information of a website using php???

Post by raahatazim »

hi......it would be a great help if someone provides the php code to get the header info of some site,like http://www.google.com........any help would be appreciated.
User avatar
Benjamin
Site Administrator
Posts: 6935
Joined: Sun May 19, 2002 10:24 pm

Post by Benjamin »

You can use curl to do that.
Post Reply