0

Found it!

I know you've already made some progress on this, but if you want to take a look, either for ideas or to use part of the code, here's the link: http://github.com/TySkby/WikiFB

If you have any questions, I'm happy to help. Good luck!

0

ok, it seems that what I need is this:

$parsed = get_string_between($contents, $parseBegin, $parseEnd);

    $contentParsed = $parseBegin . $parsed . $parseEnd;

    $handle = fopen($localFile, 'r+');
    $writer = fwrite($handle, $contentParsed);
    fclose($handle);

    echo "Parsed content saved to " . $loc . "\n";
    return TRUE;
}

Let's check it

0

Hi guys!

Finally I found the solution! Easyer than I expected, the flv was a URL string so all I was needing was something like this:

preg_match_all('/url=(.*?;amp;)/sim', $content, $result, PREG_PATTERN_ORDER);
    $result = $result[1];

thank you!

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.