Re: [PHP] Help with forms data please
Make the target of the form a blank window. process the form, then generate some javascript to close the window. original window remains unchanged. ---John Holmes... - Original Message - From: "Bret L Conard" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, June 12, 2002 7:33 AM Subject: [PHP] Help with forms data please I need to send the data from a form without taking the surfer to that page. ie: form on ' formPage.php ' with but leave the user on ' formPage.php' Any way to do that? Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Help with forms data please
That's how I do it when I need to handle the data and return user to the same page. Use header("Location: blah"); in the end of the handler page. Then even 'back'-button won't take user back to the handler page, and refresh won't send data again. Niklas -Original Message- From: Jonathan Rosenberg [mailto:[EMAIL PROTECTED]] Sent: 12. kesäkuuta 2002 16:18 To: Bret L Conard; [EMAIL PROTECTED] Subject: RE: [PHP] Help with forms data please How about if you just return the user to the same page? Will that work? > -Original Message- > From: Bret L Conard [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, June 12, 2002 7:33 AM > To: [EMAIL PROTECTED] > Subject: [PHP] Help with forms data please > > > I need to send the data from a form without taking the > surfer to that page. > ie: > form on ' formPage.php ' > with > > but leave the user on ' formPage.php' > Any way to do that? > > Thanks > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php ### This message has been scanned by F-Secure Anti-Virus for Internet Mail. For more information, connect to http://www.F-Secure.com/ ### This message has been scanned by F-Secure Anti-Virus for Internet Mail. For more information, connect to http://www.F-Secure.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Help with forms data please
How about if you just return the user to the same page? Will that work? > -Original Message- > From: Bret L Conard [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, June 12, 2002 7:33 AM > To: [EMAIL PROTECTED] > Subject: [PHP] Help with forms data please > > > I need to send the data from a form without taking the > surfer to that page. > ie: > form on ' formPage.php ' > with > > but leave the user on ' formPage.php' > Any way to do that? > > Thanks > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Help with forms data please
[snip] I need to send the data from a form without taking the surfer to that page. ie: form on ' formPage.php ' with but leave the user on ' formPage.php' Any way to do that? [/snip] At the end of newUser.php do a header redirect, i.e. header("Location: formPage.php"); exit; Make sure that newUser.php does not send anything to output before the header. HTH! Jay -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Help with forms data please
I need to send the data from a form without taking the surfer to that page. ie: form on ' formPage.php ' with but leave the user on ' formPage.php' Any way to do that? Thanks