[PHP-WIN] session timeout

2001-10-07 Thread Stanley
Hi all, can anyone tell me how can config "session timeout" i know the default time is 180min, how can i make it shortly? pls advise. thx a lot! Stanley -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTEC

[PHP-WIN] How can I get the NTFS fileowner?

2001-10-07 Thread Steven Greenberg
Hi everyone... I just wrote my first PHP app (a simple directory searching page for an FTP server) - it works great, but I'd like to display the uploader's name next to each file. Unfortunately, it seems that the fileowner() function always returns zero on Windows (?), and even if that worked I c

Re: [PHP-WIN] Re: problem with exec()

2001-10-07 Thread Christian Dechery
At 17:44 7/10/2001 -0700, Shane Caraveo wrote: > > > > $cmd="mysqldump -h $host --user=$user --password=\"$pass\" --opt > > $database > $backup_file"; > > > > I'm gettting error return 2... which (according to 'man errno') means > > EACCESS or 'Permission denied'. How can something be denied in

Re: [PHP-WIN] Re: problem with exec()

2001-10-07 Thread Shane Caraveo
> > $cmd="mysqldump -h $host --user=$user --password=\"$pass\" --opt > $database > $backup_file"; > > I'm gettting error return 2... which (according to 'man errno') means > EACCESS or 'Permission denied'. How can something be denied in Win98 since > it doesn't handle permissions, users and st

Re: [PHP-WIN] Re: problem with exec()

2001-10-07 Thread Christian Dechery
the command is mysqldump with trillions of parameters to backup a db into a file... something in the ways of: $cmd="mysqldump -h $host --user=$user --password=\"$pass\" --opt $database > $backup_file"; I'm gettting error return 2... which (according to 'man errno') means EACCESS or 'Permissio

[PHP-WIN] Re: problem with exec()

2001-10-07 Thread CJD
Depending on the command you are trying to run, you might have to put "command /c " as calls like copy, del, dir etc are internal to command.com and need to be poped into a new shell to run. "Christian Dechery" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...

[PHP-WIN] Re: uploading files

2001-10-07 Thread CJD
This is usually because PHP does not have write/create permission on the server's web directory. Ask you host to alter it for you. "Alexandre Busquets Trioal" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I“tring to do an upload images files script for my re

[PHP-WIN] Re: path

2001-10-07 Thread CJD
You can use basename() to get the file part, dirname() to get the directory part, or pathinfo() to get all of it in an array. "Alexandre Busquets Trioal" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi > There are any function there returns de completly pat

php-windows Digest 7 Oct 2001 21:49:42 -0000 Issue 793

2001-10-07 Thread php-windows-digest-help
php-windows Digest 7 Oct 2001 21:49:42 - Issue 793 Topics (messages 9732 through 9736): Session_Start() error (rookie) 9732 by: OzCoder 9734 by: OzCoder Cannot get PHP 4.0.6+IIS4 to connect to MySQL DBs 9733 by: Egil Helland extensions and dlls 9735 by: mat

[PHP-WIN] problem with exec()

2001-10-07 Thread Christian Dechery
I'm running PHP on a Win98 machine with apache 1.3.12 and PHP 4.0.6, and I can't seem to get exec(), system() or whatever working... somehow the shell execution of the passed command is interrupted and the output is cut... so the result is wrong is this a Windows prob??? __

[PHP-WIN] extensions and dlls

2001-10-07 Thread mates
hi, i need *.dlls to work with the following functions: ImagePS* and ImageTTF* anybody knows where i could get these ready-to-use *.dlls? regards libor -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTEC

[PHP-WIN] Re: Session_Start() error (rookie)

2001-10-07 Thread OzCoder
Spose I'll answer my own Q Needed to create a tmp directory in C:\ C:\tmp "Ozcoder" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi All, > > I get this error when running the function session_start() > > Warning: open(/tmp\sess_eaa5fb389e8696f1202086f2fb

[PHP-WIN] Cannot get PHP 4.0.6+IIS4 to connect to MySQL DBs

2001-10-07 Thread Egil Helland
Am I the only one having these problems? I tried yesterday to upgrade PHP from 4.0.4 pl1 to 4.0.6, and well, since then mysql support have been zip. Nil. Nada. Basically, what happens is that the installation goes through without any problems, the first time I try to reach a page that contains my

[PHP-WIN] Session_Start() error (rookie)

2001-10-07 Thread OzCoder
Hi All, I get this error when running the function session_start() Warning: open(/tmp\sess_eaa5fb389e8696f1202086f2fbea0347, O_RDWR) failed: m (2) in c:\apache\htdocs\test.php on line 2 this is the code, very simple :) I'm running win2k, php4ts.dll I've also tried running it under the CGI