You are here: RE: [PHP] script « PHP « IT news, forums, messages
RE: [PHP] script

Posted by Rob Agar on 04/20/05 05:34

here's the clue to the other half of the puzzle:

you can do this kind of thing in php

if (whatever)
{
include 'something.php';
}
else
{
include 'something else.php';
}

hth,
Rob

> -----Original Message-----
> From: Stephen Johnson [mailto:Freeway@pets4u.com]
> Sent: Wednesday, 20 April 2005 11:53 AM
> To: tommy
> Cc: php-general@lists.php.net
> Subject: Re: [PHP] script
>
>
> http://php.net/time
> http://php.net/date
> http://php.net/mktime
>
>
> one or a combination of these functions will help you do what
> you want.
>
> HTH
> On Apr 19, 2005, at 6:37 PM, tommy wrote:
>
> > I'm hoping someone on this list can help me with something
> I've been
> > struggling with lately...
> >
> > I have a php based web page that I'd like to have load an
> include file
> > only when it is Tuesday 11pm - Weds 1 am Eastern Standard
> time (USA).
> > At other times I would like my page to load and alternate include
> > file.
> >
> > If someone could help me with the code or point me in the right
> > direction it would be very appreciated.
> >
> > Thanks.
> >
> > Tommy.
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
> *********
> Stephen Johnson
> stephen@thelonecoder.com
> http://www.thelonecoder.com
>
> --continuing the struggle against bad code--
> *********
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>

 

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

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