note 23259 deleted from function.rename by dams

From: Date: Sat, 27 Jul 2002 23:22:33 +0000
Subject: note 23259 deleted from function.rename by dams
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-33741@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!

« previous php.notes (#33741) next »