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

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to