I want to pull the title (example) of a webpage out of some text. The
end result being "example". What preg function should I use and can someone give me
the the code that will do it?
J.
PS. I've been on php.net trying to figure it out.
--
___
Get
> No it should just get rid of the www so your left
> with domain.com and now that I see what you are
> after it should have been:
I don't aways use www.domain.com. Sometimes I use test.domain.com. I have about 14k of
these pointing to the same script. Otherwise I would just remove the www -lo
> So why does college suck? Afraid of learning?
Feel free to ask me off the list and I'll explain why I started the site.
Thanks for the code. Anyway way of making it one line and with the leading "."?
J.
--
___
Get your free Verizonmail at www.veriz
> str_replace('/www.','/',$parseddomain);
wont this just make me get a .com when I use my thing to parse the domain?
--
___
Get your free Verizonmail at www.verizonmail.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: htt
4 matches
Mail list logo