Hello, please without which php functions would be impossible to add content into file or upload an file from (computer or url) within an php script? i wish to find which functions are essential for doing that task: - adding new content to a file on apache, php webhosting - uploading new file (from computer or url or from whatever) - creating a file with content from within php script thank You
Previous reply did NOT solved issue. Im sorry im noob and not a programmer, im looking for the helpfull answer. Not an general advice not leading to answer to my question. Ofcourse im not willing to become programmer in order to discover answer to my question. Thanks! PS: please do not waste this thread space not answering to the question helpfully, im not only one who will read this topic in the future. be helpfull.
I _was_ being helpful. That page list all the different PHP functions and methods to interface with the file system. Which was what you asked for, albeit that list is more exhaustive than your specific items. I can't help it if you're incompetent. As for your specific list-items? file_put_contents() will allow you to add to, or rewrite / create a file, with content. Uploading a file involves a BIT more then just a single function, as you want to check for correct filetype, size, etc, all depending on what you're trying to do. Uploading from your computer, or via an url are two different things entirely