You are here: Re: Really hardcore question about PHP needed :) « PHP Programming Language « IT news, forums, messages
Re: Really hardcore question about PHP needed :)

Posted by FFMG on 04/18/07 18:28

Toby A Inkster;60934 Wrote:
> FFMG wrote:
> > Toby A Inkster;60885 Wrote:
> >> FFMG wrote:
> >>
> >> > Why is file_exists(...) alone not a good option.
> >> > How would you check if a file exists for inclusion.
> >>
> >> include_path
> >
> > no.
> > Doesn't always work.
>
> Well, if you may want to check it's readable, as permissions may
> prevent
> PHP from reading the file. You could also run "php -l" on the sile
> using
> system() to check for syntax errors in the file first.
>
>

What?
Access has nothing to do with it.

That is not a solution to the problem I was giving.
I want to use include(...), not @include(...), how can I check if the
file can be included.

FFMG


--

'webmaster forum' (http://www.httppoint.com) | 'webmaster Directory'
(http://www.webhostshunter.com/) | 'Recreation Vehicle insurance'
(http://www.insurance-owl.com/other/car_rec.php)
'Free URL redirection service' (http://urlkick.com/)
------------------------------------------------------------------------
FFMG's Profile: http://www.httppoint.com/member.php?userid=580
View this thread: http://www.httppoint.com/showthread.php?t=13938

Message Posted via the webmaster forum http://www.httppoint.com, (Ad revenue sharing).

 

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

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