Kruisjes

Gestart doorChristopher12 reacties27 weergaven

13 berichten · pagina 1 van 1

Christopher

Lid · Topicstarter

Berichten
7.757
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Dit is vreselijk, ik heb iedere keer kruisjes die opkomen en de helft images.
Hoe verwijder ik die kruisjes ik wil alleen images emo
bug: Manxi.nl/a/

Code:

<h3>Laatste aangeboden en goedkoopste producten ...</h3>
&nbsp;&nbsp;
<div class="widget" id="subscribe" style="width: 881px; height: 221px;">

[COLOR= #0000BB]<?php
$map[/COLOR] [COLOR= #007700]=[/COLOR] scandir[COLOR= #007700]([/COLOR][COLOR= #DD0000]/home/kay/domains/manxi.nl/public_html/a/plaatjes/[/COLOR][COLOR= #007700]);[/COLOR]
[COLOR= #0000BB]$count[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/count"]count[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$map[/COLOR][COLOR= #007700]);[/COLOR]

[COLOR= #0000BB]$plaatjes[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/Array"]Array[/URL] [COLOR= #007700]([/COLOR][COLOR= #0000BB]$map[/COLOR][COLOR= #007700][[/COLOR][URL="http://www.php.net/rand"]rand[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]0[/COLOR][COLOR= #007700], ([/COLOR][COLOR= #0000BB]$count[/COLOR] [COLOR= #007700]-[/COLOR] [COLOR= #0000BB]1[/COLOR][COLOR= #007700]))],[/COLOR] [COLOR= #0000BB]$map[/COLOR][COLOR= #007700][[/COLOR][URL="http://www.php.net/rand"]rand[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]0[/COLOR][COLOR= #007700], ([/COLOR][COLOR= #0000BB]$count[/COLOR] [COLOR= #007700]-[/COLOR] [COLOR= #0000BB]1[/COLOR][COLOR= #007700]))],[/COLOR] [COLOR= #0000BB]$map[/COLOR][COLOR= #007700][[/COLOR][URL="http://www.php.net/rand"]rand[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]0[/COLOR][COLOR= #007700], ([/COLOR][COLOR= #0000BB]$count[/COLOR] [COLOR= #007700]-[/COLOR] [COLOR= #0000BB]1[/COLOR][COLOR= #007700]))]);[/COLOR]

[COLOR= #FF8000]//Gebruik[/COLOR]

[URL="http://www.php.net/foreach"]foreach[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$plaatjes[/COLOR] [COLOR= #007700]as[/COLOR] [COLOR= #0000BB]$plaatje[/COLOR][COLOR= #007700]){[/COLOR]
    [URL="http://www.php.net/echo"]echo[/URL][COLOR= #DD0000]  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <img src="/a/plaatjes/[/COLOR] [COLOR= #007700].[/COLOR] [COLOR= #0000BB]$plaatje[/COLOR] [COLOR= #007700].[/COLOR] [COLOR= #DD0000]" />[/COLOR][COLOR= #007700];
}[/COLOR]
?>

</div>
<b>Beheer:</b>
<a href="meld.php">Prijsmelding</a> | <a href="categorie.php">Categorien</a> | <a href="member.php"> Meer.. </a>
0
Berichten
3.314
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
je opent nu de files /1 /2 etc, je moet er wel een extensie achter zetten yummie
0
Christopher

Lid · Topicstarter

Berichten
7.757
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Oké.. Maar waar moet ik die zetten biggrin
0
Tgrm

Lid

Berichten
2.133
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Christopher schreef:
Oké.. Maar waar moet ik die zetten biggrin
echo  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <img src="/a/plaatjes/ . $plaatje . .jpg" />;


Zo? smile
0
Berichten
3.314
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
of .png of .gif , ligt aan je extensie he
0
Christopher

Lid · Topicstarter

Berichten
7.757
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Tgrm schreef:
Eerdere citaten tonen
Christopher schreef:
Oké.. Maar waar moet ik die zetten biggrin
echo  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <img src="/a/plaatjes/ . $plaatje . .jpg" />;


Zo? smile
Heeft niks mee te maken cry
0
Berichten
4.451
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
nu staat er in de url: .png.jpg van de plaatjes, dus dat moet je er denk ik niet achter zetten
0
Berichten
15.446
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
wat heb je allemaal in de map plaatjes staan?
Alleen afbeeldingen of ook nog andere bestanden?
0
Christopher

Lid · Topicstarter

Berichten
7.757
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Alleen afbeeldingen.

Plaatje1.png
Plaatje2.png
Plaatje3.png

(plaatje=product)
0
Christopher

Lid · Topicstarter

Berichten
7.757
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Kabump
0
Wdbs

Lid

Berichten
2.512
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Bij mij doen ze het gewoon. (Safari @iPod)
0
Berichten
6.722
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Ik denk dat het komt door verborgen bestanden in die map.

<h3>Laatste aangeboden en goedkoopste producten ...</h3>
&nbsp;&nbsp;
<div class="widget" id="subscribe" style="width: 881px; height: 221px;">

[COLOR= #0000BB]<?php
$map[/COLOR] [COLOR= #007700]=[/COLOR] scandir[COLOR= #007700]([/COLOR][COLOR= #DD0000]/home/kay/domains/manxi.nl/public_html/a/plaatjes/[/COLOR][COLOR= #007700]);[/COLOR]
[COLOR= #0000BB]$count[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/count"]count[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$map[/COLOR][COLOR= #007700]);[/COLOR]

[COLOR= #0000BB]$plaatjes[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/Array"]Array[/URL] [COLOR= #007700]([/COLOR][COLOR= #0000BB]$map[/COLOR][COLOR= #007700][[/COLOR][URL="http://www.php.net/rand"]rand[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]0[/COLOR][COLOR= #007700], ([/COLOR][COLOR= #0000BB]$count[/COLOR] [COLOR= #007700]-[/COLOR] [COLOR= #0000BB]1[/COLOR][COLOR= #007700]))],[/COLOR] [COLOR= #0000BB]$map[/COLOR][COLOR= #007700][[/COLOR][URL="http://www.php.net/rand"]rand[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]0[/COLOR][COLOR= #007700], ([/COLOR][COLOR= #0000BB]$count[/COLOR] [COLOR= #007700]-[/COLOR] [COLOR= #0000BB]1[/COLOR][COLOR= #007700]))],[/COLOR] [COLOR= #0000BB]$map[/COLOR][COLOR= #007700][[/COLOR][URL="http://www.php.net/rand"]rand[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]0[/COLOR][COLOR= #007700], ([/COLOR][COLOR= #0000BB]$count[/COLOR] [COLOR= #007700]-[/COLOR] [COLOR= #0000BB]1[/COLOR][COLOR= #007700]))]);[/COLOR]

[COLOR= #FF8000]//Gebruik[/COLOR]

[COLOR= #0000BB]$i[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]0[/COLOR][COLOR= #007700];[/COLOR]
[URL="http://www.php.net/while"]while[/URL][COLOR= #007700]([/COLOR][URL="http://www.php.net/exif_imagetype"]exif_imagetype[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$plaatjes[/COLOR][COLOR= #007700][[/COLOR][COLOR= #0000BB]$i[/COLOR][COLOR= #007700]]) &&[/COLOR] $[COLOR= #0000BB]1[/COLOR] [COLOR= #007700]<[/COLOR] [COLOR= #0000BB]4[/COLOR][COLOR= #007700]){[/COLOR]
    [URL="http://www.php.net/echo"]echo[/URL][COLOR= #DD0000]  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <img src="/a/plaatjes/[/COLOR] [COLOR= #007700].[/COLOR] [COLOR= #0000BB]$plaatjes[/COLOR][COLOR= #007700][[/COLOR][COLOR= #0000BB]$i[/COLOR][COLOR= #007700]] .[/COLOR] [COLOR= #DD0000]" />[/COLOR][COLOR= #007700];[/COLOR]
   [COLOR= #0000BB]$i[/COLOR][COLOR= #007700]++;
}[/COLOR]
?>

</div>
<b>Beheer:</b>
<a href="meld.php">Prijsmelding</a> | <a href="categorie.php">Categorien</a> | <a href="member.php"> Meer.. </a>


Dit is ff een heel andere manier. Ik heb geen idee of het werkt.

@Wbds, Na een paar keer f5 kom je wel plaatjes tegen die niet werken.
0
Christopher

Lid · Topicstarter

Berichten
7.757
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Werkt niet emoMaar bedankt voor de moeite, het geeft namelijk 1 fout bij die van wiitse.
Spoiler tonen
Parse error: syntax error, unexpected T_LNUMBER, expecting T_VARIABLE or $ in /home/kay/domains/manxi.nl/public_html/a/index.php on line 30
Dat te maken heeft met deze 2 regels:
Spoiler tonen
$i = 0;
while(exif_imagetype($plaatjes[$i]) && $1 < 4){
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