Hi, how would i go about getting the title text from a page.
e.g. i am opening pages to get the source code, i want to be able to get the title of the page. say if the str was:
How would i be able to get the PHP: Hypertext Preprocessor from the str and assign it to a var?
Any ideas??
Regards,
Martin
Computing Help And Info:
e.g. i am opening pages to get the source code, i want to be able to get the title of the page. say if the str was:
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>PHP: Hypertext Preprocessor</title>
.. more body text here
Any ideas??
Regards,
Martin
Computing Help And Info: