*shakes head* i know that $date is a string.
your script is failing because you are trying to
write to directory C:\\ccl_www\\$date, which
does not exist. you have to create it before
you try and write files into it.
jtjohnston wrote:
No!? $date is a string?!
$date = date (MD);
How
At 17.03.2002 17:09, you wrote:
Hey folks, I read this with half of mind, but as I know, the function
date needs something to convert from.
$date = date (MD);
for my opinion it should be called $date=date(MD,time());
or $date=date(MD,mktime(..));
then everything should work
$to_path =
I have created date :)
$date = date (MD);
That's not it. It seems to fail at one level or another, I think, becuase the
function calls itself - and probably gets lost somehow.
John
... i think you might have to create the
$date directory before writing a file to it.
writing to
I meant, have you created a physical directory
named $date?
That's your problem. There's no directory
named $date on your computer, and you're
trying to write files into a non-existent
directory.
jtjohnston wrote:
I have created date :)
$date = date (MD);
That's not it. It seems to fail at
No!? $date is a string?!
$date = date (MD);
How does that make a difference?
$to_path = c:\\ccl_www\\.$date.\\ccl_www\\;
You want me to change it to:
$to_path = c:\\ccl_www\\$date\\ccl_www\\;
Does anyone follow why?
Scott Furt wrote:
I meant, have you created a physical directory
named
In article [EMAIL PROTECTED],
[EMAIL PROTECTED] says...
No!? $date is a string?!
$date = date (MD);
How does that make a difference?
$to_path = c:\\ccl_www\\.$date.\\ccl_www\\;
You want me to change it to:
$to_path = c:\\ccl_www\\$date\\ccl_www\\;
Does anyone follow why?
6 matches
Mail list logo