Als dit (zie 2de code) in de source staat, hoe laat je hem dan http://link.com/dagklik.php?id=xxx bezoeken elk om de beurt in PHP?
Ik heb dit al;
Het gaat om zon code;
Alvast bedankt voor de hulp
Ik heb dit al;
[COLOR= #0000BB]<?php[/COLOR]
[URL="http://www.php.net/error_reporting"]error_reporting[/URL][COLOR= #007700]([/COLOR]E_ALL[COLOR= #007700]);[/COLOR]
[COLOR= #0000BB]$ch[/COLOR] [COLOR= #007700]=[/COLOR] curl_init[COLOR= #007700]();[/COLOR]
[COLOR= #0000BB]$user[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]x[/COLOR][COLOR= #007700];[/COLOR]
[COLOR= #0000BB]$pass[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]x[/COLOR][COLOR= #007700];[/COLOR]
curl_setopt [COLOR= #007700]([/COLOR][COLOR= #0000BB]$ch[/COLOR][COLOR= #007700],[/COLOR] CURLOPT_URL[COLOR= #007700],[/COLOR] [COLOR= #DD0000]http://x.nl/inloggen.php[/COLOR][COLOR= #007700]);[/COLOR]
curl_setopt [COLOR= #007700]([/COLOR][COLOR= #0000BB]$ch[/COLOR][COLOR= #007700],[/COLOR] CURLOPT_POST[COLOR= #007700],[/COLOR] [COLOR= #0000BB]1[/COLOR][COLOR= #007700]);[/COLOR]
curl_setopt [COLOR= #007700]([/COLOR][COLOR= #0000BB]$ch[/COLOR][COLOR= #007700],[/COLOR] CURLOPT_POSTFIELDS[COLOR= #007700],[/COLOR] [COLOR= #DD0000]gebruikersnaam=[/COLOR] [COLOR= #007700].[/COLOR] [COLOR= #0000BB]$user[/COLOR] [COLOR= #007700].[/COLOR] [COLOR= #DD0000]&wachtwoord=[/COLOR] [COLOR= #007700].[/COLOR] [COLOR= #0000BB]$pass[/COLOR][COLOR= #007700]);[/COLOR]
curl_setopt [COLOR= #007700]([/COLOR][COLOR= #0000BB]$ch[/COLOR][COLOR= #007700],[/COLOR] CURLOPT_HEADER[COLOR= #007700],[/COLOR] FALSE[COLOR= #007700]);[/COLOR]
curl_setopt [COLOR= #007700]([/COLOR][COLOR= #0000BB]$ch[/COLOR][COLOR= #007700],[/COLOR] CURLOPT_COOKIEJAR[COLOR= #007700],[/COLOR] [COLOR= #DD0000]cookie.txt[/COLOR][COLOR= #007700]);[/COLOR]
curl_setopt [COLOR= #007700]([/COLOR][COLOR= #0000BB]$ch[/COLOR][COLOR= #007700],[/COLOR] CURLOPT_RETURNTRANSFER[COLOR= #007700],[/COLOR] TRUE[COLOR= #007700]);[/COLOR]
curl_setopt [COLOR= #007700]([/COLOR][COLOR= #0000BB]$ch[/COLOR][COLOR= #007700],[/COLOR] CURLOPT_USERAGENT[COLOR= #007700],[/COLOR] [COLOR= #DD0000]Mozilla/4.0[/COLOR][COLOR= #007700]);[/COLOR]
curl_exec [COLOR= #007700]([/COLOR][COLOR= #0000BB]$ch[/COLOR][COLOR= #007700]);[/COLOR]
[COLOR= #FF8000]##Hier zou die code moeten komen##[/COLOR]
?> Het gaat om zon code;
<tr class="link">
<td>
<a target="_blank" href="dagklik.php?id=45000">xxxx a</a>
</td>
<td>
0,8 punt(en) / klik
</td>
</tr>
<tr class="link">
<td>
<a target="_blank" href="dagklik.php?id=37582">xxxx</a>
</td>
<td>
0,8 punt(en) / klik
</td>
</tr>
<tr class="link">
<td>
<a target="_blank" href="dagklik.php?id=30917">xxxx</a>
</td>
<td>
0,8 punt(en) / klik
</td>
</tr>
<tr class="link">
<td>
<a target="_blank" href="dagklik.php?id=32995">xxxx</a>
</td>
<td>
0,8 punt(en) / klik
</td>
</tr>
<tr class="link">
<td>
<a target="_blank" href="dagklik.php?id=29207">xxxx</a>
</td>
<td>
0,8 punt(en) / klik
</td>
</tr>
<tr class="link">
<td>
<a target="_blank" href="dagklik.php?id=48835">xxxxx</a>
</td>
<td>
0,8 punt(en) / klik
</td>
</tr>
<tr class="link">
<td>
<a target="_blank" href="dagklik.php?id=46940">xxxx</a>
</td>
<td>
0,8 punt(en) / klik
</td>
</tr> Alvast bedankt voor de hulp


