Re: Mapped Drive issue

From: Date: Wed, 18 Oct 2006 20:43:56 +0000
Subject: Re: Mapped Drive issue
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-243317@lists.php.net to get a copy of this message
Rob Kritzer wrote:
I have a script the use to work: $date = date("mdy"); mkdir("Y:/Daily_DisplayAds/todays_ads-$date"); But now I get this error: Warning: mkdir() [function.mkdir]: No such file or directory in C:\wamp\www\scripts\ad_finder\display_class.php on line 10 If I change "Y" to "C" it works, can anyone please help me thanks.
Just guessing, but does the Daily_DisplayAds exist on drive C but not on drive Y? mkdir can only create one directory - it does not create other missing directories automatically. If that's not it then it's almost certainly permission-related. -Stut

« previous php.general (#243317) next »