in reply to software error - Can't cd to : HELP !!
This won't solve your problem, but might point you in the right direction.#!/usr/bin/perl use CGI; use Cwd; my $q = new CGI; print $q->header(); print "<pre>\n"; printf("cwd: %s\n", getcwd); printf("/var/www/images: %s\n", -d "/var/www/images" ? 'is a directory +' : 'is not a directory'); printf("/var/www/images: %s\n", -r "/var/www/images" ? 'readable' : 'n +ot readable'); printf("</pre>");
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: software error - Can't cd to : HELP !!
by calypso (Initiate) on Feb 04, 2005 at 20:37 UTC |