SHOW:
|
|
- or go back to the newest paste.
1 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
2 | <html xmlns="http://www.w3.org/1999/xhtml"> | |
3 | <head> | |
4 | <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | |
5 | <title>Teste</title> | |
6 | ||
7 | <?php | |
8 | $pre = 'pre'; | |
9 | $num = 'num'; | |
10 | $v = 100; | |
11 | - | $quant = '0'; |
11 | + | $quant = 0; |
12 | ||
13 | while ($v < $quant) { | |
14 | ||
15 | $link = 'mode=signup&purchproc=pkg&operatorId=76&phoneNew%5B%5D=$pre&phoneNew%5B%5D=$num&submitNew.x=95&submitNew.y='; | |
16 | ||
17 | $ch = curl_init(); | |
18 | ||
19 | curl_setopt($ch, CURLOPT_URL, 'http://www.flycell.com.br/toques-mp3/claudia-leitte/as-mascaras-toques'); | |
20 | curl_setopt($ch, CURLOPT_POST, 1); | |
21 | curl_setopt($ch, CURLOPT_HEADER, 1); | |
22 | curl_setopt($ch, CURLOPT_POSTFIELDS, $link); | |
23 | curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); | |
24 | curl_exec($ch); | |
25 | curl_close($ch); | |
26 | ||
27 | $v++; | |
28 | } | |
29 | ||
30 | ||
31 | ?> |