Originally Posted by
Dentafrice
Seriously, I sit here for five minutes thinking of the practical use for this.
#1, anyone could visit the URL and remotely put any file on your server, and potentially delete any file on your server.
#2, why would you want to grab a text file off of a server when you can just right click and create the file..
I just don't see any practical use in it, and there was no reason to create a function like was already said for a pretty pointless thing, unless you just liked looking at delete() better then unlink() [which is pretty sad]
You also made it seem in the title that we should be mighty thankful you are releasing this.. like it is world class coding..
And why the **** have you put almost every variable into an array, when you are only defining them once ($create['filename'] and $handler['filename']) when it really is a handle.. not a handler LOL.
Why couldn't you just name it $fileName and $fileHandle or something? Not put them into an array.. ;|
Then you do the same thing down below, which is ******* pointless..