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 regis

Re: [PHP] Creating a text file

2007-07-26 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-aroun

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

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 $_PO

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 v

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 a

Re: [PHP] Creating a text file

2007-07-19 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 t

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 f

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 fo

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

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 create

[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 whe

Re: [PHP] Creating a text file

2001-01-17 Thread Ignacio Vazquez-Abrams
On Wed, 17 Jan 2001, Wade Halsey wrote: > 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 FormC

[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 b