[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
around this by putting the session id into the database and if it > >is double requested within > >5 seconds to discard. So you will need to do a select, num_rows then if > >below 1 insert. > > > > > >Timothy Hitchens (HiTCHO) > >Open Platform Consulting &g

[PHP] Re: Double entry into MySQL..

2003-01-07 Thread Altug Sahin
lease help... 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

[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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.p

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\

[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 When a file submitted I get this... "Warning: readfile("C:\temp\test.pdf") - No such file or directory in c:\inetpub\wwwroot\dlQ_safe