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]
|