Jump to content

How to write to a file


jdock1

Recommended Posts

Im trying to make an application where a user can write to a line from a file template... how could I do this?

 

To be more specific, I want to make an .htaccess generator, but there is only one line the user enters to generate the new file

 

There is one text field in the application, the string the user enters in that line will write to the file and generate the file for them where they can download it

 

I was looking into using fopen(),fwrite() functions etc, but this is a bit more complex and I have no idea how to do this..

Link to comment
https://forums.phpfreaks.com/topic/158225-how-to-write-to-a-file/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.