process the form quite
nicely like this:
foreach ($_POST["textname"] as $id => $value) {
// access other items with:
$checkbox = $_POST["checkbox"][$id];
$other = $_POST["otherchkbox"][$id];
}
I'm sure there ar
t call.
> > This would mean that the script called in the popup is seeing the session ID
> >neither in the URL nor in a cookie -- i.e. not at all -- and hence the need to add
> >the SID information manually.
Ahh!! Yes, I'm using an external .js file to create the pop-up wi
ched. You can ensure this with output buffering as I
> suggested before. Becuase you're controlling the output there won't be a
> button to press until the parent script has died.
What ended up working was passing the session ID to the pop-up window
"manually" by including it
must still do a session_start somewhere.
Already doing that part. :)
--
Emma Jane Hogbin
[[ 416 417 2868 ][ www.xtrinsic.com ]]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
pen(url, "ewin",
"width=500,height=300,toolbar=0,resizable=1,scrollbars=1");
ewin.focus();
}
--
Emma Jane Hogbin
[[ 416 417 2868 ][ www.xtrinsic.com ]]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
l'];
> ?>
It looks to me like you must have an error somewhere else. I pasted this
PHP into a blank page and then tested it with:
http://localhost/testing/test.php?submit=you
the page correctly re-directed to test3.php
The header() function can ONLY re-direct the browser to another page if
*not
on is still running in background. It seems it's waiting the other
PHP to finish... and sometimes it can be a problem. Create 2 different
sessions by setting 2 different names : session_name() solve the problem.
Benja.
--
Emma Jane Hogbin
[[ 416 417 2868 ][ www.xtrinsic.com ]]
--
PHP Gene
he original page... I don't have your
original script and it's not in the archives yet; however, are you using
the right syntax for the header function?
header("Location: http://www.example.com/";);
Note that the Location must be uppercase L.
--
Emma Jane Hogbin
[[ 416 417 2868 ]
e right URL, or is it looking in
the wrong directory for test3.php?
emma
--
Emma Jane Hogbin
[[ 416 417 2868 ][ www.xtrinsic.com ]]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
session_name("website");
}
session_start();
Any suggestions on how I can use pop-up windows for editing and maintain a
person's logged in status?
thanks!
emma
--
Emma Jane Hogbin
[[ 416 417 2868 ][ www.xtrinsic.com ]]
--
PHP General M
10 matches
Mail list logo