Date: 11/28/99
- Next message: Lars S. Geisler: "SV: RE: [PHPLIB] I can't keep the PHPLIB-"cookie""
- Previous message: Simon Sadler: "Re: [PHPLIB] Warning - Same session in two browsers?"
- Next in thread: Avrum Goodblatt: "[PHPLIB] registration fields, IE caching"
- Reply: Avrum Goodblatt: "[PHPLIB] registration fields, IE caching"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Shawn Patton wrote:
[ Append the action of your form with the purl() class method:
<form method="post" action="<?php $sess->purl("yourpage.php3"); ?>">
or , possibly use a hidden field for the $sess variable.
or, I think that oohforms automatically sticks a hidden session variable
in the form when the action is get ( not to sure on that one ). ]
I've done that. Here's some of my code:
Print "<form method=\"post\" action=\"bio2.php3\">";
$sess->Hidden_Session();
[... a bunch of input fields ...]
Print "Address: <input type=\"text\" name=\"address\"> <input
type=\"submit\" value=\"Show result\"></form>";
Then, on the next page (bio2.php3), I don't have any access to the variables
posted from the form. This means that after I've executed the
Page_Open()-function, the variable $address is empty. If I remove the
Page_Open()-function, the variable $address contains whatever was written in
the address-field on the previous page.
Pleeeaaseee help me!
Thank you - again - very much in advance,
Lars Sehested Geisler
larssg <email protected>
-
PHP3 Base Library Mailing List. Send messages to <phplib <email protected>>.
To unsubscribe, send "unsubscribe" to <phplib-request <email protected>> in
the body, not the subject, of your message.
- Next message: Lars S. Geisler: "SV: RE: [PHPLIB] I can't keep the PHPLIB-"cookie""
- Previous message: Simon Sadler: "Re: [PHPLIB] Warning - Same session in two browsers?"
- Next in thread: Avrum Goodblatt: "[PHPLIB] registration fields, IE caching"
- Reply: Avrum Goodblatt: "[PHPLIB] registration fields, IE caching"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

