Re: [PHP] Is there a better way to do this

2001-05-16 Thread Tiger Quimpo
On Thu, 17 May 2001, Christopher Heschong wrote: > on 5/16/01 5:10 PM, Richard Kurth at [EMAIL PROTECTED] wrote: > > [snip] > > if(file_exists("userdata")) { > > end; > > } elseif(file_exists("userdata1")) { > > copy('userdata1','userdata') ; > > system("rm userdata1"); > > end; > > } else { > >

RE: Re[2]: [PHP] Is there a better way to do this

2001-05-16 Thread scott [gts]
> -Original Message- > From: Richard Kurth [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, May 16, 2001 5:23 PM > To: [EMAIL PROTECTED] > Subject: Re[2]: [PHP] Is there a better way to do this > > > Hello scott, > I what it to look and see if the file exists if it do

Re: [PHP] Is there a better way to do this

2001-05-16 Thread Tomasz Piłat
Christopher Heschong wrote: > I'd use unlink("userfile1") rather than system("rm userfile1") just to be pretty. Or to be more secure :))) Poncki -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To cont

Re: [PHP] Is there a better way to do this

2001-05-16 Thread Christopher Heschong
on 5/16/01 5:10 PM, Richard Kurth at [EMAIL PROTECTED] wrote: > Is there a better way to do thisI want it to look and see if the > userdata file is there and if true the bypass everything else run rest > of code. If is not then check to see if userdat1 is and if it is > change it's name to us

Re[2]: [PHP] Is there a better way to do this

2001-05-16 Thread Richard Kurth
to:[EMAIL PROTECTED]] >> Sent: Wednesday, May 16, 2001 5:10 PM >> To: [EMAIL PROTECTED] >> Subject: [PHP] Is there a better way to do this >> >> >> Is there a better way to do thisI want it to look and see if the >> userdata file is there and if true the byp

RE: [PHP] Is there a better way to do this

2001-05-16 Thread scott [gts]
1 5:10 PM > To: [EMAIL PROTECTED] > Subject: [PHP] Is there a better way to do this > > > Is there a better way to do thisI want it to look and see if the > userdata file is there and if true the bypass everything else run rest > of code. If is not then check to see if use

[PHP] Is there a better way to do this

2001-05-16 Thread Richard Kurth
Is there a better way to do thisI want it to look and see if the userdata file is there and if true the bypass everything else run rest of code. If is not then check to see if userdat1 is and if it is change it's name to userdata the run rest of code. If none of the are there then gust shut do