Reply to Re: Time expressions

Your name:

Reply:


Posted by Oli Filth on 09/17/05 21:26

Luigi Donatello Asero said the following on 17/09/2005 15:42:
> "Oli Filth" <catch@olifilth.co.uk> skrev i meddelandet
> news:oULWe.1068$QU3.208@newsfe1-win.ntli.net...
>
>>Luigi Donatello Asero said the following on 16/09/2005 19:52:
>>
>>>How do I upload a different photo every minute?
>>
>>What do you mean by "upload"? Upload from where?
>
> In that case from a directory called "bilder".
> (see below).
>

So you don't actually mean "upload"? Uploading is (generally) the
process of transferring a file from a client computer to a server.


>>>Can I use this expression and call the photos
>>>for example 20-01.jpg 20-02.jpg and so on ?
>>>
>>><?php
>>>
>
> $picture='https://www.scaiecat-spa-gigi.com/bilder/'.strftime('H-M').'.jpg';
>
>>>print("<img src='$picture' alt=\"Amundön\"/ WIDTH=\"230\"/
>>>HEIGHT=\"230\"></a>")
>>>;
>>>?>

Well, other than the fact that you have forward slashes for no apparent
reason after alt="Amundon" and WIDTH="230", and an extraneous </a>, yes
it should work.

Couldn't you just try it and find out, rather than asking here? ;)


(Of course, this means that you would need to have 24*60 = 1440 photos
available...)


--
Oli

[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

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