in reply to If File Exists
Check out How do I test if I file exists without attaching a filehandle to it?.if (-e "$ENV{REMOTE_ADDR}.$ENV{HTTP_COOKIE}.txt") { do something if file exists } else { file does not exist }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
POTENTIAL SECURITY HOLE
by merlyn (Sage) on Jun 19, 2000 at 17:56 UTC |