Jump to content


New to PHP trying to make form to text document script

  • Please log in to reply
1 reply to this topic

#1 Modestmouse

  • New Members
  • Pip
  • Newbie
  • 1 posts

Posted 29 October 2006 - 01:19 AM

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?

#2 pendelton

  • Members
  • PipPip
  • Member
  • 20 posts
  • LocationUK

Posted 29 October 2006 - 01:35 AM

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.

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users