Re: [PHP] Updating a table after a successful download

2003-07-30 Thread David Nicholson
Hello, This is a reply to an e-mail that you wrote on Wed, 30 Jul 2003 at 14:43, lines prefixed by '>' were originally written by you. > I tried changing the code to: > // send headers to browser to initiate file download > header ("Content-Type: application/octet-stream"); > header ("

RE: [PHP] Updating a table after a successful download

2003-07-30 Thread Luis Lebron
Original Message- From: David Nicholson [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 30, 2003 8:18 AM To: Luis Lebron Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Updating a table after a successful download Hello, This is a reply to an e-mail that you wrote on Wed, 30 Jul 2003 at 13:46, lines pref

Re: [PHP] Updating a table after a successful download

2003-07-30 Thread David Nicholson
Hello, This is a reply to an e-mail that you wrote on Wed, 30 Jul 2003 at 13:46, lines prefixed by '>' were originally written by you. > The problem I am having is that when the download is canceled by the > user > the document still shows up as being checked out. Is there a way to > know if > the

[PHP] Updating a table after a successful download

2003-07-30 Thread Luis Lebron
I currently have some code in a document management system that is used to check-out a document. It looks like this: //Update the status of the document $query = "UPDATE $table_data SET status = '$SESSION_UID' WHERE id = '$id'"; $result=&$conn->Execute($query); //Download the document. header ("