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