[PHP] session cookie that never expires

2003-02-17 Thread Altug Sahin
Hi there, I have setup a site with session management but even the browser is closed or after the default time expiration of the session, the user should be able to see his/her personalized settings. I am nor using any cookies. How can I make this happen without changing my session related code?

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

2003-01-08 Thread Altug Sahin
discard. So you will need to do a select, num_rows then if below 1 insert. Timothy Hitchens (HiTCHO) Open Platform Consulting e-mail: [EMAIL PROTECTED] -Original Message- From: Altug Sahin [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 8 January 2003 2:07 PM To: [EMAIL P

[PHP] Re: Double entry into MySQL..

2003-01-07 Thread Altug Sahin
... Thanks again Altug Sahin [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi here, I am sending a file to user's browser and logging the downloaded file into MySQL but everytime this script works, I see double entry in the MySQL table... Why is this happenin

[PHP] Force file download with header

2003-01-06 Thread Altug Sahin
Hi, Here is the simple script with which I am trying to have the user to download a file when the file name is posted from the user agreement page. dlQ_safe.php ? $file = $_POST[fileID]; $files_folder = C:\\temp\\; $dlfile = $files_folder.$file; header(Content-type: application/pdf);

Re: [PHP] Force file download with header

2003-01-06 Thread Altug Sahin
Thanks Chris, I will check it out.. Chris Shiflett [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... --- Altug Sahin [EMAIL PROTECTED] wrote: ? $file = $_POST[fileID]; $files_folder = C:\\temp\\; $dlfile = $files_folder.$file; header(Cont

[PHP] Double entry into MySQL..

2003-01-06 Thread Altug Sahin
Hi here, I am sending a file to user's browser and logging the downloaded file into MySQL but everytime this script works, I see double entry in the MySQL table... Why is this happening? Any ideas? Thanks ? $today = date(Y-m-d); $conn = db_connect(); if(!$conn) echo Can't connect to