Click to See Complete Forum and Search --> : -e functionality for a file check on the server side?


furious70
01-06-2004, 02:36 PM
Is there any way to do a shell/perl like -e to check for the existance of a directory on the server side? I want to warn a user that their action may clobber an existing transaction if they continue, and that is checked by looking for a directory with the same order number. Visually, I'd like to not have to submit the page, but rather throw a warning message and continue button on at the top if the directory does exist.

Khalid Ali
01-06-2004, 05:54 PM
not with JavaScript only.