I am wanting to be abe to enter a folder name at step1 of a process which will then not only be remembered but also used through the other steps... how to do this?
the steps would be
enter foldername
create /path/to/$folder
and /path/to/$folder/img
for example
then throughout the script I want to refer to the foldername as $folder. Otherwise I need to alter my script every time I want to run it 🙂
I am creating a gallery and im just learning how to use PHP...
So far I can create the folders, create the php files, upload the images to appropriate folders and remove the gallery BUT all this is based on the folder I enter in the script. I want it to be relevant to either the folder I select from a pull down menu (auto updating depending on the contents on /gallery/ (which has the sub folders)
or what i enter (in the creatin of a new gallery)
please help me out 🙂
EDIT: Oh alsooooooo how to copy an image file from one location to another on the server?
Thanks
Chris