Gratis scripts =D

Gestart doorDaiman67 reacties184 weergaven

68 berichten · pagina 4 van 5

Berichten
3.000
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Ik denk laat ik eens proberen met dat codetje wat blijkt slaat nergens op krijg dit:

site:
Warning: Cannot modify header information - headers already sent by (output started at /home/estafette/domains/designpad.nl/public_html/Sitechek.php:3) in /home/estafette/domains/designpad.nl/public_html/Sitechek.php on line 6
"°PNG  IHDR^ÿQÀ‡çPLTEÿÿÿUÀ‚À“~¾IDAT("˜c`À 0cJb6°@nÀ…À¡Å `Å À°(À¾¥`xœq[" yvó"¡"¡?lÀ¸À¸0>.0°ÀˆãÀ‡©˜"¡qÀŽ6"°"ž"ž4 À‰l<Àƒ@¢X²·â l@7*f`"À¦1HÀœp"¡âÀƒ À…ÀŒÀ¾3°ñ€(ÀžW1À€¡"˜5"”"ºÀÅ ®MK" ¸¤xN"í ÀŽÀ¸À¸ÀƒÀ†ŽA¾<u"°ý¸<ÀˆÀ€`ˆ[ Àˆ" v˜"ž
0
Berichten
3.000
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Oke wat klopt er niet Eroor: Parse error: syntax error, unexpected T_VARIABLE, expecting ( in /home/estafette/domains/designpad.nl/public_html/Sitechek1.php on line 5

[COLOR= #0000BB]<?php[/COLOR]

[URL="http://www.php.net/if"]if[/URL] 

[COLOR= #0000BB]$ch[/COLOR] [COLOR= #007700]=[/COLOR] curl_init[COLOR= #007700]();[/COLOR]
[COLOR= #0000BB]$timeout[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]5[/COLOR][COLOR= #007700];[/COLOR] [COLOR= #FF8000]// set to zero for no timeout[/COLOR]
curl_setopt [COLOR= #007700]([/COLOR][COLOR= #0000BB]$ch[/COLOR][COLOR= #007700],[/COLOR] CURLOPT_URL[COLOR= #007700],[/COLOR] [COLOR= #DD0000]($_POST)[/COLOR][COLOR= #007700]{[/COLOR]
curl_setopt [COLOR= #007700]([/COLOR][COLOR= #0000BB]$ch[/COLOR][COLOR= #007700],[/COLOR] CURLOPT_RETURNTRANSFER[COLOR= #007700],[/COLOR] [COLOR= #0000BB]1[/COLOR][COLOR= #007700]);[/COLOR]
curl_setopt [COLOR= #007700]([/COLOR][COLOR= #0000BB]$ch[/COLOR][COLOR= #007700],[/COLOR] CURLOPT_CONNECTTIMEOUT[COLOR= #007700],[/COLOR] [COLOR= #0000BB]$timeout[/COLOR][COLOR= #007700]);[/COLOR]
[COLOR= #0000BB]$file_contents[/COLOR] [COLOR= #007700]=[/COLOR] curl_exec[COLOR= #007700]([/COLOR][COLOR= #0000BB]$ch[/COLOR][COLOR= #007700]);[/COLOR]
curl_close[COLOR= #007700]([/COLOR][COLOR= #0000BB]$ch[/COLOR][COLOR= #007700]);[/COLOR]

[URL="http://www.php.net/header"]header[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"content-type: image/png"[/COLOR][COLOR= #007700]);
([/COLOR][COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]site[/COLOR][COLOR= #007700]][/COLOR]
[URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][URL="http://www.php.net/ereg"]ereg[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]Error[/COLOR][COLOR= #007700],[/COLOR][COLOR= #0000BB]$file_contents[/COLOR][COLOR= #007700])){[/COLOR]
[COLOR= #0000BB]$link[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]Er is een error op mijn site[/COLOR][COLOR= #007700];
}[/COLOR] [URL="http://www.php.net/else"]else[/URL] [COLOR= #007700]{[/COLOR]

[URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][URL="http://www.php.net/ereg"]ereg[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]ONDERHOUD[/COLOR][COLOR= #007700],[/COLOR][COLOR= #0000BB]$file_contents[/COLOR][COLOR= #007700])){[/COLOR]
[COLOR= #0000BB]$link[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]Mijn site is in onderhoud[/COLOR][COLOR= #007700];
}[/COLOR] [URL="http://www.php.net/else"]else[/URL] [COLOR= #007700]{[/COLOR]

[URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][URL="http://www.php.net/ereg"]ereg[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]Forbidden[/COLOR][COLOR= #007700],[/COLOR][COLOR= #0000BB]$file_contents[/COLOR][COLOR= #007700])){[/COLOR]
[COLOR= #0000BB]$link[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]de site bestaat niet[/COLOR][COLOR= #007700];
}[/COLOR] [URL="http://www.php.net/else"]else[/URL] [COLOR= #007700]{[/COLOR]

[URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][URL="http://www.php.net/ereg"]ereg[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]Kan de webpagina niet vinden[/COLOR][COLOR= #007700],[/COLOR][COLOR= #0000BB]$file_contents[/COLOR][COLOR= #007700])){[/COLOR]
[COLOR= #0000BB]$link[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]Kan site niet vinden[/COLOR][COLOR= #007700];
}[/COLOR] [URL="http://www.php.net/else"]else[/URL] [COLOR= #007700]{[/COLOR]
[COLOR= #0000BB]$link[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]Mijn site is online[/COLOR][COLOR= #007700];
}[/COLOR]  [COLOR= #0000BB]$image[/COLOR] [COLOR= #007700]=[/COLOR] ImageCreate[COLOR= #007700]([/COLOR][COLOR= #DD0000]350[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #DD0000]20[/COLOR][COLOR= #007700]);[/COLOR]
            [COLOR= #0000BB]$achtergrond[/COLOR] [COLOR= #007700]=[/COLOR] ImageColorAllocate[COLOR= #007700]([/COLOR][COLOR= #0000BB]$image[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #0000BB]255[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #0000BB]255[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #0000BB]255[/COLOR][COLOR= #007700]);[/COLOR]
               [COLOR= #0000BB]$kleur[/COLOR] [COLOR= #007700]=[/COLOR] ImageColorAllocate[COLOR= #007700]([/COLOR][COLOR= #0000BB]$image[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #0000BB]0[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #0000BB]0[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #0000BB]0[/COLOR][COLOR= #007700]);[/COLOR]
    ImageString[COLOR= #007700]([/COLOR][COLOR= #0000BB]$image[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #0000BB]5[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #0000BB]0[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #0000BB]0[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #0000BB]$tekst[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #0000BB]$kleur[/COLOR][COLOR= #007700]);[/COLOR]
         ImagePng[COLOR= #007700]([/COLOR][COLOR= #0000BB]$image[/COLOR][COLOR= #007700]);[/COLOR]
         ImageDestroy[COLOR= #007700]([/COLOR][COLOR= #0000BB]$image[/COLOR][COLOR= #007700]);

}[/COLOR]
[URL="http://www.php.net/else"]else[/URL] [COLOR= #007700]{[/COLOR]
?>

<form name="form1" method="post" action="">
  <p>
    site :
    <input name="site" type="text" id="site">
</p>
    <input type="submit" name="Submit" value="Chek">
  </p>
</form>
[COLOR= #0000BB]<?php[/COLOR] [COLOR= #007700]}[/COLOR] ?>
0
Berichten
15.303
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Weet iemand misschien hoe je dingen kunt opslaan in een .text bestandje?
Ik wil met een cronjob automatisch inloggen op ene website en dan mijn saldo controleren. Hoe zorg ik ervoor dat de resultaten worden opgeslagen in een text?
0
Daiman

Lid · Topicstarter

Berichten
5.795
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
wil je het nou in text bestand of niet?
0
Berichten
15.303
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Ja.
0
Daiman

Lid · Topicstarter

Berichten
5.795
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
[COLOR= #0000BB]<?[/COLOR]
[COLOR= #FF8000]/*
##############################
# Auteur : Daiman M.         #
# Website : koopeenscript.nl #
# © copyright : 2010 - 2011  #
##############################
*/[/COLOR]
[COLOR= #0000BB]$file[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]"bestandsnaam.txt"[/COLOR][COLOR= #007700];[/COLOR]
[COLOR= #0000BB]$fopen[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/fopen"]fopen[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$file[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #DD0000]"a"[/COLOR][COLOR= #007700]);[/COLOR]
[URL="http://www.php.net/fwrite"]fwrite[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$fopen[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #0000BB]$string[/COLOR][COLOR= #007700]);[/COLOR]
[URL="http://www.php.net/fclose"]fclose[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$fopen[/COLOR][COLOR= #007700]);[/COLOR]
?>


$string moet dan je string zijn waar je de gegevens van in txt wilt hebben
0
Berichten
15.303
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Dankje, had het zelf ook al gehaald uit een IP log scriptje. yummie
0
Daiman

Lid · Topicstarter

Berichten
5.795
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
moet ik voor iemand een klein scriptje maken

meld het hier en ik maak het gratis (ga niet met hele leden systemen komen)
0
Berichten
2.517
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Server stats,
0
Daiman

Lid · Topicstarter

Berichten
5.795
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Propje schreef:
Server stats,
en wat bedoel je met server stats?
0
Berichten
1.314
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Een statistieken script met grafiek en aantal (unieke) bezoeken per dag/week/maandyummie
0
Daiman

Lid · Topicstarter

Berichten
5.795
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Kenzo schreef:
Een statistieken script met grafiek en aantal (unieke) bezoeken per dag/week/maandyummie
ok morgen ofsoow ga ik er mee beginnen
0

Jouw reactie

Deel je idee, stel een vraag of help een ander verder.

Editor laden…

Praat mee met de One2xs-community.

Inloggen om te reageren