Re: [PHP] submitting a form to multiple places!!!

2002-10-02 Thread olinux

If you need something more complex look into CURL as
suggested earlier

http://curl.haxx.se/
http://www.php.net/curl

olinux

--- olinux <[EMAIL PROTECTED]> wrote:
> Here's what I do.
> 
> We have an outsourced email newsletter management
> system that accepts GET method - so I just use
> fopen()
> to send the data to our list management system and
> then drop the information into a database on our
> server. 
> 
> $form1_submit_url =
>
'http://www.whatever.com/page.htm?something=123&something=456';
> $fp = fopen ("c:\\data\\info.txt", "r");
> 
> - then my script continues to insert info an output
> confirmation message
> 
> olinux
> 
> 
> 
> --- Henry <[EMAIL PROTECTED]> wrote:
> > Hi All,
> > 
> > I have a problem that I hope you can help me with.
> > 
> > I'm using a third party shopping cart solution
> which
> > is quite frankly naff.
> > They bundle some autoresponders with it.
> > Unfortunately the autoresponders do
> > not work!.  I want to find a temporary solution 
> to
> > this. The easiest way
> > would be to allow a form to be submitted to more
> > than one place!
> > 
> > Basically I would lke to have an intermediate php
> > page that will submit the
> > details (submitted to it) to two other pages and
> > then follow the response of
> > one of those other pages (the primary page). That
> > way I can insert a
> > different autoresponder handling system into the
> > submission process but
> > continue to use the shopping carts pages for the
> > time being.
> > 
> > Any suggestions?
> > 
> > Henry
> > 
> > 
> > 
> > -- 
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit:
> http://www.php.net/unsub.php
> > 
> 
> 
> __
> Do you Yahoo!?
> New DSL Internet Access from SBC & Yahoo!
> http://sbc.yahoo.com
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 


__
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] submitting a form to multiple places!!!

2002-10-02 Thread olinux

Here's what I do.

We have an outsourced email newsletter management
system that accepts GET method - so I just use fopen()
to send the data to our list management system and
then drop the information into a database on our
server. 

$form1_submit_url =
'http://www.whatever.com/page.htm?something=123&something=456';
$fp = fopen ("c:\\data\\info.txt", "r");

- then my script continues to insert info an output
confirmation message

olinux



--- Henry <[EMAIL PROTECTED]> wrote:
> Hi All,
> 
> I have a problem that I hope you can help me with.
> 
> I'm using a third party shopping cart solution which
> is quite frankly naff.
> They bundle some autoresponders with it.
> Unfortunately the autoresponders do
> not work!.  I want to find a temporary solution  to
> this. The easiest way
> would be to allow a form to be submitted to more
> than one place!
> 
> Basically I would lke to have an intermediate php
> page that will submit the
> details (submitted to it) to two other pages and
> then follow the response of
> one of those other pages (the primary page). That
> way I can insert a
> different autoresponder handling system into the
> submission process but
> continue to use the shopping carts pages for the
> time being.
> 
> Any suggestions?
> 
> Henry
> 
> 
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 


__
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] submitting a form to multiple places!!!

2002-10-01 Thread Justin French

Don't think it can be done... at least not the way you describe.  *maybe* it
can be done with javascript, but I'd try to do it this way:

1. user completes form, clicks submit
2. your scripts don't send any output to the browser (ie, it's not a page,
it's a script), generate the auto-responders, whatever else, and redirect to
the other script.
3. other script takes the data, does what it does, and user gets a response
in the browser.

You will probably run into trouble with this because the second form
requires information to be sent by POST method... I think the CURL library
can do this for you, or else, it's been discussed on this list 1000's of
times.  Search the archives.


Justin




on 02/10/02 2:47 AM, Henry ([EMAIL PROTECTED]) wrote:

> Hi All,
> 
> I have a problem that I hope you can help me with.
> 
> I'm using a third party shopping cart solution which is quite frankly naff.
> They bundle some autoresponders with it. Unfortunately the autoresponders do
> not work!.  I want to find a temporary solution  to this. The easiest way
> would be to allow a form to be submitted to more than one place!
> 
> Basically I would lke to have an intermediate php page that will submit the
> details (submitted to it) to two other pages and then follow the response of
> one of those other pages (the primary page). That way I can insert a
> different autoresponder handling system into the submission process but
> continue to use the shopping carts pages for the time being.
> 
> Any suggestions?
> 
> Henry
> 
> 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] submitting a form to multiple places!!!

2002-10-01 Thread Henry

Hi All,

I have a problem that I hope you can help me with.

I'm using a third party shopping cart solution which is quite frankly naff.
They bundle some autoresponders with it. Unfortunately the autoresponders do
not work!.  I want to find a temporary solution  to this. The easiest way
would be to allow a form to be submitted to more than one place!

Basically I would lke to have an intermediate php page that will submit the
details (submitted to it) to two other pages and then follow the response of
one of those other pages (the primary page). That way I can insert a
different autoresponder handling system into the submission process but
continue to use the shopping carts pages for the time being.

Any suggestions?

Henry



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php