Re: [PHP-WIN] showing warnings

2007-09-11 Thread Asim
Hi i am including table structure and other results to you CREATE TABLE Mobile_Tunes ( Tune_ID int(6) NOT NULL AUTO_INCREMENT, Tune_Name varchar(30) NOT NULL, Tune_Type varchar(10) NOT NULL, PRIMARY KEY (Tune_ID), UNIQUE KEY Tune_Name (Tune_Name), INDEX Tune_Type (Tune_Type) )ENGIN

Re: [PHP-WIN] Memory leak occurs when exec() function is used on Windows platform

2007-09-11 Thread Leo G. Divinagracia III
h... just tested it on my box: win xp sp2, apache 2.2.2, php 5.1.4 and 1gb of ram. ran it under CLI. copied your code and and created a 0 btye test.bat file. rebooted the machine so a fresh start. first time, i actually gained 3 megs of ram back, after the process timed out after 60 se

[PHP-WIN] Re: Memory leak occurs when exec() function is used on Windows platform

2007-09-11 Thread Melmack
""Melmack"" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Thank you for your reply. > Unfortunately your method also causes memory leak. > I have tested operating system and I have discovered > that batch script listed below causes the same memory leak. > That is why I think now t

Re: [PHP-WIN] Question about office web component

2007-09-11 Thread Stut
watersniper wrote: Stut,Thank you very much! But I don't know --the module_name in COM::COM ( string $module_name ) And, I can't find how to operate the object. That bit doesn't have much to do with PHP. You need to read the documentation for the office web components. -Stut -- http://st

Re: [PHP-WIN] Question about office web component

2007-09-11 Thread watersniper
Stut,Thank you very much! But I don't know --the module_name in COM::COM ( string $module_name ) And, I can't find how to operate the object. -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] File-error code?

2007-09-11 Thread John Mertic
Yeah, that's kinda of heavyweight solution to the problem ( not to mention is much slower than using opendir(), readdir(), and closedir() since scandir() sorts the results as well ). If you are just checking for access, either opendir() or is_readable() should work much faster. But I guess I don't

Re: [PHP-WIN] Question about office web component

2007-09-11 Thread Stut
watersniper wrote: How can I use OWC with PHP? I've never tried it but I see no reason why not. You'll need to use the COM extension: http://php.net/com -Stut -- http://stut.net/ -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] Question about office web component

2007-09-11 Thread watersniper
Hello! How can I use OWC with PHP? Thanks! -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php