Re: [PHP] Re: Double entry into MySQL..

2003-01-09 Thread Marek Kilimajer
$_SERVER['REQUEST_METHOD'] contains the method used to retrieve the page (POST, GET etc, see rfc2616). HEAD method is used to retrieve info about a resource, but I'm not sure why, as Timothy stated, it does not always work. Altug Sahin wrote: Is this a php.ini or apache setting? "Marek Kilima

Re: [PHP] Re: Double entry into MySQL..

2003-01-08 Thread Altug Sahin
Is this a php.ini or apache setting? "Marek Kilimajer" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > You should be able to get around it also by checking > if $_SERVER[REQUEST_METHOD]=='HEAD' > > Timothy Hitchens (HiTCHO) wrote: > > >When they first click on t

RE: [PHP] Re: Double entry into MySQL..

2003-01-08 Thread Timothy Hitchens \(HiTCHO\)
> To: Timothy Hitchens (HiTCHO) > Cc: 'Altug Sahin'; [EMAIL PROTECTED] > Subject: Re: [PHP] Re: Double entry into MySQL.. > > > You should be able to get around it also by checking > if $_SERVER[REQUEST_METHOD]=='HEAD' > > Timothy Hitchens (HiTCHO)

Re: [PHP] Re: Double entry into MySQL..

2003-01-08 Thread Marek Kilimajer
You should be able to get around it also by checking if $_SERVER[REQUEST_METHOD]=='HEAD' Timothy Hitchens (HiTCHO) wrote: When they first click on the file their browser will make a request for type, size etc then when it display's the dialog box on the screen of the client it will make another

RE: [PHP] Re: Double entry into MySQL..

2003-01-07 Thread Timothy Hitchens \(HiTCHO\)
When they first click on the file their browser will make a request for type, size etc then when it display's the dialog box on the screen of the client it will make another request to start the download. I get around this by putting the session id into the database and if it is double requested w