Jump to content

New to PHP trying to make form to text document script


Modestmouse

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?
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.

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.