How do you parse a file and pull a block of markup? |
[eluser]Sen Hu[/eluser]
Good question. Excellent responses so far. Here is an alternate. You want to extract block-i-need-to-get from Quote:...bunch of markups... in file "someremotefile" ? (BTW: Thanks for accurately posting your requirements.) Here is a small script. Code: var str content ; cat "[b]someremotefile[/b]" > $content This script is written in biterscripting ( http://www.biterscripting.com/install.html ) . You can transform it to php. Sen |
Welcome Guest, Not a member yet? Register Sign In |