note 23259 added to function.rename
| From: | webmaster at lm2v2 dot tk | Date: | Sat, 13 Jul 2002 01:26:32 +0000 |
| Subject: | note 23259 added to function.rename | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-33011@lists.php.net to get a copy of this message | ||
Hey, I'm having troubles here... And I really need some help! I'm working on a huge
project that requires usernames and passwords... I decided to have files to detect which user is
online, and which user is offline... The file extention for online is .on and the file extention for
the offline is .off
And I need it to change the file extention,... I've tried every different way in here... And
some ways I've thought of...
It keeps saying: "Warning: rename() failes(No such directory) in
c:\home\apache\htdocs\LavaCube\logout.php on line 57"
The user status files are in: c:/home/_-.lc-im.userbin.-_/o-f/
The code I'm attempting to use is:
rename("C:/Home/_-.lc-im.userbin.-_/o-f/$user.on","$user.off");
I'm on a WinXP platform(Please don't dis XP!) Do you think that could be of any problems
for it???
- ThanX!
--
http://www.php.net/manual/en/function.rename.php
http://master.php.net/manage/user-notes.php?action=edit+23259
http://master.php.net/manage/user-notes.php?action=delete+23259
http://master.php.net/manage/user-notes.php?action=reject+23259