html file rading...

can any one tell me how to read a html file with php…

i mean if the html file have a

tag i want to interpret and get the contents within that

tag…

hope u understand what am trying to say…

please help me…

thanx…

fopen(), fread(), or try get_file_contents().

Then u can just parse through the data, using substr(), strpos(), str().

There are several other string manipulation functions, but you can find more out at http://www.php.net on any I have provided and others.

Sponsor our Newsletter | Privacy Policy | Terms of Service