I am making a script in which i wana use curl to download a web page and check status.But problem is when i use curl in linux command line it downlaod htlm tags.How can we ignore these tage any idea.
I am making a script in which i wana use curl to download a web page and check status.But problem is when i use curl in linux command line it downlaod htlm tags.How can we ignore these tage any idea.
You just want the response headers?
Code:curl -I http://example.com
Thanks for quick reply.
I want to get page content to parse in my script.
yes correct so there is some way i can remove these html tags
If using PHP, you can use strip_tags()..
Bookmarks