Re: [PHP] simple-ish question but something i never knew

2005-12-16 Thread Robert Cummings
On Fri, 2005-12-16 at 06:59, Karlos Zafra wrote: > 2005/12/10, Robert Cummings <[EMAIL PROTECTED]>: > > I've tried this in my server and had no problem. > > session_start(); > > $_SESSION['string']="foobar"; > header("location:print_string.php"); > ?> > > > session_start(); > > echo "Stri

Re: [PHP] simple-ish question but something i never knew

2005-12-16 Thread Karlos Zafra
gt; Cc: "PHP-General" > > Sent: Saturday, December 10, 2005 3:07 AM > > Subject: Re: [PHP] simple-ish question but something i never knew > > > > > > > On Sat, 2005-12-10 at 03:01, Aaron Koning wrote: > > > > My experience was with the Locati

Re: [PHP] simple-ish question but something i never knew

2005-12-10 Thread matt VanDeWalle
well i learned once again, or maybe it is a new commandment for me: "thou shalt not code after midnight" lol because the blank page after the refresh was a really stupid blunder on my part. it seems like I was trying to use $type as a variable but it was refreshing/redirecting to the same pag

Re: [PHP] simple-ish question but something i never knew

2005-12-10 Thread Zareef Ahmed
- Original Message - From: "Robert Cummings" <[EMAIL PROTECTED]> To: "Zareef Ahmed" <[EMAIL PROTECTED]> Cc: "Aaron Koning" <[EMAIL PROTECTED]>; "PHP-General" Sent: Saturday, December 10, 2005 11:40 AM Subject: Re: [PHP] simple-i

Re: [PHP] simple-ish question but something i never knew

2005-12-10 Thread Robert Cummings
On Sat, 2005-12-10 at 11:08, Zareef Ahmed wrote: > > Yes indeed, but normally people do not know about this. > Alternatively we can reverse the script, I mean, we can write the header > line as first line of script. Maybe so, but if you don't know to plug the power saw in, you're not going to get

Re: [PHP] simple-ish question but something i never knew

2005-12-10 Thread Zareef Ahmed
- Original Message - From: "Robert Cummings" <[EMAIL PROTECTED]> To: "Zareef Ahmed" <[EMAIL PROTECTED]> Cc: "Aaron Koning" <[EMAIL PROTECTED]>; "PHP-General" Sent: Saturday, December 10, 2005 11:03 AM Subject: Re: [PHP] simple-i

Re: [PHP] simple-ish question but something i never knew

2005-12-10 Thread Robert Cummings
On Sat, 2005-12-10 at 10:45, Zareef Ahmed wrote: > - Original Message - > From: "Robert Cummings" <[EMAIL PROTECTED]> > To: "Aaron Koning" <[EMAIL PROTECTED]> > Cc: "PHP-General" > Sent: Saturday, December 10, 2005 3:07 AM >

Re: [PHP] simple-ish question but something i never knew

2005-12-10 Thread Zareef Ahmed
- Original Message - From: "Robert Cummings" <[EMAIL PROTECTED]> To: "Aaron Koning" <[EMAIL PROTECTED]> Cc: "PHP-General" Sent: Saturday, December 10, 2005 3:07 AM Subject: Re: [PHP] simple-ish question but something i never knew > On

Re: [PHP] simple-ish question but something i never knew

2005-12-10 Thread matt VanDeWalle
hello again, I tried the meta tag stuff and well where i had it it didn't redirect or refresh, it just litterally echo'd the meta stuff so maybe i read the manual page wrong but it either does that, or presents me with a blank page and i know the pages i have it go to aren't blank :p so i guess

Re: [PHP] simple-ish question but something i never knew

2005-12-10 Thread Robert Cummings
On Sat, 2005-12-10 at 03:01, Aaron Koning wrote: > My experience was with the Location keyword, it might work better with the > Redirect keyword in the header function. I stopped using header and Location > after a few problems and has never failed for me. MHO. What kind of problems did you have?

Re: [PHP] simple-ish question but something i never knew

2005-12-10 Thread Robert Cummings
On Sat, 2005-12-10 at 02:55, Michael Hulse wrote: > On Dec 9, 2005, at 11:35 PM, Aaron Koning wrote: > > Its been my experience that meta tags work better. > > header("Refresh: 0; URL=https://www.theNewUrl/forward.html";); I didn't know you could do that *lol*. Either way, I think the example I ga

Re: [PHP] simple-ish question but something i never knew

2005-12-10 Thread Aaron Koning
My experience was with the Location keyword, it might work better with the Redirect keyword in the header function. I stopped using header and Location after a few problems and has never failed for me. MHO. Aaron On 12/9/05, Michael Hulse <[EMAIL PROTECTED]> wrote: > > On Dec 9, 2005, at 11:35 P

Re: [PHP] simple-ish question but something i never knew

2005-12-09 Thread Michael Hulse
On Dec 9, 2005, at 11:35 PM, Aaron Koning wrote: Its been my experience that meta tags work better. I guess what you are saying is that this: content="0;url=https://www.theNewUrl/forward.html";> Is better than this: header("Refresh: 0; URL=https://www.theNewUrl/forward.html";); -- PHP Gene

Re: [PHP] simple-ish question but something i never knew

2005-12-09 Thread Michael Hulse
On Dec 9, 2005, at 11:35 PM, Aaron Koning wrote: I have found that using the header function doesn't actually redirect the page, it pulls the content into the page that the function is called from (which works good for somethings, but can get confusing with post variables and such). Its been m

Re: [PHP] simple-ish question but something i never knew

2005-12-09 Thread Robert Cummings
On Sat, 2005-12-10 at 02:35, Aaron Koning wrote: > I have found that using the header function doesn't actually redirect the > page, it pulls the content into the page that the function is called from > (which works good for somethings, but can get confusing with post variables > and such). Its bee

Re: [PHP] simple-ish question but something i never knew

2005-12-09 Thread Aaron Koning
I have found that using the header function doesn't actually redirect the page, it pulls the content into the page that the function is called from (which works good for somethings, but can get confusing with post variables and such). Its been my experience that meta tags work better. Aaron On 12

Re: [PHP] simple-ish question but something i never knew

2005-12-09 Thread Michael Hulse
On Dec 9, 2005, at 11:07 PM, matt VanDeWalle wrote: I am wanting to forward a user on a signup or similar page (based on a few of their answers) and so far i have it split into basically a two-step process where i have on the first part, an option list with 4 choices, they hit continue or some

Re: [PHP] simple-ish question but something i never knew

2005-12-09 Thread Robert Cummings
On Sat, 2005-12-10 at 02:07, matt VanDeWalle wrote: > I am wanting to forward a user on a signup or similar page (based on a few > of their answers) and so far i have it split into basically a two-step > process where i have on the first part, an option list with 4 choices, > they hit continue

[PHP] simple-ish question but something i never knew

2005-12-09 Thread matt VanDeWalle
I am wanting to forward a user on a signup or similar page (based on a few of their answers) and so far i have it split into basically a two-step process where i have on the first part, an option list with 4 choices, they hit continue or some such labled link, and then having passed all the se