[PHP] What needs to configure to run php exec for socket connection?

2013-01-27 Thread jupiter
Hi, I have a client.php which calls an external python socket client program exec(Client.py), the Client.py calls sockobj.connect((localhost, 6)) to connect socket. If I run the client.php from Linux command line $ ./client.php, it works find, no problem at all. But when I run it from web

Re: [PHP] What needs to configure to run php exec for socket connection?

2013-01-27 Thread jupiter
On 1/27/13, tamouse mailing lists tamouse.li...@gmail.com wrote: On Sun, Jan 27, 2013 at 3:10 AM, jupiter jupiter@gmail.com wrote: Hi, I have a client.php which calls an external python socket client program exec(Client.py), the Client.py calls sockobj.connect((localhost, 6

Re: [PHP] What needs to configure to run php exec for socket connection?

2013-01-27 Thread jupiter
On 1/27/13, Ashley Sheridan a...@ashleysheridan.co.uk wrote: On Sun, 2013-01-27 at 03:45 -0600, tamouse mailing lists wrote: On Sun, Jan 27, 2013 at 3:10 AM, jupiter jupiter@gmail.com wrote: Hi, I have a client.php which calls an external python socket client program exec(Client.py

Re: [PHP] CPU Usage

2005-08-11 Thread Patrick - Jupiter Hosting
Actually, yes there is :) Do a google for phpsysinfo - that's exactly what you want, I guarantee it :) Patrick On Thu, 2005-08-11 at 22:22 +0200, Evert | Rooftop wrote: Hi All, Is there a way to determine the current cpu usage using PHP. I'm mainly looking for a linux solution, but I

[PHP] Gathering CPU info from Linux and FreeBSD and placing it into a MySQL db

2005-08-10 Thread Patrick - Jupiter Hosting
Hey all, First time poster to this mailing list, but I've been lurking for a week now, and it seems like there are a lot of helpful people on this list. I hope to help others out with problems I can answer for them in the future. Now, I have an important task at hand. My company has assigned me

RE: [PHP] Gathering CPU info from Linux and FreeBSD and placing it into aMySQL db

2005-08-10 Thread Patrick - Jupiter Hosting
Hi Nate, We are a hosting company. We use this Mambo-like CMS called CATS, which pretty much tells us what company owns what server(s) in our data centers. CATS will provide us with a list of details on the specs for each machine they own, which include the specs I listed (memory, # of cpus,

Re: [PHP] Gathering CPU info from Linux and FreeBSD and placing it into aMySQL db

2005-08-10 Thread Patrick - Jupiter Hosting
again for the link (that's a rather cool piece of software!), but I think I'm looking for something a tad more simple. Got any more links to throw at me? :) Patrick On Wed, 2005-08-10 at 16:13 -0500, Greg Donald wrote: On 8/10/05, Patrick - Jupiter Hosting [EMAIL PROTECTED] wrote: Hi Nate

[PHP] Template Programme!

2003-07-02 Thread Jupiter Wen
Hello, Is there any template-processing programme designed for PHP5? Thanks! Jupiter -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php