Re: [PHP] Header() - POST

2008-09-11 Thread Dan Joseph
I actually just completely re-engineered this page. It made sense reading what everyone had to say. The extra page that I wanted to post to was really not needed. I have everything just contained in the one php script now, and its working perfectly that way. After it submits the order, it then

Re: [PHP] Header() - POST

2008-09-11 Thread mike
On Thu, Sep 11, 2008 at 12:47 AM, Luke <[EMAIL PROTECTED]> wrote: > But surely you can post data with Javascript? Ach, at college now I can't > access my source, I forget how to do it exactly... yes, i said javascript. something on the client side has to do it. (well besides for a curl-based form

Re: [PHP] Header() - POST

2008-09-11 Thread Luke
But surely you can post data with Javascript? Ach, at college now I can't access my source, I forget how to do it exactly... 2008/9/11 mike <[EMAIL PROTECTED]> > On Wed, Sep 10, 2008 at 3:42 PM, tedd <[EMAIL PROTECTED]> wrote: > > > Then use cURL as was suggested before. > > the reply was on his

Re: [PHP] Header() - POST

2008-09-10 Thread mike
On Wed, Sep 10, 2008 at 3:42 PM, tedd <[EMAIL PROTECTED]> wrote: > Then use cURL as was suggested before. the reply was on his original attempt to header("POST: /foo") ... that was it. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Header() - POST

2008-09-10 Thread tedd
At 3:32 PM -0700 9/10/08, mike wrote: On Wed, Sep 10, 2008 at 2:51 PM, tedd <[EMAIL PROTECTED]> wrote: At 10:14 AM -0700 9/5/08, mike wrote: if you want to re-post data you need to look at a client-side alternative using javascript (or applets - flash, java, etc) OR just use hidden input

Re: [PHP] Header() - POST

2008-09-10 Thread mike
On Wed, Sep 10, 2008 at 2:51 PM, tedd <[EMAIL PROTECTED]> wrote: > At 10:14 AM -0700 9/5/08, mike wrote: >> >> if you want to re-post data you need to look at a client-side >> alternative using javascript (or applets - flash, java, etc) > > OR just use hidden input. > > I do that with forms that ga

Re: [PHP] Header() - POST

2008-09-10 Thread tedd
At 10:14 AM -0700 9/5/08, mike wrote: if you want to re-post data you need to look at a client-side alternative using javascript (or applets - flash, java, etc) OR just use hidden input. I do that with forms that gather pages of data. You keep submitting the same page over and over gathering

Re: [PHP] Header() - POST

2008-09-05 Thread Luke
POST requests in Ajax (or without in js) is straight forward. On the iPod now but I'll POST an example later. Get it? Luke Slater Lead Developer NuVoo On 5 Sep 2008, at 18:14, mike <[EMAIL PROTECTED]> wrote: On Fri, Sep 5, 2008 at 9:20 AM, Boyd, Todd M. <[EMAIL PROTECTED]> wrote: On a sid

Re: [PHP] Header() - POST

2008-09-05 Thread mike
On Fri, Sep 5, 2008 at 9:20 AM, Boyd, Todd M. <[EMAIL PROTECTED]> wrote: > On a side note... in the future, if you find that a particular process > calls for POSTing to a different page, the cURL library (which I believe > is now included with PHP by default in v5.x+) can accomplish a plethora > o

RE: [PHP] Header() - POST

2008-09-05 Thread Boyd, Todd M.
> -Original Message- > From: Dan Joseph [mailto:[EMAIL PROTECTED] > Sent: Friday, September 05, 2008 11:16 AM > To: php-general@lists.php.net > Subject: Re: [PHP] Header() - POST > > On Fri, Sep 5, 2008 at 12:11 PM, Boyd, Todd M. <[EMAIL PROTECTED]> > wrote:

Re: [PHP] Header() - POST

2008-09-05 Thread Dan Joseph
On Fri, Sep 5, 2008 at 12:11 PM, Boyd, Todd M. <[EMAIL PROTECTED]> wrote: > > -Original Message- > > From: Dan Joseph [mailto:[EMAIL PROTECTED] > > Sent: Friday, September 05, 2008 10:59 AM > > To: PHP General > > Subject: Re: [PHP] Header() - POST >

Re: [PHP] Header() - POST

2008-09-05 Thread Stut
On 5 Sep 2008, at 16:43, Dan Joseph wrote: I am trying to figure out how to build a post string, and then user header to post it. I've done some research and I am not getting very far. Basically what I'm doing is taking POST items, then validating them, scrubbing them, and rebuidling the post

RE: [PHP] Header() - POST

2008-09-05 Thread Boyd, Todd M.
> -Original Message- > From: Dan Joseph [mailto:[EMAIL PROTECTED] > Sent: Friday, September 05, 2008 10:59 AM > To: PHP General > Subject: Re: [PHP] Header() - POST > > On Fri, Sep 5, 2008 at 11:48 AM, Wolf <[EMAIL PROTECTED]> wrote: > > > > >

Re: [PHP] Header() - POST

2008-09-05 Thread Dan Joseph
On Fri, Sep 5, 2008 at 11:48 AM, Wolf <[EMAIL PROTECTED]> wrote: > > > scrubbing them, and rebuidling the post string and trying to resubmitt it > > using headers(). I'm getting this error: > > Why do you want to re-submit it? > > Why not just parse it in the same page? > > If not that, then use

Re: [PHP] Header() - POST

2008-09-05 Thread Wolf
> scrubbing them, and rebuidling the post string and trying to resubmitt it > using headers(). I'm getting this error: Why do you want to re-submit it? Why not just parse it in the same page? If not that, then use sessions and set the information, do a meta-refresh to redirect to the processi

[PHP] Header() - POST

2008-09-05 Thread Dan Joseph
Hi everyone, I am trying to figure out how to build a post string, and then user header to post it. I've done some research and I am not getting very far. Basically what I'm doing is taking POST items, then validating them, scrubbing them, and rebuidling the post string and trying to resubmitt i