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
t; >e-mail: [EMAIL PROTECTED] > > > > > > > >>-Original Message- > >>From: Altug Sahin [mailto:[EMAIL PROTECTED]] > >>Sent: Wednesday, 8 January 2003 2:07 PM > >>To: [EMAIL PROTECTED] > >>Subject: [PHP] Re: Double entry into

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
EMAIL PROTECTED] -Original Message- From: Altug Sahin [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 8 January 2003 2:07 PM To: [EMAIL PROTECTED] Subject: [PHP] Re: Double entry into MySQL.. Another strange behaviour... When I send the name of the file to be downloaded to this script,

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

2003-01-07 Thread Timothy Hitchens \(HiTCHO\)
3 2:07 PM > To: [EMAIL PROTECTED] > Subject: [PHP] Re: Double entry into MySQL.. > > > Another strange behaviour... When I send the name of the file > to be downloaded to this script, it works (still makes a > double entry into MySQL > though) with GET method but it does

[PHP] Re: Double entry into MySQL..

2003-01-07 Thread Altug Sahin
Another strange behaviour... When I send the name of the file to be downloaded to this script, it works (still makes a double entry into MySQL though) with GET method but it doesn't work if the file's name is sent with the POST method. Why? I am pulling my hair out here!!! Please help... Thanks