Re: [PHP] Post a form within a running php-script
A class which allows you to post from within a php script and retrieve the results: http://px.sklar.com/code-pretty.html?code_id=313 Julian On Sunday, July 8, 2001, at 11:22 PM, mike cullerton wrote: > > on 7/8/01 11:17 PM, Bob Horton at [EMAIL PROTECTED] wrote: > >> What if someone wanted to reply to a form but the form was expecting >> the >> information to arrive using the POST method (and wasn't explicitly >> PHP)? >> >> Is there any way to do it if you want to submit to a POST method >> form? Or >> some way to simulate the entering of the information and clicking of >> the >> submit button? >> > > i'm not sure if this is what you are asking, but i can have an url like > http://mysite.com/?submit=click_me&opt=my_option > > and refer to those inside my program as $submit and $opt > > > -- mike cullerton > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] > -- Julian Wood Multimedia developer University of Calgary -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Post a form within a running php-script
on 7/8/01 11:17 PM, Bob Horton at [EMAIL PROTECTED] wrote: > What if someone wanted to reply to a form but the form was expecting the > information to arrive using the POST method (and wasn't explicitly PHP)? > > Is there any way to do it if you want to submit to a POST method form? Or > some way to simulate the entering of the information and clicking of the > submit button? > i'm not sure if this is what you are asking, but i can have an url like http://mysite.com/?submit=click_me&opt=my_option and refer to those inside my program as $submit and $opt -- mike cullerton -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
RE: [PHP] Post a form within a running php-script
What if someone wanted to reply to a form but the form was expecting the information to arrive using the POST method (and wasn't explicitly PHP)? Is there any way to do it if you want to submit to a POST method form? Or some way to simulate the entering of the information and clicking of the submit button? > -Original Message- > From: Chris Anderson [mailto:[EMAIL PROTECTED]] > Sent: Friday, July 06, 2001 5:52 PM > To: [EMAIL PROTECTED]; [EMAIL PROTECTED] > Subject: Re: [PHP] Post a form within a running php-script > > > Yes, replace spaces with + signs > - Original Message - > From: "SED" <[EMAIL PROTECTED]> > To: "'Chris Anderson'" <[EMAIL PROTECTED]>; > <[EMAIL PROTECTED]> > Sent: Friday, July 06, 2001 7:24 PM > Subject: RE: [PHP] Post a form within a running php-script > > > I thought that at first but I need to post long variables (some > containing many words) and many, is that okay? > > -Original Message- > From: Chris Anderson [mailto:[EMAIL PROTECTED]] > Sent: 6. júlí 2001 23:08 > To: [EMAIL PROTECTED]; [EMAIL PROTECTED] > Subject: Re: [PHP] Post a form within a running php-script > > > Put the variables in the url ie: > script.php?username=joebob&password=joepassword > - Original Message - > From: "SED" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Friday, July 06, 2001 6:30 PM > Subject: [PHP] Post a form within a running php-script > > > > For a special purpose I want to post a form within a running script, > > is it possible? I don't need the feedback, only post it to a > > http-path. (To clarify, I'm not asking about Submitting a form via > > button.) > > > > Regards, > > Sumarlidi Einar Dadason > > > > SED - Graphic Design > > > > -- > > Phone: (+354) 4615501 > > Mobile: (+354) 8960376 > > Fax: (+354) 4615503 > > E-mail: [EMAIL PROTECTED] > > Homepage:www.sed.is > > -- > > > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > To contact the list administrators, e-mail: > [EMAIL PROTECTED] > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] > > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Post a form within a running php-script
Yes, replace spaces with + signs - Original Message - From: "SED" <[EMAIL PROTECTED]> To: "'Chris Anderson'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Friday, July 06, 2001 7:24 PM Subject: RE: [PHP] Post a form within a running php-script I thought that at first but I need to post long variables (some containing many words) and many, is that okay? -Original Message- From: Chris Anderson [mailto:[EMAIL PROTECTED]] Sent: 6. júlí 2001 23:08 To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: [PHP] Post a form within a running php-script Put the variables in the url ie: script.php?username=joebob&password=joepassword - Original Message - From: "SED" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, July 06, 2001 6:30 PM Subject: [PHP] Post a form within a running php-script > For a special purpose I want to post a form within a running script, > is it possible? I don't need the feedback, only post it to a > http-path. (To clarify, I'm not asking about Submitting a form via > button.) > > Regards, > Sumarlidi Einar Dadason > > SED - Graphic Design > > -- > Phone: (+354) 4615501 > Mobile: (+354) 8960376 > Fax: (+354) 4615503 > E-mail: [EMAIL PROTECTED] > Homepage:www.sed.is > -- > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
RE: [PHP] Post a form within a running php-script
I thought that at first but I need to post long variables (some containing many words) and many, is that okay? -Original Message- From: Chris Anderson [mailto:[EMAIL PROTECTED]] Sent: 6. júlí 2001 23:08 To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: [PHP] Post a form within a running php-script Put the variables in the url ie: script.php?username=joebob&password=joepassword - Original Message - From: "SED" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, July 06, 2001 6:30 PM Subject: [PHP] Post a form within a running php-script > For a special purpose I want to post a form within a running script, > is it possible? I don't need the feedback, only post it to a > http-path. (To clarify, I'm not asking about Submitting a form via > button.) > > Regards, > Sumarlidi Einar Dadason > > SED - Graphic Design > > -- > Phone: (+354) 4615501 > Mobile: (+354) 8960376 > Fax: (+354) 4615503 > E-mail: [EMAIL PROTECTED] > Homepage:www.sed.is > -- > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Post a form within a running php-script
Put the variables in the url ie: script.php?username=joebob&password=joepassword - Original Message - From: "SED" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, July 06, 2001 6:30 PM Subject: [PHP] Post a form within a running php-script > For a special purpose I want to post a form within a running script, is > it possible? I don't need the feedback, only post it to a http-path. (To > clarify, I'm not asking about Submitting a form via button.) > > Regards, > Sumarlidi Einar Dadason > > SED - Graphic Design > > -- > Phone: (+354) 4615501 > Mobile: (+354) 8960376 > Fax: (+354) 4615503 > E-mail: [EMAIL PROTECTED] > Homepage:www.sed.is > -- > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Post a form within a running php-script
For a special purpose I want to post a form within a running script, is it possible? I don't need the feedback, only post it to a http-path. (To clarify, I'm not asking about Submitting a form via button.) Regards, Sumarlidi Einar Dadason SED - Graphic Design -- Phone: (+354) 4615501 Mobile: (+354) 8960376 Fax: (+354) 4615503 E-mail: [EMAIL PROTECTED] Homepage:www.sed.is -- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]