kne Posted July 23, 2010 Share Posted July 23, 2010 Hi Everyone, I am relatively new to PHP. I have a code(upload.php) which asks files from user, uploads them to a user directory and calls shell script passing the user variable in the process. Since the shell script will be shared by multiple users, i need to implement a lock to restrict users into the script. I want to initialize a lock variable that needs to be in the scope of upload.php but should be initialized somewhere else (so that each time an user uploads file, the lock variable wont keep initializing). Kindly help me out in this. Thanks in advance, kne Link to comment https://forums.phpfreaks.com/topic/208608-lock-variable-initialisation/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.