Re: [PHP] Re: $_session/$_cookie trouble

2009-04-29 Thread Igor Escobar
A few days ago i had a problem similar to their and it was a problem with files with BOM signature... maybe its your case. Regards, Igor Escobar Systems Analyst Interface Designer -- Personal Blog ~ blog.igorescobar.com Online Portifolio ~ www.igorescobar.com Twitter ~ @igorescobar On

[PHP] Re: $_session/$_cookie trouble

2009-04-28 Thread Gary
Many thanks to all for persevering my ignorance! I had read that setting a cookie into the past would destroy the cookie once the browser session was over, so that is why I had set it that way. I did two things to solve the problem, and I frankly dont know which one (or both) it was. First I

Re: [PHP] Re: $_session/$_cookie trouble

2009-04-28 Thread Andrew Hucks
$sale_value would have worked if it hadn't been in single quotes, I believe. (Assuming it was populated.). When you put it in quotes, you were making the cookie's value a string instead of a variable. So, the value would actually have literally been $sale_value, rather than the value for that

Re: [PHP] Re: $_session/$_cookie trouble

2009-04-28 Thread Lists
Andrew Hucks wrote: $sale_value would have worked if it hadn't been in single quotes, I believe. (Assuming it was populated.). Which it wasn't.. ;-) according to Gary's last post. He assigned it now with 'sale'.. however, I think it should rather be in double quotes (sale) if he wants to get

Re: [PHP] Re: $_session/$_cookie trouble

2009-04-28 Thread Gary
Ok, working code. I'm sure there is some left over code that is not actually working, but I have been playing frankenstein all day. Basically a vistor fills in 3 (only two set so far) inputs to see if they qualify for a rebate. If they do, they can go on to file two to submit their