Re: [PHP] Forwarding $_POST[]...

2007-08-14 Thread Eddie Dunckley
On Thu 09 Aug 07 20:11, Simon wrote: > The dumbest (but still correct) way to do it is a for() loop that > creates a hidden input with the name/value pair for each variables > you want. Might not be as dumb as one thinks: hidden vars are useful when some misconfigured proxy or round-robin proxy o

Re: [PHP] Forwarding $_POST[]...

2007-08-11 Thread tedd
At 7:10 PM +0100 8/9/07, Stut wrote: Rethink things. There's almost certainly a better way but without knowing why you think you need to do this it's not possible to help any further. -Stut I think I understand what the OP is asking. How about this example: 1. User selects items he wants

Re: [PHP] Forwarding $_POST[]...

2007-08-10 Thread Richard Lynch
On Thu, August 9, 2007 1:04 pm, Tony Di Croce wrote: > I keep wanting to do something, and either I dont know how to do it, > or I'm > doing something wrong and need to rethink things. > > Quite often, I have a form that submits to a php script via POST and > after > doing some processing (or more

Re: [PHP] Forwarding $_POST[]...

2007-08-09 Thread Jim Lucas
Daniel Brown wrote: On 8/9/07, Jim Lucas <[EMAIL PROTECTED]> wrote: What is complicated about step1.php perhaps you want to have a clean data set you can do this as you populate the $my_post_data let me rename variable $_SESSION['_POST'] = $clean_post_data; ?> and step2.php this data

Re: [PHP] Forwarding $_POST[]...

2007-08-09 Thread Daniel Brown
On 8/9/07, Jim Lucas <[EMAIL PROTECTED]> wrote: > What is complicated about > > step1.php > > $my_post_data = $_POST; > > ... > > $_SESSION['_POST'] = $my_post_data; > > ?> > and > step2.php > > $my_post_data = $_SESSION['_POST']; > > ... > > ?> Jim, perhaps I'm missing something that you're

Re: [PHP] Forwarding $_POST[]...

2007-08-09 Thread Daniel Brown
On 8/9/07, Tony Di Croce <[EMAIL PROTECTED]> wrote: > I keep wanting to do something, and either I dont know how to do it, or I'm > doing something wrong and need to rethink things. > > Quite often, I have a form that submits to a php script via POST and after > doing some processing (or more frequ

Re: [PHP] Forwarding $_POST[]...

2007-08-09 Thread Jim Lucas
Tony Di Croce wrote: I keep wanting to do something, and either I dont know how to do it, or I'm doing something wrong and need to rethink things. Quite often, I have a form that submits to a php script via POST and after doing some processing (or more frequently, asking the user a question), I'

Re: [PHP] Forwarding $_POST[]...

2007-08-09 Thread Richard Heyes
I could do something complicated and store the $_POST vars in $_SESSION[], but what I'd rather do is simply add a var to $_POST[] and resubmit this to the same .php. Is their any way to do this, or do I need to rethink things? There's nothing complicated about using sessions. -- Richard He

RE: [PHP] Forwarding $_POST[]...

2007-08-09 Thread Jay Blanchard
[snip] I could do something complicated and store the $_POST vars in $_SESSION[], but what I'd rather do is simply add a var to $_POST[] and resubmit this to the same .php. Is their any way to do this, or do I need to rethink things? [/snip] Put the processing in a function, run the post variable

Re: [PHP] Forwarding $_POST[]...

2007-08-09 Thread Simon
Session variables is a decent way. Storing them in a DB session can be good too It all depends on the data. The dumbest (but still correct) way to do it is a for() loop that creates a hidden input with the name/value pair for each variables you want. I would advise against resending the username/

Re: [PHP] Forwarding $_POST[]...

2007-08-09 Thread Stut
Tony Di Croce wrote: I keep wanting to do something, and either I dont know how to do it, or I'm doing something wrong and need to rethink things. Quite often, I have a form that submits to a php script via POST and after doing some processing (or more frequently, asking the user a question), I'

Re: [PHP] Forwarding $_POST Values... please no flaming

2005-12-09 Thread Curt Zirzow
On Fri, Dec 09, 2005 at 03:36:59PM -0500, [EMAIL PROTECTED] wrote: > Ok.. not one bit of this was necessary guys. Please take it off-list if you > have personal problems that need resolving. What is ironic is that you just took it onto the list. Curt. -- cat .signature: No such file or directo

RE: [PHP] Forwarding $_POST Values WAY OT

2005-12-09 Thread Robert Cummings
On Fri, 2005-12-09 at 15:40, Jay Blanchard wrote: > ROFLMMFAO! I'm jest curious here... is that extra 'M' for massive? :B Cheers, Rob. -- .. | InterJinn Application Framework - http://www.interjinn.com | :---

Re: [PHP] Forwarding $_POST Values

2005-12-09 Thread Zack Bloom
Guys just stop. This should be the last post regarding this. On 12/9/05, John Nichel <[EMAIL PROTECTED]> wrote: > > vizion wrote: > > > Well if you were not rude then you certainly are now - > > Too much correspondence with you in that vein could contaminate the > > environment. > > You should

Re: [PHP] Forwarding $_POST Values

2005-12-09 Thread John Nichel
vizion wrote: Well if you were not rude then you certainly are now - Too much correspondence with you in that vein could contaminate the environment. You should take your act on the road. Also sounds like you have a few prejudices to grow out of .. who would you like to be when you grow up

RE: [PHP] Forwarding $_POST Values WAY OT

2005-12-09 Thread Jay Blanchard
[snip] Well if you were not rude then you certainly are now - Too much correspondence with you in that vein could contaminate the environment. Also sounds like you have a few prejudices to grow out of .. who would you like to be when you grow up? BTW I suggest you use a dictionary if you cannot u

RE: [PHP] Forwarding $_POST Values... please no flaming

2005-12-09 Thread tg-php
Ok.. not one bit of this was necessary guys. Please take it off-list if you have personal problems that need resolving. Yeah.. people do join the list and expect to have their hands held through everything, or expect others to solve all their problems, but if the question offends you, it's bet

RE: [PHP] Forwarding $_POST Values

2005-12-09 Thread vizion
> -Original Message- > From: Jay Blanchard [mailto:[EMAIL PROTECTED] > Sent: Friday, December 09, 2005 12:22 PM > To: 'B.D.' > Cc: PHP General (E-mail) > Subject: RE: [PHP] Forwarding $_POST Values > > [snip] > Wow...what a helpful answer! Thankf

RE: [PHP] Forwarding $_POST Values

2005-12-09 Thread Jay Blanchard
[snip] Wow...what a helpful answer! Thankfully, other people responded to the guys question and didn't come off like smug pricks! [/snip] Been on mailing lists long? Who the fuck are you to critisize me buttwad? Probably some new, politically correct panty-waist who says Happy Holidays because

RE: [PHP] Forwarding $_POST Values

2005-12-09 Thread tg-php
And if for some reason that's not viable, you can simulate a real POST method by using a socket connection and manually sending the POST variables. Take a look at this script: http://www.flashkit.com/board/history/topic.php/384942-1.html That looks about right (sorry, no time to test myself.. bu

Re: [PHP] Forwarding $_POST Values

2005-12-09 Thread Bernhard Janetzki
On Friday 09 December 2005 20:31, Jim Moseby wrote: > > I have a server with all my clients websites on. However I > > have some clients > > who have their own servers. I want to be able to have a form > > on my site that > > allows users to log into their webmail, however if the client > > has the

RE: [PHP] Forwarding $_POST Values

2005-12-09 Thread Jim Moseby
> > I have a server with all my clients websites on. However I > have some clients > who have their own servers. I want to be able to have a form > on my site that > allows users to log into their webmail, however if the client > has their own > server I need to forward the $_POST values to

RE: [PHP] Forwarding $_POST Values

2005-12-09 Thread Jay Blanchard
[snip] I have a server with all my clients websites on. However I have some clients who have their own servers. I want to be able to have a form on my site that allows users to log into their webmail, however if the client has their own server I need to forward the $_POST values to a login scrip