You are here: Re: file_exists does not work « PHP Programming Language « IT news, forums, messages
Re: file_exists does not work

Posted by Krustov on 08/13/07 13:51

<comp.lang.php>
<Rik>
<Mon, 13 Aug 2007 15:38:56 +0200>
<op.twz2u6xyqnv3q9@metallium>

> > $pass=1;
> > if (!file_exists($tempname)) {$pass=0;}
> > if ($pass==0) //
> > if ($pass==1) //
>
> Euhm,
> if(file_exists()){
> //something
> } else {
> //something else
> }
>
> Keep it legible for other coders, limit the amount of random variables
> popping up in your script if you don't need them, and avoid
> double/repeated comparisons...
>

Up your arse .

I dont recall asking you for your zen like wisdom on how i should or
shouldnt write code .

 

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

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