Reply to Re: Change includes if PHP gets a 404

Your name:

Reply:


Posted by lallous on 10/11/05 12:04

Hello

You can check if a file exists using file_exists()

Is that what you're looking for?

--
Elias
<jamina1@gmail.com> wrote in message
news:1129014077.223486.179830@g49g2000cwa.googlegroups.com...
> Is there a way for PHP to check if a file that its trying to include
> exists?
>
> I'm trying to make a dynamically updated page based on a series of
> dates, and if the user gets to TODAY, I don't want them to be able to
> go into the future.
> Is there a way for PHP to check that the next days include file
> wouldn't exist?
>

[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

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