[PHP] simulate form submission

2001-06-19 Thread Pascal Polleunus

Hi,

Does someone know how to simulate a form submission?
I guess I need to do something like
header(Location: http://www.mysite.com;);
header($PostVarsData);
where $PostVarsData must contains the header informations to send the post vars

but what are these header informations?
how can I handle that?

Thanks,
Pascal




Re: [PHP] simulate form submission

2001-06-19 Thread Gyozo Papp

Hello,

an article was posted to Zend a few weeks ago its title was:

Mimic form submissions in PHP by John Coggeshall

Learn how you can use PHP to simulate GET and POST form submissions from
within your PHP scripts.

and the URL:
http://www.zend.com/zend/spotlight/mimocsumissions.php 

hope this helps.

Papp Gyozo 
- [EMAIL PROTECTED]

- Original Message - 
From: Pascal Polleunus [EMAIL PROTECTED]
To: _PHP [EMAIL PROTECTED]
Sent: 2001. jĂșnius 19. 10:35
Subject: [PHP] simulate form submission


 Hi,
 
 Does someone know how to simulate a form submission?
 I guess I need to do something like
 header(Location: http://www.mysite.com;);
 header($PostVarsData);
 where $PostVarsData must contains the header informations to send the post vars
 
 but what are these header informations?
 how can I handle that?
 
 Thanks,
 Pascal
 





Re: [PHP] simulate form submission

2001-06-19 Thread Meir kriheli

On Tuesday 19 June 2001 11:35, Pascal Polleunus wrote:
 Hi,

 Does someone know how to simulate a form submission?
 I guess I need to do something like
   header(Location: http://www.mysite.com;);
   header($PostVarsData);
 where $PostVarsData must contains the header informations to send the post
 vars

 but what are these header informations?
 how can I handle that?

 Thanks,
 Pascal

You can use the http class from Manuel Lemos, see:

http://phpclasses.upperdesign.com/browse.html/package/3

-- 
Meir Kriheli

  There's someone in my head, but it's not me - Pink Floyd