file_exists does not work

This is a discussion on file_exists does not work within the PHP Language forums, part of the PHP Programming Forums category; <comp.lang.php> <Jerry Stuckle> <Mon, 13 Aug 2007 12:27:16 -0400> <...


Go Back   Usenet Forums > PHP Programming Forums > PHP Language

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #21 (permalink)  
Old 08-13-2007
Krustov
 
Posts: n/a
Default Re: [OT: conditional statements] Re: file_exists does not work

<comp.lang.php>
<Jerry Stuckle>
<Mon, 13 Aug 2007 12:27:16 -0400>
<35OdncUPYvU1G13bnZ2dnUVZ_sjinZ2d@comcast.com>

> It uses an unnecessary extra variable
>


Your right of course - i will commit hari kari immediately .

Reply With Quote
  #22 (permalink)  
Old 08-13-2007
gosha bine
 
Posts: n/a
Default Re: [OT: conditional statements] Re: file_exists does not work

On 13.08.2007 17:03 Krustov wrote:
> <comp.lang.php>
> <Jerry Stuckle>
> <Mon, 13 Aug 2007 10:58:22 -0400>
> <8ImdnYFtKYZP7F3bnZ2dnUVZ_szinZ2d@comcast.com>
>
>> Rik is correct. When you post sample code, you should try to ensure it
>> is a good example
>>

>
> Who decides what is good or bad on this newsgroup - you and rik ? .


yes ;)



--
gosha bine

makrell ~ http://www.tagarga.com/blok/makrell
php done right ;) http://code.google.com/p/pihipi
Reply With Quote
  #23 (permalink)  
Old 08-13-2007
Krustov
 
Posts: n/a
Default Re: [OT: conditional statements] Re: file_exists does not work

<comp.lang.php>
<gosha bine>
<Mon, 13 Aug 2007 18:37:10 +0200>
<46c088d0$0$11220$6e1ede2f@read.cnntp.org>

> makrell ~ http://www.tagarga.com/blok/makrell
>


Have you concidered using something like the following as all it needs
is class="makrell_background" put in the <body> tag .

..makrell_background
{
background-color: #FFFFFF;
background-image: url(images/header_fade.jpg);
background-repeat: repeat-x;
background-position: top;
}

You can see the effect on www.outerlimitsfan.co.uk and obviously you can
do a right click to get the image .

I like your clean web design and IMHO the above would enhance it
slightly by taking away 100% white look to it .




Reply With Quote
  #24 (permalink)  
Old 08-13-2007
gosha bine
 
Posts: n/a
Default Re: [OT: conditional statements] Re: file_exists does not work

On 13.08.2007 18:55 Krustov wrote:
> <comp.lang.php>
> <gosha bine>
> <Mon, 13 Aug 2007 18:37:10 +0200>
> <46c088d0$0$11220$6e1ede2f@read.cnntp.org>
>
>> makrell ~ http://www.tagarga.com/blok/makrell
>>

>
> Have you concidered using something like the following as all it needs
> is class="makrell_background" put in the <body> tag .
>
> .makrell_background
> {
> background-color: #FFFFFF;
> background-image: url(images/header_fade.jpg);
> background-repeat: repeat-x;
> background-position: top;
> }
>
> You can see the effect on www.outerlimitsfan.co.uk and obviously you can
> do a right click to get the image .
>
> I like your clean web design and IMHO the above would enhance it
> slightly by taking away 100% white look to it .
>


Thanks for the suggestion ;) I'll think about it.


--
gosha bine

makrell ~ http://www.tagarga.com/blok/makrell
php done right ;) http://code.google.com/p/pihipi
Reply With Quote
  #25 (permalink)  
Old 08-14-2007
Toby A Inkster
 
Posts: n/a
Default Re: [OT: conditional statements] Re: file_exists does not work

Krustov wrote:

> i will commit hari kari immediately .


http://www.realultimatepower.net/ninja/seppuku.htm

--
Toby A Inkster BSc (Hons) ARCS
[Geek of HTML/SQL/Perl/PHP/Python/Apache/Linux]
[OS: Linux 2.6.12-12mdksmp, up 54 days, 11:47.]

Fake Steve is Dead; Long Live Fake Bob!
http://tobyinkster.co.uk/blog/2007/08/13/fake-bob/
Reply With Quote
  #26 (permalink)  
Old 08-15-2007
lists73@skilltube.com
 
Posts: n/a
Default Re: file_exists does not work


We do have a nice movie linked on our side explaining the file
handling in php - maybe this helps :)

http://www.skilltube.com/index.php?o...d=44&Itemid=52


On 13 Aug., 16:17, Bob Sanderson <n...@LUVSPAMbobsanderson.com> wrote:
> Rik <luiheidsgoe...@hotmail.com> wrote innews:op.twz2u6xyqnv3q9@metallium:
>
> > On Mon, 13 Aug 2007 15:34:27 +0200, Krustov <m...@privacy.net> wrote:
> >> $pass=1;
> >> if (!file_exists($tempname)) {$pass=0;}
> >> if ($pass==0) //
> >> if ($pass==1) //

>
> > Euhm,
> > if(file_exists()){
> > //something
> > } else {
> > //something else
> > }

>
> That did it. Thanks to all.



Reply With Quote
  #27 (permalink)  
Old 08-15-2007
lists73@skilltube.com
 
Posts: n/a
Default Re: file_exists does not work


We do have a nice movie linked on our side explaining the file
handling in php - maybe this helps :)

http://www.skilltube.com/index.php?o...d=44&Itemid=52


On 13 Aug., 16:17, Bob Sanderson <n...@LUVSPAMbobsanderson.com> wrote:
> Rik <luiheidsgoe...@hotmail.com> wrote innews:op.twz2u6xyqnv3q9@metallium:
>
> > On Mon, 13 Aug 2007 15:34:27 +0200, Krustov <m...@privacy.net> wrote:
> >> $pass=1;
> >> if (!file_exists($tempname)) {$pass=0;}
> >> if ($pass==0) //
> >> if ($pass==1) //

>
> > Euhm,
> > if(file_exists()){
> > //something
> > } else {
> > //something else
> > }

>
> That did it. Thanks to all.



Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 07:58 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0