dswimboy
03-26-2004, 03:32 AM
I would like to know the title of an HTML file. i feel like there should be a function to get this, does anyone know of any? if not, should i just use regex?
|
||||
Grabbing HTML Titledswimboy 03-26-2004, 03:32 AM I would like to know the title of an HTML file. i feel like there should be a function to get this, does anyone know of any? if not, should i just use regex? raf 03-26-2004, 08:13 AM Uehh. Not sure if i understand when you would use somethin like that. In this for html-files that are stored on your server? Regex would work if you can read the file (not request it). dswimboy 03-27-2004, 06:21 PM yeah the files are on my server. so i'll just use regex, thanks. bcarl314 03-27-2004, 08:34 PM Do you mean grab the text between the <title> and </title> tags? If so you could use a regular expression for that (and preg_match() ) |
| |||
EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum