You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

PHP to write to file

Accepted answer
edited Mar 11, 2014 8:47PM in Customer Portal 8 comments


I doubt this is possible within the RNT universe, but I'd thought I'd check.

We have a use case where some data is stored in JSON files in the euf/assets/ directory.  I currently read them in to power some dynamic content. (Using file_get_contents() )

Now, there was a request to create a web front end to edit those JSON files directly.  file_put_contents() isn't supported either in HTML context nor in local file context (at least, I couldn't get it to).

Anyone else out there ever came up with a way to write a simple text file out to the file system directly?

Howdy, Stranger!

Log In

To view full details, sign in.


Don't have an account? Click here to get started!