Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $options = array(
- CURLOPT_URL => 'http://audiotag.info/index.php',
- CURLOPT_RETURNTRANSFER => true,
- CURLOPT_POST => true,
- CURLOPT_POSTFIELDS => http_build_query(array('URL' => $_GET['url'], 'step' => '22')),
- );
- $myCurl = curl_init();
- curl_setopt_array($myCurl, $options);
- $response = curl_exec($myCurl);
- curl_close($myCurl);
- $pos = strpos($response, '<form action=');
- $content = substr($response, $pos);
- $pos = strpos($content, '" alt="code');
- $content = substr($response, 0, $pos);
- $pos = strpos($content, 'name" value="');
- $fname = substr($response, $pos);
- $pos = strpos($fname, '"');
- $fname = substr($fname, 0, $pos);
- echo $fname;
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement