Re: [PHP] No Sense: [PHP] Update: [PHP] Weird?

2002-03-19 Thread scott furt
*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

Re: [PHP] Re: No Sense: [PHP] Update: [PHP] Weird?

2002-03-17 Thread heinisch
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 =

[PHP] Update: [PHP] Weird?

2002-03-16 Thread jtjohnston
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

Re: [PHP] Update: [PHP] Weird?

2002-03-16 Thread scott furt
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

[PHP] No Sense: [PHP] Update: [PHP] Weird?

2002-03-16 Thread jtjohnston
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

[PHP] Re: No Sense: [PHP] Update: [PHP] Weird?

2002-03-16 Thread David Robley
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?