KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I want my php script to create an output file in a folder based on the date. The way I'm doing this is that its supposed to get the foldername/filename from a text file outputted by another program which I am unable to edit. So the file its grabbing the data from looks like this: data/newfolder/10302008/log_for_Today.txt | 24234234 Only with multiple lines, I just need the script to go through it line by line, grab the folder/filename and create an empty file with that name in that location. The directories are all 777. Now I know how to create a new empty exe file in a folder but can't seem to figure out how to create the folder first then the exe inside of it, any ideas?
Tags (comma-separated)
Save Edits
Cancel