[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4688: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4690: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4691: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4692: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
Webmasterplein.net • Toon onderwerp - Top 3, meest bezochte links -> Nieuwe Vraag!
aan alle goede dingen komt een eind, webmasterplein.net 2003 - 2013
wij danken jullie voor al mooie momenten die dankzij dit forum ontstonden - Derk, Rutger en Stef

Top 3, meest bezochte links -> Nieuwe Vraag!

Je komt er niet helemaal uit bij het scripten? Übergoede functie geschreven? Alles met betrekking tot scripting, kun je hier terecht.

Top 3, meest bezochte links -> Nieuwe Vraag!

Berichtdoor Douwe 666 » 21 okt 2007 08:55

Hallo allemaal,
Ik kom de rust maar eens verstoren, want wat is het rustig op WMP.
Wat ik zoek is een script waarmee ik op de Home pagina van mijn website, drie links kan weergeven van de meest bezochte artikelen op mijn site. Heeft er iemand tips, of een script? Helaas kan ik voorlog niet by mysql-admin, dus ik kan niet met databases werken.
BVD :P
Laatst bijgewerkt door Douwe 666 op 24 okt 2007 13:48, in totaal 2 keer bewerkt.

... Klik hier ...
Avatar gebruiker
Douwe 666
wmpr
 
Berichten: 299
Geregistreerd: 27 maart 2007 17:07
Woonplaats: Zeist

Re: Top 3, meest bezochte links -> script nodig

Berichtdoor frizzy » 21 okt 2007 09:07

Ik snap dat 'meest bezochte artikelen' gedeelte niet. Geef ons wat meer info/link. En je mag mijn mysq wel gebruiken ;)
frizzy
wmpr
 
Berichten: 4261
Geregistreerd: 20 sep 2006 16:03
Woonplaats: Boskoop :D

Re: Top 3, meest bezochte links -> script nodig

Berichtdoor Douwe 666 » 21 okt 2007 09:10

Hier is een voorbeeld van een link: http://www.circuitsonline.net/download/ Linksonderin, De top 5 hier. Is dat genoeg informatie? ;)

... Klik hier ...
Avatar gebruiker
Douwe 666
wmpr
 
Berichten: 299
Geregistreerd: 27 maart 2007 17:07
Woonplaats: Zeist

Re: Top 3, meest bezochte links -> script nodig

Berichtdoor libia » 21 okt 2007 09:17

maak een tabel aan met
url, tekst, aantalclicks
dan
SEL ECT url, tekst FR OM table_name OR DER BY aantalclicks LI MIT 3;
en om het te updaten
UP DATE table_name SET aantalclicks = aantalclicks+1 WH ERE url = 'url';

haal de spaties uit de hoofdletterwoorden weg!!

niet getest.. maar zou gewoon moeten werken

gr. leroy
ola, un cerveza por favor.


of
Avatar gebruiker
libia
wmpr
 
Berichten: 4149
Geregistreerd: 23 okt 2005 14:14
Woonplaats: Alphe!!

Re: Top 3, meest bezochte links -> script nodig

Berichtdoor Douwe 666 » 21 okt 2007 09:44


... Klik hier ...
Avatar gebruiker
Douwe 666
wmpr
 
Berichten: 299
Geregistreerd: 27 maart 2007 17:07
Woonplaats: Zeist

Re: Top 3, meest bezochte links -> script nodig

Berichtdoor frizzy » 21 okt 2007 15:04

frizzy
wmpr
 
Berichten: 4261
Geregistreerd: 20 sep 2006 16:03
Woonplaats: Boskoop :D

Re: Top 3, meest bezochte links -> script nodig

Berichtdoor Douwe 666 » 21 okt 2007 15:29

Maar ik kan dus geen DB gebruiken, zou het ook kunnen met een tekstbestand, dat je als het ware als een soort database begruikt?

... Klik hier ...
Avatar gebruiker
Douwe 666
wmpr
 
Berichten: 299
Geregistreerd: 27 maart 2007 17:07
Woonplaats: Zeist

Re: Top 3, meest bezochte links -> script nodig

Berichtdoor Douwe 666 » 22 okt 2007 08:58

Nu heb ik een script gevonden op internet voor een Unieke hit-teller, dat niet gebruikt maakt van een database.
Hij slaat alles op in twee bestanden.

Heb nu nog een vraagje:
Hoe kan ik een bestand uitlezen, een variabele uit dat bestand met 1 verhogen (variabele++) en dan weer terugschrijven in het bestand. :?:
Bijvoorbeeld:
$variabele = 2; // De variabele uit een ander bestand dus
Moet met het script worden:
$variabele = 3;
Alvast bedankt!

... Klik hier ...
Avatar gebruiker
Douwe 666
wmpr
 
Berichten: 299
Geregistreerd: 27 maart 2007 17:07
Woonplaats: Zeist

Re: Top 3, meest bezochte links -> Nieuwe Vraag!

Berichtdoor libia » 29 okt 2007 19:14

ola, un cerveza por favor.


of
Avatar gebruiker
libia
wmpr
 
Berichten: 4149
Geregistreerd: 23 okt 2005 14:14
Woonplaats: Alphe!!

Re: Top 3, meest bezochte links -> Nieuwe Vraag!

Berichtdoor Derk » 29 okt 2007 19:25

waarom gebruik je curl? dit staat op veel servers niet aan.

verders is dit mijn antwoord op dezelfde vraag uit een ander topic:
viewtopic.php?p=87030#p87030
Afbeelding
Avatar gebruiker
Derk
Beheerder
Beheerder
 
Berichten: 12634
Geregistreerd: 27 nov 2003 19:50
Woonplaats: Houten

Re: Top 3, meest bezochte links -> Nieuwe Vraag!

Berichtdoor libia » 29 okt 2007 19:27

omdat curl grappig is :)

en waarom zijn er twee topics met hetzelfde doel dan? :P
ola, un cerveza por favor.


of
Avatar gebruiker
libia
wmpr
 
Berichten: 4149
Geregistreerd: 23 okt 2005 14:14
Woonplaats: Alphe!!

Re: Top 3, meest bezochte links -> Nieuwe Vraag!

Berichtdoor Derk » 29 okt 2007 19:29

Afbeelding
Avatar gebruiker
Derk
Beheerder
Beheerder
 
Berichten: 12634
Geregistreerd: 27 nov 2003 19:50
Woonplaats: Houten

Re: Top 3, meest bezochte links -> Nieuwe Vraag!

Berichtdoor libia » 29 okt 2007 19:33

maar curl is veiliger ;)
ola, un cerveza por favor.


of
Avatar gebruiker
libia
wmpr
 
Berichten: 4149
Geregistreerd: 23 okt 2005 14:14
Woonplaats: Alphe!!

Re: Top 3, meest bezochte links -> Nieuwe Vraag!

Berichtdoor Douwe 666 » 29 okt 2007 19:37

Sorry, was vergeten het hier nog weg te halen, ik vraag telkens verschillende vragen in hetzelfde topic en daar wilde ik een keer wat aan doen, maar toen had ik het twee keer staan :x

... Klik hier ...
Avatar gebruiker
Douwe 666
wmpr
 
Berichten: 299
Geregistreerd: 27 maart 2007 17:07
Woonplaats: Zeist


Keer terug naar PHP, ASP, SQL



cron