You are here: Re: How to change pictures everyday using php « All PHP « IT news, forums, messages
Re: How to change pictures everyday using php

Posted by Luigi Donatello Asero on 09/28/83 11:17

"nemo" <no_address@not_hotmail.com> skrev i meddelandet
news:482o91dsednsp9s89371earj09873c63fn@4ax.com...
> On Mon, 30 May 2005 23:00:30 GMT, "Luigi Donatello Asero"
> <jaggillarfotboll@telia.com> wrote:
>
> >
> >"Geoff Berrow" <blthecat@ckdog.co.uk> skrev i meddelandet
> >news:9a5n91lp09ohfh0bgbukahqk9794e66i5i@4ax.com...
> >> I noticed that Message-ID: <UeLme.25973$d5.176316@newsb.telia.net>
from
> >> Luigi Donatello Asero contained the following:
> >>
> >> >Which were the advantages/disadvantages to use/not to use a
database?
> >>
> >> A text file is a database. But by database I assume you mean a
RDBMS.
> >>
> >> All you've said is that you want a different pic each day. Then you
say
> >> there may be a lot of pictures. So by what criteria are the
pictures
> >> chosen, or would any random picture do? Since you won't tell us the
> >> exact nature of the problem who can say whether you need a RDBMS or
not?
> >
> >
> >No random picture but a picture which I had defined before.
> You still haven't said how many pictures would be involved! You hint at
> 800, but in the form of a rhetorical question.
> So... how many pictures in total?
> 1?
> 7?
> 365?
> 800?
> How many?


I have about 800 pictures on the website. They will be probably more in the
future.
I would like to show 2 pictures on the home page and every day I would like
to show different pictures.
That means that I would show 365*2= 730 during one year on the homepage.
The year after I would show other 70 photos and after that I shall have
probably got more pictures anyway, which I could add to the database.
All that only for the homepage.
> >Is there any way to let robots save the "alt text" in the pictures even
if
> >they were changed automatically everyday?
> "save" - what do you mean by "save"? Save it to do what with it?
> >Where should I write the "alt text" if I used the kind of code which you
> >suggested?
> >Which were the advantages/disadvantages to use/not to use a database?
>
> Do you have access to a RDMS?
> Yes or no?


I have access to Mysql.
Is that RDMS? I do not know what you mean by RDMS.

> Do you want to use a different piece of alt text with every picture?
> Yes or no?.

Yes, I want to use a different piece of alt text with every picture.

--
Luigi ( un italiano che vive in Svezia)
https://www.scaiecat-spa-gigi.com/

 

Navigation:

[Reply to this 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

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