I need to be able to get the name of the web page enclosed within the <title> tags. I cannot use strip_tags because that would require me to assign the code to a variable which I cannot do. For eg
<html>
<head>
<title> test page </title>
</head>
<body>
blah blah blah ...........
</body>
</html>
I need to be able to get the string "test page" between the title tags and assign it to a php variable for display. Any suggestion will be greatly appreciated
Thx in advance
Name in the <title> tag
Moderator: General Moderators