php parse without replacing
Posted
by David
on Stack Overflow
See other posts from Stack Overflow
or by David
Published on 2010-04-19T03:52:42Z
Indexed on
2010/04/19
3:53 UTC
Read the original article
Hit count: 316
i have seen some parsing code, thats really long, but it doesn't involve replacing stuff inside an opened file using file_get_contents() for example. im talking about say parsing a .doc into .html format, they read the file then output it in html. i have tried this using arrays and preg_replace but it just doesn't seem as clean as other code. anyone know the basic concept of parsing? thanks, tell me if im not clear
© Stack Overflow or respective owner