RE: [PHP] How to submit form via PHP

2008-09-30 Thread Richard Lynch
[mailto:[EMAIL PROTECTED] Sent: Monday, September 29, 2008 7:34 PM To: Lupus Michaelis; php-general@lists.php.net Subject: Re: [PHP] How to submit form via PHP Hm, it specifies base though. Does that mean the full query string won't be guaranteed to be passed along? On 9/29/08, Lupus Michaelis

RE: [PHP] How to submit form via PHP

2008-09-29 Thread Richard Lynch
-Original Message- No it doesn't... without an action statement... Sorry to drag up an old thread, but I just saw this. Is that true of all browsers? I'm wondering because I just coded a site to use this behavior, then I saw that the html specification says the action attribute is

RE: [PHP] How to submit form via PHP

2008-09-29 Thread Richard Lynch
To: php-general@lists.php.net Subject: Re: [PHP] How to submit form via PHP 2008/9/28 Ashley Sheridan [EMAIL PROTECTED]: Sorry to drag up an old thread, but I just saw this. Is that true of all browsers? I'm wondering because I just coded a site to use this behavior, then I saw that the html

Re: [PHP] How to submit form via PHP

2008-09-29 Thread Micah Gersten
: [PHP] How to submit form via PHP 2008/9/28 Ashley Sheridan [EMAIL PROTECTED]: Sorry to drag up an old thread, but I just saw this. Is that true of all browsers? I'm wondering because I just coded a site to use this behavior, then I saw that the html specification says the action attribute

Re: [PHP] How to submit form via PHP

2008-09-29 Thread Lupus Michaelis
Micah Gersten a écrit : Not according to this: http://www.w3.org/TR/html401/interact/forms.html#adef-action The only defined behaviour is when you specify a URI. The empty string into an HTML document is a valid relative URI ;) According the same document gave (just follow the references

Re: [PHP] How to submit form via PHP

2008-09-29 Thread Ashley Sheridan
On Mon, 2008-09-29 at 23:56 +0200, Lupus Michaelis wrote: Micah Gersten a écrit : Not according to this: http://www.w3.org/TR/html401/interact/forms.html#adef-action The only defined behaviour is when you specify a URI. The empty string into an HTML document is a valid relative URI

Re: [PHP] How to submit form via PHP

2008-09-29 Thread Ashley Sheridan
On Mon, 2008-09-29 at 23:40 +0100, Ashley Sheridan wrote: On Mon, 2008-09-29 at 23:56 +0200, Lupus Michaelis wrote: Micah Gersten a écrit : Not according to this: http://www.w3.org/TR/html401/interact/forms.html#adef-action The only defined behaviour is when you specify a URI.

Re: [PHP] How to submit form via PHP

2008-09-29 Thread Lupus Michaelis
Ashley Sheridan a écrit : From the link you gave, we stick on http://www.w3.org/TR/html401/types.html#type-uri, so it references an IETF RFC http://www.ietf.org/rfc/rfc1808.txt that describes what is an URI. The fourth section describes how we have to determine the resolution of an

Re: [PHP] How to submit form via PHP

2008-09-29 Thread Nisse Engström
On Mon, 29 Sep 2008 11:33:41 -0500, Richard Lynch wrote: Actually, I believe action= submitting to the same URL is *documented* HTTP spec behavior. I welcome correction/confirmation if somebody wants to wade through the docs again... HTML 4.01 says: action = uri [CT] This

Re: [PHP] How to submit form via PHP

2008-09-29 Thread Shawn McKenzie
Lupus Michaelis wrote: Ashley Sheridan a écrit : From the link you gave, we stick on http://www.w3.org/TR/html401/types.html#type-uri, so it references an IETF RFC http://www.ietf.org/rfc/rfc1808.txt that describes what is an URI. The fourth section describes how we have to determine

RE: [PHP] How to submit form via PHP

2008-09-29 Thread Richard Lynch
I can't speak to cell phones, but it works on all normal browsers I've ever seen... From: Nisse Engström [EMAIL PROTECTED] Sent: Monday, September 29, 2008 6:11 PM To: php-general@lists.php.net Subject: Re: [PHP] How to submit form via PHP On Mon, 29 Sep

Re: [PHP] How to submit form via PHP

2008-09-29 Thread Waynn Lue
Hm, it specifies base though. Does that mean the full query string won't be guaranteed to be passed along? On 9/29/08, Lupus Michaelis [EMAIL PROTECTED] wrote: Ashley Sheridan a écrit : From the link you gave, we stick on http://www.w3.org/TR/html401/types.html#type-uri, so it references

Re: [PHP] How to submit form via PHP

2008-09-28 Thread Ashley Sheridan
On Sat, 2008-09-27 at 21:37 -0700, Waynn Lue wrote: No it doesn't... without an action statement... Sorry to drag up an old thread, but I just saw this. Is that true of all browsers? I'm wondering because I just coded a site to use this behavior, then I saw that the html specification says

Re: [PHP] How to submit form via PHP

2008-09-28 Thread Per Jessen
Ashley Sheridan wrote: Without the action attribute, the form submits to itself, i.e. a form on contact.php submits to contact.php without an action attribute being specified. Yes, not specifying the action attribute is the same as having an empty action attribute. I don't know if all

Re: [PHP] How to submit form via PHP

2008-09-28 Thread Dotan Cohen
2008/9/28 Ashley Sheridan [EMAIL PROTECTED]: Sorry to drag up an old thread, but I just saw this. Is that true of all browsers? I'm wondering because I just coded a site to use this behavior, then I saw that the html specification says the action attribute is required. Without the action

Re: [PHP] How to submit form via PHP

2008-09-27 Thread Waynn Lue
No it doesn't... without an action statement... Sorry to drag up an old thread, but I just saw this. Is that true of all browsers? I'm wondering because I just coded a site to use this behavior, then I saw that the html specification says the action attribute is required. Thanks, Waynn On

RE: [PHP] How to submit form via PHP

2008-08-17 Thread tedd
At 2:39 PM -0400 8/15/08, Robert Cummings wrote: On Fri, 2008-08-15 at 13:30 -0500, Jay Blanchard wrote: Your form tag needs an action statement No it doesn't... without an action statement it will submit to the same URL in which it was presented. Cheers, Rob. Rob: There you go again --

RE: [PHP] How to submit form via PHP

2008-08-16 Thread pe . ve . ce
Many thanks, Todd, and others. Matěj czech_d3vl0p3r Grabovský Původní zpráva Od: Boyd, Todd M. [EMAIL PROTECTED] Předmět: RE: [PHP] How to submit form via PHP Datum: 15.8.2008 22:43:40 -Original Message- From

RE: [PHP] How to submit form via PHP

2008-08-15 Thread Jay Blanchard
[snip] Hello. I'm pretty noob in PHP and would like to know how can I submit some HTML form got via file_get_contents(URL). For example: form name=someform method=post input type=submit /form so how can I submit 'someform' form. Thanks in advance for any suggestions. [/snip] Click 'Submit'

RE: [PHP] How to submit form via PHP

2008-08-15 Thread Robert Cummings
On Fri, 2008-08-15 at 13:30 -0500, Jay Blanchard wrote: [snip] Hello. I'm pretty noob in PHP and would like to know how can I submit some HTML form got via file_get_contents(URL). For example: form name=someform method=post input type=submit /form so how can I submit 'someform' form.

Re: [PHP] How to submit form via PHP

2008-08-15 Thread Dotan Cohen
2008/8/15 Jay Blanchard [EMAIL PROTECTED]: [snip] Hello. I'm pretty noob in PHP and would like to know how can I submit some HTML form got via file_get_contents(URL). For example: form name=someform method=post input type=submit /form so how can I submit 'someform' form. Thanks in

RE: [PHP] How to submit form via PHP

2008-08-15 Thread Warren Vail
exposure, but I believe CURL is what you want. Hth, Warren Vail -Original Message- From: Jay Blanchard [mailto:[EMAIL PROTECTED] Sent: Friday, August 15, 2008 11:31 AM To: [EMAIL PROTECTED]; php-general@lists.php.net Subject: RE: [PHP] How to submit form via PHP [snip] Hello. I'm

RE: [PHP] How to submit form via PHP

2008-08-15 Thread Jay Blanchard
[snip] On Fri, 2008-08-15 at 13:30 -0500, Jay Blanchard wrote: [snip] Hello. I'm pretty noob in PHP and would like to know how can I submit some HTML form got via file_get_contents(URL). For example: form name=someform method=post input type=submit /form so how can I submit 'someform'

RE: [PHP] How to submit form via PHP

2008-08-15 Thread pe . ve . ce
PROTECTED] Předmět: RE: [PHP] How to submit form via PHP Datum: 15.8.2008 21:04:12 Key to this one may be understanding what is being asked. I think pe.ve.ce performed a file read (file_get_contents) on the form from another website and wants to be able

RE: [PHP] How to submit form via PHP

2008-08-15 Thread Boyd, Todd M.
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, August 15, 2008 2:54 PM To: php-general@lists.php.net Subject: RE: [PHP] How to submit form via PHP Thanks, that was what I needed. Also I found this: http://curl.haxx.se/libcurl/php/examples