Re: [PHP] Checkbox Question

2004-09-02 Thread Curt Zirzow
* Thus wrote Nick Wilson: > Hi all, > > Im using php's cURL module to submit a form on a remote site. All is > *good* so far but i dont know what parameter to pass to ensure that > this checkbox is 'checked': > > TIAS. a=http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.p

Re: [PHP] Checkbox Question

2004-09-02 Thread M. Sokolewicz
Stephan Fiedler wrote: Hi Nick, Nick Wilson wrote: Hi all, [...] so, what is it? a= [...] if a was checked "a=on" is posted (or 'get'ed) if not checked a isn't set. Thanks very much! You're welcome Stephan that actually depends on the browser. Mayne browsers send a= when it's not checked (meani

Re: [PHP] Checkbox Question

2004-09-02 Thread Stephan Fiedler
Hi Nick, Nick Wilson wrote: Hi all, [...] so, what is it? a= [...] if a was checked "a=on" is posted (or 'get'ed) if not checked a isn't set. Thanks very much! You're welcome Stephan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Checkbox Question

2004-09-02 Thread Nick Wilson
Hi all, Im using php's cURL module to submit a form on a remote site. All is *good* so far but i dont know what parameter to pass to ensure that this checkbox is 'checked': so, what is it? a= Thanks very much! -- Nick W -- PHP General Mailing List (http://www.php.net/) To unsubscribe, v

Re: [PHP] checkbox question

2002-09-09 Thread Alex Shi
Thanks for your reply! I tested $_SERVER['QUERY_STRING']. Seems like it only return the string for get method but not for post. Any idea? Alex "Marek Kilimajer" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > If you cannot use square brackets, get the value

Re: [PHP] checkbox question

2002-09-09 Thread Marek Kilimajer
If you cannot use square brackets, get the values yourself from $_SERVER['QUERY_STRING'] Alex Shi wrote: >How to ontain data from a group of checkbox using same name? >For example, in a form there're 6 checkboxes and all named as >"Interesting_Area". I know if put a pairs of square brackets at

[PHP] checkbox question

2002-09-08 Thread Alex Shi
How to ontain data from a group of checkbox using same name? For example, in a form there're 6 checkboxes and all named as "Interesting_Area". I know if put a pairs of square brackets at the end of the name then in php all the values of them can be ontained. However, for some reason I cannot use s

Re: [PHP] Checkbox question

2002-08-16 Thread José Jeria
Hmmm, then the book "Beginning PHP" from Wrox is wrong... /J Jason Wong wrote: > On Friday 16 August 2002 17:54, José Jeria wrote: > >>I have a page with a checkbox, when i submit to the next page the >>variable $whatever (the checkboxes name.) will be "On" if its checked, >>and it will be unde

Re: [PHP] Checkbox question

2002-08-16 Thread Jason Wong
On Friday 16 August 2002 17:54, José Jeria wrote: > I have a page with a checkbox, when i submit to the next page the > variable $whatever (the checkboxes name.) will be "On" if its checked, > and it will be undefined if its not checked. > > Shouldn't it be a empty string? and not undefined? That

[PHP] Checkbox question

2002-08-16 Thread José Jeria
I have a page with a checkbox, when i submit to the next page the variable $whatever (the checkboxes name.) will be "On" if its checked, and it will be undefined if its not checked. Shouldn't it be a empty string? and not undefined? /José -- PHP General Mailing List (http://www.php.net/) To