I have a form that asks for a name for a folder to create. I am using something like mkdir($folder_name) which works, but only creates a folder in the directory the parent file is located in. I need to make a folder in a directory that is in a previous directory (if that made any sense).
I have tried to use chdir(), but that will only go further into a folder, not backwards (or i do not know how to go backwards).
I also tried ftp_chdir / ftp_mkdir , but i cannot get that to work correctly.
Does anyone know either an easier way to create a folder, or have any idea on what my problem is? Thanks.