Jump to content


Photo

rename()


  • Please log in to reply
2 replies to this topic

#1 tekobi

tekobi
  • Members
  • Pip
  • Newbie
  • 2 posts

Posted 19 September 2005 - 03:40 PM

Im moving some directories and its content on my site using a php script I wrote, however apache crashes even though all the files and db changes take place just like it was meant to happen. Also PHP spits ' file does not exists'. I wander what might be a problem. Im using a standard rename(olddir, newdir) function in my script.

could anyone give any ideas

#2 effigy

effigy
  • Staff Alumni
  • Advanced Member
  • 3,600 posts
  • LocationIL

Posted 19 September 2005 - 07:49 PM

we need more details: code, users, groups, permissions, windows? unix?, what is moving where and why? what are the php and apache versions?
Regexp | Unicode Article | Letter Database
/\A(e)?((1)?ff(?:(?:ig)?y)?|f(?:ig)?)\z/

#3 tekobi

tekobi
  • Members
  • Pip
  • Newbie
  • 2 posts

Posted 21 September 2005 - 04:50 PM


Thank you for your reply.
I think I solved the problem, it only crashes on windows, when uploaded on the server with linux it seems to work fine.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users