Re: [PHP] confusing problem or am just plain confused....

2003-06-10 Thread Emma Jane Hogbin
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

Re: [PHP] solved Re: [PHP] sessions, IE and pop-up windows

2003-06-10 Thread Emma Jane Hogbin
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

[PHP] solved Re: [PHP] sessions, IE and pop-up windows

2003-06-09 Thread Emma Jane Hogbin
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

Re: [PHP] sessions, IE and pop-up windows

2003-06-09 Thread Emma Jane Hogbin
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

Re: [PHP] sessions, IE and pop-up windows

2003-06-09 Thread Emma Jane Hogbin
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

Re: [PHP] Session not working?

2003-06-09 Thread Emma Jane Hogbin
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

Re: [PHP] sessions, IE and pop-up windows

2003-06-09 Thread Emma Jane Hogbin
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

Re: [PHP] Session not working?

2003-06-09 Thread Emma Jane Hogbin
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 ]

Re: [PHP] Session not working?

2003-06-09 Thread Emma Jane Hogbin
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

[PHP] sessions, IE and pop-up windows

2003-06-09 Thread Emma Jane Hogbin
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