Re: [PHP] searching for string inside document

2003-01-10 Thread Maxim Maletsky
Martin Hudec [EMAIL PROTECTED] wrote... : Hello, i have document in html and i want to get out string between title tags to put it into another variable.. i am wondering if i could use eregi() herebut how? I cant figure out any possible way... same with strchr() and strstr() all

[PHP] searching for string inside document

2003-01-09 Thread Martin Hudec
Hello, i have document in html and i want to get out string between title tags to put it into another variable.. i am wondering if i could use eregi() herebut how? I cant figure out any possible way... same with strchr() and strstr() can anyone help me please? -- Best regards, Martin

RE: [PHP] searching for string inside document

2003-01-09 Thread Timothy Hitchens \(HiTCHO\)
: Friday, 10 January 2003 3:22 PM To: [EMAIL PROTECTED] Subject: [PHP] searching for string inside document Hello, i have document in html and i want to get out string between title tags to put it into another variable.. i am wondering if i could use eregi() herebut how? I cant

RE: [PHP] searching for string inside document

2003-01-09 Thread Timothy Hitchens \(HiTCHO\)
PM To: 'Martin Hudec'; [EMAIL PROTECTED] Subject: RE: [PHP] searching for string inside document Use Preg: // put your html into $html preg_match('/title(.*)\/title/Usi', $htlm, $title); echo $title[1]; ** very basic example Timothy Hitchens (HiTCHO) Open Platform