[PHP] preg question

2003-10-07 Thread Mike J
I want to pull the title (titleexample/title) 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. --

Re: [PHP] parsing domains

2003-08-28 Thread Mike J
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:

Re: [PHP] parsing domains

2003-08-28 Thread Mike J
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

Re: Re[2]: [PHP] parsing domains

2003-08-28 Thread Mike J
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 -lol.