Re: [PHP] Re: setting cookie doesn't work

2009-08-03 Thread Ashley Sheridan
On Mon, 2009-08-03 at 20:44 +0200, Grega Leskovsek wrote: > I made two files now of the program: (the main one and the one where I > set the cookie and open pdf)and I noticed that it doesn't work setting > the cookie the first time I call the file where I set the cookie but > only after the second

[PHP] Re: setting cookie doesn't work

2009-08-03 Thread Grega Leskovsek
I made two files now of the program: (the main one and the one where I set the cookie and open pdf)and I noticed that it doesn't work setting the cookie the first time I call the file where I set the cookie but only after the second header redirection. How do I refresh the page in php? Thanks in

[PHP] Re: setting cookie doesn't work

2009-08-03 Thread Grega Leskovsek
And here is the objective: Alter your Acme, Inc. download interface from the previous lesson(I had to not to allow users on computers straing IP with 202 and allow only IE for Win and FF for Mac to download file) so that each user must register her email address in order to download the file. Use c