Jump to content

Archived

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

Modestmouse

New to PHP trying to make form to text document script

Recommended Posts

Hey guys
On a site im designing I am trying to make a system where the client can type in data then click submit and the typed in data is saved to a text document which is put onto the site using "include();" anyone know how I would go about doing that?

Share this post


Link to post
Share on other sites
You will need to use fopen and fwrite - see the PHP manual. The folder that you want the files to be creating in will need to be writeable. This may be a security risk as it will allow anyone to write anything to this folder.

Share this post


Link to post
Share on other sites

×

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.