Re: HREFs that can't be
| From: | Carsten Gehling | Date: | Fri, 02 Mar 2001 08:38:55 +0000 |
| Subject: | Re: HREFs that can't be | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-42308@lists.php.net to get a copy of this message | ||
From: <php3@developersdesk.com>
Sent: Friday, March 02, 2001 9:12 AM
>> Just include the SID as a hidden input. It'll be POSTED to the next page
>> right along with your other variables. There's even a way to configure
>> your php.ini file so that PHP includes the hidden SID for you. I forget
>> which setting it is--maybe "trans-id" or something like that...? Poke
>> around in the the "configuration" chapter of the manual; it's in there.
> That won't work. Clicking on a link does not trigger sending of fields
> (hidden or not).
No? How about:
<form name=myForm method=post action=...>
<input bla bla bla...>
</form>
<a href="javascript:document.myForm.submit();">Click here</a>
<a href="#" onclick="document.myForm.submit();return false;">or
here</a>
- Carsten