Re: [PHP] Saving form data into session before leaving a page

2010-04-14 Thread Ashley Sheridan
On Wed, 2010-04-14 at 06:49 +0100, Lester Caine wrote: Nathan Rixham wrote: Peter Lind wrote: On 13 April 2010 17:27, Paul M Fosterpa...@quillandmouse.com wrote: On Tue, Apr 13, 2010 at 03:20:23PM +0200, Merlin Morgenstern wrote: Hello everybody, I have form where users enter data

[PHP] Saving form data into session before leaving a page

2010-04-13 Thread Merlin Morgenstern
Hello everybody, I have form where users enter data to be saved in a db. How can I make php save the form data into a session before the user leaves the page without pressing the submit button? Some members leave the page and return afterwards wondering where their already entered data is.

Re: [PHP] Saving form data into session before leaving a page

2010-04-13 Thread Peter Lind
On 13 April 2010 15:20, Merlin Morgenstern merli...@fastmail.fm wrote: Hello everybody, I have form where users enter data to be saved in a db. How can I make php save the form data into a session before the user leaves the page without pressing the submit button? Some members leave the page

Re: [PHP] Saving form data into session before leaving a page

2010-04-13 Thread Ashley Sheridan
On Tue, 2010-04-13 at 15:20 +0200, Merlin Morgenstern wrote: Hello everybody, I have form where users enter data to be saved in a db. How can I make php save the form data into a session before the user leaves the page without pressing the submit button? Some members leave the page and

Re: [PHP] Saving form data into session before leaving a page

2010-04-13 Thread Paul M Foster
On Tue, Apr 13, 2010 at 03:20:23PM +0200, Merlin Morgenstern wrote: Hello everybody, I have form where users enter data to be saved in a db. How can I make php save the form data into a session before the user leaves the page without pressing the submit button? Some members leave the page

Re: [PHP] Saving form data into session before leaving a page

2010-04-13 Thread tedd
At 11:27 AM -0400 4/13/10, Paul M Foster wrote: On Tue, Apr 13, 2010 at 03:20:23PM +0200, Merlin Morgenstern wrote: Hello everybody, I have form where users enter data to be saved in a db. How can I make php save the form data into a session before the user leaves the page without

Re: [PHP] Saving form data into session before leaving a page

2010-04-13 Thread Kevin Kinsey
Paul M Foster wrote: Sorry, I just get cranky with people who won't follow the rules. ?php $pauls_post++; ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Saving form data into session before leaving a page

2010-04-13 Thread Dan Joseph
On Tue, Apr 13, 2010 at 12:19 PM, tedd tedd.sperl...@gmail.com wrote: So, OP explain what you are trying to do? Cheers, tedd Sorta looks to me like he's in a situation where users are fleeing the form, and wondering why its not filled in when they go back. The natural reaction for this

Re: [PHP] Saving form data into session before leaving a page

2010-04-13 Thread Robert Cummings
Dan Joseph wrote: On Tue, Apr 13, 2010 at 12:19 PM, tedd tedd.sperl...@gmail.com wrote: So, OP explain what you are trying to do? Cheers, tedd Sorta looks to me like he's in a situation where users are fleeing the form, and wondering why its not filled in when they go back. The natural

Re: [PHP] Saving form data into session before leaving a page

2010-04-13 Thread Dan Joseph
On Tue, Apr 13, 2010 at 12:40 PM, Robert Cummings rob...@interjinn.comwrote I had a pair-a-dimes one time. Unfortunately I was a nickel short of a quarter to put in the slot. But the question is... were they outside the box? -- -Dan Joseph www.canishosting.com - Unlimited Hosting Plans

Re: [PHP] Saving form data into session before leaving a page

2010-04-13 Thread Kevin Kinsey
Dan Joseph wrote: On Tue, Apr 13, 2010 at 12:40 PM, Robert Cummings rob...@interjinn.comwrote I had a pair-a-dimes one time. Unfortunately I was a nickel short of a quarter to put in the slot. But the question is... were they outside the box? Nah, the question is, since the slot was

Re: [PHP] Saving form data into session before leaving a page

2010-04-13 Thread Dan Joseph
On Tue, Apr 13, 2010 at 12:48 PM, Kevin Kinsey k...@daleco.biz wrote: Nah, the question is, since the slot was intended to accept a quarter, why the heck didn't it take two dimes and a nickel ... or just two dimes, and throw a nickel in gratis? I must be getting old. We have toilets that

Re: [PHP] Saving form data into session before leaving a page

2010-04-13 Thread Paul M Foster
On Tue, Apr 13, 2010 at 12:36:02PM -0400, Dan Joseph wrote: snip I kinda like that word Paradigm. Rolls off the tongue nicely. I'm going to use it 3 times today before I leave the office. ROTFL! Paul -- Paul M. Foster -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

Re: [PHP] Saving form data into session before leaving a page

2010-04-13 Thread tedd
At 12:40 PM -0400 4/13/10, Robert Cummings wrote: Dan Joseph wrote: On Tue, Apr 13, 2010 at 12:19 PM, tedd tedd.sperl...@gmail.com wrote: So, OP explain what you are trying to do? Cheers, tedd Sorta looks to me like he's in a situation where users are fleeing the form, and wondering why

Re: [PHP] Saving form data into session before leaving a page

2010-04-13 Thread Robert Cummings
Dan Joseph wrote: On Tue, Apr 13, 2010 at 12:40 PM, Robert Cummings rob...@interjinn.comwrote I had a pair-a-dimes one time. Unfortunately I was a nickel short of a quarter to put in the slot. But the question is... were they outside the box? They were in my pocket... so yes! Cheers,

Re: [PHP] Saving form data into session before leaving a page

2010-04-13 Thread Robert Cummings
Kevin Kinsey wrote: Dan Joseph wrote: On Tue, Apr 13, 2010 at 12:40 PM, Robert Cummings rob...@interjinn.comwrote I had a pair-a-dimes one time. Unfortunately I was a nickel short of a quarter to put in the slot. But the question is... were they outside the box? Nah, the question is, since

Re: [PHP] Saving form data into session before leaving a page

2010-04-13 Thread Robert Cummings
tedd wrote: At 12:40 PM -0400 4/13/10, Robert Cummings wrote: Dan Joseph wrote: On Tue, Apr 13, 2010 at 12:19 PM, tedd tedd.sperl...@gmail.com wrote: So, OP explain what you are trying to do? Cheers, tedd Sorta looks to me like he's in a situation where users are fleeing the form, and

Re: [PHP] Saving form data into session before leaving a page

2010-04-13 Thread Dan Joseph
On Tue, Apr 13, 2010 at 1:46 PM, Robert Cummings rob...@interjinn.comwrote: Toilets flush themselves so that we don't need to touch what someone else touched... very likely after *cough* wiping up. They have a cure for having to life a finger and wipe also but I won't continue lol --

Re: [PHP] Saving form data into session before leaving a page

2010-04-13 Thread Peter Lind
On 13 April 2010 17:27, Paul M Foster pa...@quillandmouse.com wrote: On Tue, Apr 13, 2010 at 03:20:23PM +0200, Merlin Morgenstern wrote: Hello everybody, I have form where users enter data to be saved in a db. How can I make php save the form data into a session before the user leaves the

Re: [PHP] Saving form data into session before leaving a page

2010-04-13 Thread Nathan Rixham
Peter Lind wrote: On 13 April 2010 17:27, Paul M Foster pa...@quillandmouse.com wrote: On Tue, Apr 13, 2010 at 03:20:23PM +0200, Merlin Morgenstern wrote: Hello everybody, I have form where users enter data to be saved in a db. How can I make php save the form data into a session before

Re: [PHP] Saving form data into session before leaving a page

2010-04-13 Thread Lester Caine
Nathan Rixham wrote: Peter Lind wrote: On 13 April 2010 17:27, Paul M Fosterpa...@quillandmouse.com wrote: On Tue, Apr 13, 2010 at 03:20:23PM +0200, Merlin Morgenstern wrote: Hello everybody, I have form where users enter data to be saved in a db. How can I make php save the form data

Re: [PHP] saving form data - calling another script from PHP?

2004-02-24 Thread Charlie Fiskeaux II
Gary Sanders wrote: Charlie, Can you make the submit target be the PHP script and have the PHP script call the Perl script to send the email? Sure, that would definitely work; I just don't know how to call the Perl script and pass the data (and uploaded/attached files) to it. -- Charlie

[PHP] saving form data

2004-02-23 Thread Charlie Fiskeaux II
I'm using a prebuilt Perl form mailer script for a project, but because the form is so long, my client would like to give the user the ability to save the data and come back to finish it later. I was hoping to be able to code this part in PHP (because I don't know Perl), but I'm fairly new to

RE: [PHP] saving form data

2004-02-23 Thread Sam Masiello
If the PHP configuration doesn't have register_globals turned on in the php.ini file, you will be able to access the form variables via the _POST array like this: $_POST[my_form_var] Of course, substitute my_form_var with the correct variable from the form that you are submitting. If the

Re: [PHP] saving form data

2004-02-23 Thread Charlie Fiskeaux II
Sam Masiello wrote: If the PHP configuration doesn't have register_globals turned on in the php.ini file, you will be able to access the form variables via the _POST array like this: $_POST[my_form_var] Of course, substitute my_form_var with the correct variable from the form that you are

Re[2]: [PHP] saving form data

2004-02-23 Thread Richard Davey
Hello Charlie, Monday, February 23, 2004, 9:27:07 PM, you wrote: CFI Thanks, but how do I get the info submitted to the PHP CFI script to access the data in the first place? Since the CFI target of the form is the Perl script, the submit button CFI submits the form to the Perl script; can I

Re: [PHP] saving form data

2004-02-23 Thread Charlie Fiskeaux II
Richard Davey wrote: You can't make one form submit to two different scripts sadly, but to be honest if you're going to write a PHP script to capture this information - why not make it do what the Perl formmail script does too? (i.e. send the email) and remove the Perl script from the equation?

RE: [PHP] saving form data

2004-02-23 Thread Gary Sanders
Charlie, Can you make the submit target be the PHP script and have the PHP script call the Perl script to send the email? Gary -Original Message- From: Charlie Fiskeaux II [mailto:[EMAIL PROTECTED] Sent: Monday, February 23, 2004 2:15 PM To: PHP General Subject: Re: [PHP] saving

Re: [PHP] saving form data

2004-02-23 Thread Evan Nemerson
On Monday 23 February 2004 02:51 pm, Charlie Fiskeaux II wrote: Richard Davey wrote: CFI It's just a matter of development time; if there's a way to CFI use the Perl mail script with a PHP data saving script, it CFI would save time. If I do have to rewrite the whole thing in CFI PHP, how

Re[2]: [PHP] saving form data

2004-02-23 Thread Richard Davey
Hello Charlie, Monday, February 23, 2004, 10:15:17 PM, you wrote: CFI It's just a matter of development time; if there's a way to CFI use the Perl mail script with a PHP data saving script, it CFI would save time. If I do have to rewrite the whole thing in CFI PHP, how would I accept uploaded

Re: [PHP] saving form data

2004-02-23 Thread Charlie Fiskeaux II
Richard Davey wrote: CFI It's just a matter of development time; if there's a way to CFI use the Perl mail script with a PHP data saving script, it CFI would save time. If I do have to rewrite the whole thing in CFI PHP, how would I accept uploaded file attachments and attach CFI them to the

Re: [PHP] Saving Form Data

2003-10-10 Thread Burhan Khalid
PHP wrote: [ snip ] I think I need some kind of HTML parser that will break up the supervisors form, then insert any values need for the form values and then re-display the form data. Well, if you insert the XML declaration at the top, and make sure your page validates as XHTML, I believe you

[PHP] Saving Form Data

2003-10-08 Thread PHP
Hi, Is there anyway of saving a form with layout and data, without knowing what the fields are? I would like to be able to have the use Upload there own form. Then that form can be later viewed and filled out by someone else and be able to save all the data that was entered. I can do this easy

RE: [PHP] Saving Form Data

2003-10-08 Thread Jay Blanchard
[snip] Is there anyway of saving a form with layout and data, without knowing what the fields are? I would like to be able to have the use Upload there own form. Then that form can be later viewed and filled out by someone else and be able to save all the data that was entered. I can do this easy

Re: [PHP] Saving Form Data

2003-10-08 Thread PHP
08, 2003 12:58 PM Subject: RE: [PHP] Saving Form Data [snip] Is there anyway of saving a form with layout and data, without knowing what the fields are? I would like to be able to have the use Upload there own form. Then that form can be later viewed and filled out by someone else and be able

Re: [PHP] Saving Form Data

2003-10-08 Thread Marek Kilimajer
PHP wrote: Hi, Is there anyway of saving a form with layout and data, without knowing what the fields are? I would like to be able to have the use Upload there own form. Then that form can be later viewed and filled out by someone else and be able to save all the data that was entered. I can do

Re: [PHP] Saving Form Data

2003-10-08 Thread PHP
Thanks, I thought of this, unfortuanetly the user uploading the form would have no clue in being able to build the form with the $_POST tags already in it. PHP wrote: Hi, Is there anyway of saving a form with layout and data, without knowing what the fields are? I would like to be able to

Re: [PHP] Saving Form Data

2003-10-08 Thread Marek Kilimajer
PHP wrote: Thanks, I thought of this, unfortuanetly the user uploading the form would have no clue in being able to build the form with the $_POST tags already in it. I lost you. What are you trying to do? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Saving Form Data

2003-10-08 Thread PHP
Here is the real life idea: A Supervisor, knows nothing about php, creates a simple form, say a time sheet, in something like FrontPage. He then uploads that form to the server. An employee then looks at a page on the server that will retrieve the form data that the supervisor made, and