Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $html = <<<HTML
- <a href="?afolder=albums&anketaId=353202891&albumId=353202892&a=album_collapse&c=N" class="albumName">
- HTML;
- preg_match('~<a\s+href="([^\"]+)"\s+class="albumName"~', $html, $m);
- parse_str(parse_url($m[1], PHP_URL_QUERY), $params);
- print_r($params);
- ?>
Add Comment
Please, Sign In to add comment