thyscorpion Posted July 25, 2006 Share Posted July 25, 2006 ???I wish to capture the text in the tag title of a [b]HTML[/b] page to use are a variable for my php scrip. when i say Tag text the page's title and meta keyword(s) are the same. Eg:[code] <meta http-equiv="keywords" content="aircraft charter">[/code]i need the content text: "aircraft charter". as a php variable to manipulate it. how can i go about doing this. i realize it might just be very easy and making a fool of myself asking about it :Pplease do reply soon. Link to comment https://forums.phpfreaks.com/topic/15564-how-to-capture-the-title-tag-text-as-variable-for-php/ Share on other sites More sharing options...
zq29 Posted July 25, 2006 Share Posted July 25, 2006 You could do this with eregi() and some regex wizardry. Check out regular-expressions.info, and if you get stuck, post your progress and problem in our Regex forum. Link to comment https://forums.phpfreaks.com/topic/15564-how-to-capture-the-title-tag-text-as-variable-for-php/#findComment-63322 Share on other sites More sharing options...
thyscorpion Posted July 26, 2006 Author Share Posted July 26, 2006 thanks will look into it and keep u posted. :-) Link to comment https://forums.phpfreaks.com/topic/15564-how-to-capture-the-title-tag-text-as-variable-for-php/#findComment-63864 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.