rohit78k Posted June 21, 2010 Share Posted June 21, 2010 Hi How can i get webpage title using php please check the link below as its doing for insurance type pages.. i want to do something like that... bt i m not getting any clue as m new and m using joomla 1.5. http://www.falcon-bikes.co.uk/quad-bike-insurance http://www.falcon-bikes.co.uk/motorcycle-insurance click on get a quote now link and see It gets the title automatically and i want some thing like this thanks Rohit Quote Link to comment https://forums.phpfreaks.com/topic/205410-getting-webpage-title-using-php/ Share on other sites More sharing options...
trq Posted June 21, 2010 Share Posted June 21, 2010 You can get the contents of a web page using file_get_contents then parse it for the title using preg_match. Quote Link to comment https://forums.phpfreaks.com/topic/205410-getting-webpage-title-using-php/#findComment-1074948 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.