Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

create new text file 2

Status
Not open for further replies.

brad1978

Programmer
Feb 13, 2009
30
CA
Hi all,
Quick question for you, how do I go about creating a new text file on the fly? I am trying to have a new text file created when a user submits a comment form. This file will contain the info submitted but I cannot seem to create a blank text file on the fly. Any help would be appreciated.
Brad
 
Thanks guys for all your help! removing the "T" from the shebang line fixed the problem.
Brad
 
Brad, as Kevin points out it is not so much fixing the problem as lowering security. -T is there to stop those pesky visitors from sending dangerous code.

If you need to keep a track of where the file came from, devise a conversion so the filename is not the same as the incoming data.

Keith
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top