Jump to content
MakeWebGames

Recommended Posts

Posted

Im currently working on a mccodes update for the installer  It allows the user to create a folder so they can keep a file safe.. how this works is

the user fills in all the info from the installer and gives a name for the folder where they want the installer to go to (keep safe)

That folder is then created and the installer.php and index.php file are now inserted into that folder  (THIS PART WORKS)

After re-running the installer I left the FOLDER NAME as it was before thinking it would just overwrite the name and contents but that didnt work

So my question is..

Is there a way were I can just keep adding to the same folder without causing an error

OR

Is there a way that PHP can bring up the name of the LAST FOLDER created only the ONE folder not the whole root.
I was thinking of trying to find the folder by date and time seeing as it would be the newest on the server..

and that it would DELETE that folder and create a new one with a new FOLDER name and contents

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...