Re: form value
| From: | Jeff Gannaway | Date: | Fri, 21 Jul 2000 06:42:22 +0000 |
| Subject: | Re: form value | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-7545@lists.php.net to get a copy of this message | ||
At 08:08 AM 7/21/00 -0300, Martin A. Marques wrote:
>1) One value is a string that is inputed through a <input type="text"> box,
>the value is a URL link, the link is passed to the next page in the URL, but
>the script receives an empty string.
>2) This form has a textarea that is very big in amount of text. Is there
>another way to send variable information, easlly, without putting it on the
>URL?
It sound slike you either didn't set the FORM METHOD, or you set it to GET.
Try this:
<FORM ACTION="wickedscript.php3" METHOD=POST>
After that, if you ever need to send one of those values through an
<A HREF="http://www.mysite.com/secondscript.php3?URL=$TheirURL>
tag, you'll
first need
to make their variable URL friendly by using:
$TheirURL = rawurlencode($TheirURL)
This will turn their spaces and other punctuation that will screw up the
browser into %20 and other URL-friendly codes.
>P.D.: Another problem I had was that I couldn't make IE5 authenticate with
>the normal html authentification headers (Netscape works OK). IE3 didn't work
>either.
Sorry, no clue.
-Jeff Gannaway