--- John Manko <[EMAIL PROTECTED]> wrote:
> Just a small point, you can have both GET and POST.
>
> -- search.html -
> action='page.php?...
Notice your form method is POST, not both GET and POST. The HTTP request sent
after a user submits this form will be a POST request, even though you
> --- Andrei Verovski <[EMAIL PROTECTED]> wrote:
> > I am need to pass serialized assotiative array via form hidden
> > field (not GET or POST).
>
> This is impossible. A hidden form field is simply a form field that is not
> displayed to the user. Form actions must be GET or POST.
>
> > In order t
Just a small point, you can have both GET and POST.
-- search.html -
- page.php
$sid = $_GET['sid'];
session_id($sid);
session_start();
$search = $_POST['search'];
Also, for those who don't know, you can even reference hash links
Hope that helps.
Chris
=
Become a
--- Andrei Verovski <[EMAIL PROTECTED]> wrote:
> I am need to pass serialized assotiative array via form hidden
> field (not GET or POST).
This is impossible. A hidden form field is simply a form field that is not
displayed to the user. Form actions must be GET or POST.
> In order to do it, I did
Andrei Verovski (aka MacGuru) wrote:
Hi,
I am need to pass serialized assotiative array via form hidden field
(not GET or POST). In order to do it, I did the following:
Uis there a third form method that I'm not aware of?
urlencode(serialize($my_array)). However, after retrieving data fr
Just tried it out and you should use htmlspecialchars() instead of
urlencode(). When you put it in a hidden field the browser is
responsable for urlencoding the data.
Jacob
On Mon, 2003-07-21 at 09:24, Andrei Verovski wrote:
> Hi,
>
> I am need to pass serialized assotiative array via form hidde
Andrei Verovski (aka MacGuru) napsal(a):
Hi,
I am need to pass serialized assotiative array via form hidden field
(not GET or POST). In order to do it, I did the following:
urlencode(serialize($my_array)). However, after retrieving data from
hidden field and unserialize I've got junk.
Someone
Hi,
I am need to pass serialized assotiative array via form hidden field
(not GET or POST). In order to do it, I did the following:
urlencode(serialize($my_array)). However, after retrieving data from
hidden field and unserialize I've got junk.
Someone can explain me what I did wrong?
Also, d
8 matches
Mail list logo