Re: [PHP] Creating a text file

2007-07-27 Thread Richard Lynch
On Mon, July 23, 2007 8:10 am, Daniel Brown wrote: On 7/20/07, Richard Lynch [EMAIL PROTECTED] wrote: On Thu, July 19, 2007 8:33 am, Daniel Brown wrote: extract($_POST); You might as well just turn register_globals back ON (bad!) because you've just done a work-around on $_POST

Re: [PHP] Creating a text file

2007-07-27 Thread Daniel Brown
On 7/27/07, Richard Lynch [EMAIL PROTECTED] wrote: On Mon, July 23, 2007 8:10 am, Daniel Brown wrote: On 7/20/07, Richard Lynch [EMAIL PROTECTED] wrote: On Thu, July 19, 2007 8:33 am, Daniel Brown wrote: extract($_POST); You might as well just turn register_globals back ON

Re: [PHP] Creating a text file

2007-07-23 Thread Daniel Brown
On 7/20/07, Richard Lynch [EMAIL PROTECTED] wrote: On Thu, July 19, 2007 8:33 am, Daniel Brown wrote: extract($_POST); You might as well just turn register_globals back ON (bad!) because you've just done a work-around on $_POST that does exactly what register_globals ON does to

Re: [PHP] Creating a text file

2007-07-23 Thread Larry Garfield
On Monday 23 July 2007, Daniel Brown wrote: ONLY extract the variables you EXPECT to see in POST. In this case there were only two variables anyway... Yes, but keep in mind, it was a simple, cheap example just to get it to work Out Of The Box(R). I sure as heck don't expect that

Re: [PHP] Creating a text file

2007-07-20 Thread Ryan Lao
okay, i'll try that example you gave me... thanks! Daniel Brown [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On 7/17/07, Ryan Lao [EMAIL PROTECTED] wrote: i made a simple PHP form that would ask for the users complete name, a button that would browse to a file that the user

Re: [PHP] Creating a text file

2007-07-20 Thread Richard Lynch
On Tue, July 17, 2007 9:29 pm, Ryan Lao wrote: i made a simple PHP form that would ask for the users complete name, a button that would browse to a file that the user wants to upload, a text area for additional comments, and a submit button. This form works just fine. what i want to

Re: [PHP] Creating a text file

2007-07-20 Thread Richard Lynch
On Thu, July 19, 2007 8:33 am, Daniel Brown wrote: extract($_POST); You might as well just turn register_globals back ON (bad!) because you've just done a work-around on $_POST that does exactly what register_globals ON does to $_POST... This is bad. Don't do this. ONLY extract the

Re: [PHP] Creating a text file

2007-07-19 Thread Daniel Brown
On 7/18/07, Ryan Lao [EMAIL PROTECTED] wrote: Thanks for your reply, I want to create individual text files for every form submitted. Daniel Brown [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]... On 7/17/07, Ryan Lao [EMAIL PROTECTED] wrote: i made a simple PHP form that would

Re: [PHP] Creating a text file

2007-07-19 Thread tedd
At 10:29 AM +0800 7/18/07, Ryan Lao wrote: i made a simple PHP form that would ask for the users complete name, a button that would browse to a file that the user wants to upload, a text area for additional comments, and a submit button. This form works just fine. what i want to achieve next is

Re: [PHP] Creating a text file

2007-07-18 Thread Daniel Brown
On 7/17/07, Ryan Lao [EMAIL PROTECTED] wrote: i made a simple PHP form that would ask for the users complete name, a button that would browse to a file that the user wants to upload, a text area for additional comments, and a submit button. This form works just fine. what i want to achieve next

[PHP] Creating a text file

2007-07-17 Thread Ryan Lao
i made a simple PHP form that would ask for the users complete name, a button that would browse to a file that the user wants to upload, a text area for additional comments, and a submit button. This form works just fine. what i want to achieve next is for my form to also create a text file

Re: [PHP] Creating a text file

2007-07-17 Thread Chris
Ryan Lao wrote: i made a simple PHP form that would ask for the users complete name, a button that would browse to a file that the user wants to upload, a text area for additional comments, and a submit button. This form works just fine. what i want to achieve next is for my form to also

[PHP] Creating a text file

2001-01-17 Thread Wade Halsey
Hi I have the following code in Delphi: procedure TFormConfirmAllocation.CreateTxt; var TxFile : TextFile; Buffer : string; x : integer; begin AssignFile(TxFile,'\SkyTrac.sky'); Rewrite(TxFile); with FormConfirmAllocation.Query1 do begin open; while not Eof do