New plug-in: random

From: Date: Tue, 11 Mar 2003 10:27:43 +0000
Subject: New plug-in: random
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-8545@lists.php.net to get a copy of this message
Hi, I made a really simple and small plug-in. Well it's so simple that I shouldn't be posting here... But anyway. It outputs a random number between two values that you choose. I use it to display a random image: <img src="mypath/image{random in=1 out=5}.gif> I have in my directory images named "image1.gif" to "image5.gif" Hope you can find it a little helpful. the plug-in is available at the Wiki page. ========================================================== Ce message et ses pièces jointes (le "message") est destiné à l'usage exclusif de son destinataire. Si vous recevez ce message par erreur, merci d'en aviser immédiatement l'expéditeur et de le détruire ensuite. Le présent message pouvant être altéré à notre insu, Crédit Agricole Indosuez ne peut pas être engagé par son contenu. Tous droits réservés. This message and/or any attachments (the "message") is intended for the sole use of its adressee. If you are not the adressee, please immediately notify the sender and then destroy the message. As this message and/or any attachments may have been altered without our knowledge, its content is not legally binding on Crédit Agricole Indosuez. All rights reserved. ==========================================================

« previous php.smarty.general (#8545) next »