[PHP-WIN] Re: session expiration problem

2004-11-02 Thread Jason Barnett
Nightwalker wrote: Hi. When I set session expiration using: ini_set('session.gc_maxlifetime','3'); and I refresh page after 10 seconds or even change my system time to a few hours ahead, the session variables still exist. It doesn't work even Hmmm, do you mean the old session values are being c

Re: [PHP-WIN] Displaying An Image / Non-Web accessible Dir

2004-11-02 Thread Jason Barnett
Can you or someone suggest how I can access an image file on my drive which is not part of the http-accessible directories (say in C:\images\somepic.jpg) and display the filetype? I think once I can at least get that to work, the rest should be fairly simple. If all goes well, the only thing you sh

[PHP-WIN] mysql_connect() undefined procedure

2004-11-02 Thread Khashan
HI all. Just get a new system to port a demo from windows 2000 to windows xp, IIS. While at it, i figures i will download the latest. BIG mistake. I installed mysql 4.1.7 and php 5 in c\mysql and c\PHP. as well as eclipse and java. I set the system path to include c\php and c:\php\ext. php.ini is

[PHP-WIN] exec() IIS 5 php

2004-11-02 Thread Xavier Barmaz
Hello, I'm running php 4.3.4 on IIS 5 with ISAPI. I want to execute a script which open Matlab (mathematical software) and then open a specific file into matlab. Everything works the way I want on the serveur through the command line php.exe. However, with a php script through a web browser the fo

[PHP-WIN] Re: session expiration problem

2004-11-02 Thread nightwalker
Jason Barnett wrote: Hmmm, do you mean the old session values are being carried forward? Perhaps some code is in order here. Yes. I also tried to increase the gc_probability value, so there will be 100% chance that the session data will be seen as garbage, but it still doesn't work. Of course I

RE: [PHP-WIN] Displaying An Image / Non-Web accessible Dir

2004-11-02 Thread Armando
Hi Jason, I wonder if permissions are my problem, but... When I try and fopen the file (using rb flags for read and binary) and try to do an fstat it doesn't return any of the specific file information at all (lots of zeros). I'm running Apache 2.0.51 under the LocalSystem account, and so I assume