Deutsch   English   Français   Italiano  
<tgd6cq$g53$1@shakotay.alphanet.ch>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!1.us.feeder.erje.net!3.us.feeder.erje.net!3.eu.feeder.erje.net!feeder.erje.net!news.alphanet.ch!alphanet.ch!.POSTED!not-for-mail
From: =?UTF-8?B?IkJlbm/DrnQgTC4i?= <benoit@leraillez.com.invalid>
Newsgroups: fr.rec.photo,fr.comp.infosystemes.www.auteurs
Subject: Re: =?UTF-8?B?SW50w6lncmF0aW9uIGRlIHBob3RvcyBkYW5zIHVuIGZvbmQ=?=
 =?UTF-8?B?IHN0YW5kYXJk?=
Date: Tue, 20 Sep 2022 20:04:43 -0000 (UTC)
Organization: C'est celui qui dit qui est
Archive: no
Message-ID: <tgd6cq$g53$1@shakotay.alphanet.ch>
References: <tcgmnf$426$1@shakotay.alphanet.ch> <tga0am$396$13@ns507557.dodin.fr.nf>
 <tga1qd$bmp$1@shakotay.alphanet.ch> <tga2bp$396$14@ns507557.dodin.fr.nf>
 <tga7a3$2m3$2@shakotay.alphanet.ch> <6329c15f$0$25466$426a74cc@news.free.fr>
Reply-To: benoit@leraillez.com
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 20 Sep 2022 20:04:43 -0000 (UTC)
Injection-Info: shakotay.alphanet.ch; posting-account="bobduvallois";
	logging-data="16547"; mail-complaints-to="usenet@alphanet.ch"; posting-host="afae0d8def0cf5f14abbb823c144bac2.nnrp.alphanet.ch"
User-Agent: MacCafe/2.09 (4D18)/moka (macOS 12.5.1 (21G83) - MacBookPro14,2)
Cancel-Lock: sha1:8fZWdFcrevJ8bXtpUBOFYpUU5oU= sha256:TspjNe6BtcFSNOl8UKvtHBIHpz7GJINH4/eT3Sua1og= sha256:cNlOsGYX78tiUwyNgUelmS2LdoDlosnNA4o5SgDpMdY=
In-Reply-To: <6329c15f$0$25466$426a74cc@news.free.fr>
X-No-Archive: yes
Bytes: 2484
Lines: 35

Avec enthousiasme, le 20 septembre 2022 à 15:34, christian écrivit :


> je le fais sur mon petit site avec un peu de php et de javascript.
> Je peux te donner le code que j'utilise si ça t’intéresse.
> le php qui lit les photos dans "dossier" (à adapter à ton cas)
>
> 	<?php
> 	$a = 0;
> 	$handle = opendir("dossier");
> 	while (($file = readdir())!=false) {
> 		clearstatcache(); 
> 		if($file!=".." && $file!="." && $file!="et.jpg")
> 			{
> 			echo "ejs_photo[$a] = 'dossier/$file';";
> 			$a++;
> 			}
> 		}
> 	closedir($handle);
> 	?>
>
> le javascript est visible en clair ici:
>
> http://www.baluchiterium.net/mer.php

Merci,

Cela n’a pas l’air trop compliqué (quoique :)

Je mets le dossier de côté et retourne travailler mes photos.

-- 
Souvenez-vous qu'on peut être hermétique – et ne rien renfermer. 
N'oubliez pas qu'hermétique cela veut dire aussi « bouché » !
-+- Sacha Guitry dans « Antivax te faire foutre » -+-