Re: [PHP] Calling API on Windows?

2006-02-24 Thread HoWang Wang
hpgtk/pear/System_WinDrives.phps which use PHP's w32api on PHP4 and use FFI on PHP5. But it provide a simple example of using ffi only, and I'm still confused on it. Please help, Thx! Ho Wang Jochem Maas wrote: > HoWang Wang wrote: > >>Hi, >> >>How can I use it? >>

Re: [PHP] Calling API on Windows?

2006-02-23 Thread HoWang Wang
uilt automatically from cvs) here: > http://pecl4win.php.net/ext.php/php_ffi.dll > > > HoWang Wang wrote: > >>Dear all, >> >>I have a question on w32api ( http://hk.php.net/manual/en/ref.w32api.php >>). I'm developing a command line program with PHP on windo

[PHP] Calling API on Windows?

2006-02-23 Thread HoWang Wang
Dear all, I have a question on w32api ( http://hk.php.net/manual/en/ref.w32api.php ). I'm developing a command line program with PHP on windows, and I want to call some API. But I cannot found the dll required for the w32api extension. I'm using PHP/5.0.5, does anyone have an idea? Or there is ano

Re: [PHP] Re: Clone of the concurrent users limit of Zend Encoder 4.0 ?

2006-02-13 Thread HoWang Wang
Curt Zirzow wrote: On Sun, Feb 12, 2006 at 10:32:27AM -0500, Mark Charette wrote: Let me give an example: on fileplanet.com, they have something so called "download slot" and "lines". They limit the number of concurrent downloads. If there are too many users, they will disallow new user to dow

Re: [PHP] Re: Clone of the concurrent users limit of Zend Encoder 4.0 ?

2006-02-11 Thread HoWang Wang
Curt Zirzow wrote: On Sat, Feb 11, 2006 at 12:48:50PM +0800, HoWang Wang wrote: HoWang Wang wrote: Hi all, The Zend Encoder 4.0 (beta) have a new function in the license manager which can limit the number of concurrent users. I have wriiten something to work like it. But I found a problem

[PHP] Re: Clone of the concurrent users limit of Zend Encoder 4.0 ?

2006-02-10 Thread HoWang Wang
HoWang Wang wrote: > Hi all, > > The Zend Encoder 4.0 (beta) have a new function in the license manager > which can limit the number of concurrent users. I have wriiten something > to work like it. But I found a problem. My script can limit the number > of concurrent running scr

[PHP] Clone of the concurrent users limit of Zend Encoder 4.0 ?

2006-02-09 Thread HoWang Wang
Hi all, The Zend Encoder 4.0 (beta) have a new function in the license manager which can limit the number of concurrent users. I have wriiten something to work like it. But I found a problem. My script can limit the number of concurrent running script only. When the script ends, there is some data

[PHP] Re: Can PHP works with telnet?

2006-01-23 Thread HoWang Wang
while($stat["unread_bytes"]); $output = str_replace("\n", "", $output); echo $output; } function disconnect() { fclose($this->fp); } } ?> Thanks to all the repliers

[PHP] Can PHP works with telnet?

2006-01-22 Thread HoWang Wang
Hi all, Recently I got a job to write a PHP webpage to display some infomation which have to obtain from telnet. Telnet is the only way to query the software. I have made a quick search on php.net but I can't found amy extension support telnet. Is there any way to do so? Or it is impossible with P