Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <form method="post">
- <textarea name="inp_text">http://memec.com/jembut.php</textarea>
- <input name="btn" type="submit" value="start"/>
- </form>
- <?php
- if(isset($_POST["btn"])){
- $data = $_POST["inp_text"];
- $lines = explode("\n", $data);
- foreach($lines as $web)
- {
- $ch = curl_init($web);
- curl_exec($ch);
- if (!curl_errno($ch)) {
- switch ($http_code = curl_getinfo($ch, CURLINFO_HTTP_CODE)) {
- case 200:
- echo $web.' Found<br>';
- break;
- default:
- echo '';
- }
- }
- curl_close($ch);
- }
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment