Reply to Re: Generating images on the front page.

Your name:

Reply:


Posted by Toby Inkster on 09/27/97 11:52

Jonathan N. Little wrote:

>> for filename in *.jpg *.gif *.png; ##list all images in directory
>> do
>> <img src=images/"${filename}" width="190">
>> done
>
> Sorry, no can do. HTML is only markup not scripting, to do what you wish
> *requires* a script either server-side (best) PHP, Perl, Python, ASP,
> ColdFusion, ... or client-side (not-so-good) JavaScript.

Client-side Javascript won't do -- it has no way of reading the contents
of a directory on the server.

--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация