php-general Digest 23 Jan 2009 14:30:27 - Issue 5918
Topics (messages 287037 through 287041):
Re: To check for existing user in database
287037 by: Lars Torben Wilson
Java / PHP Bridge
287038 by: DaveLyons85
Re: distinguish between null variable and unset variable
Hi all,
I've been looking into running a complex Java simulation I've made from a
LAMP web server and was wondering if this was possible? Basically the user
is able to set the configuation from a page and then my intention is for a
PHP script to execute the Java. I've read into all the Java/PHP
How can I tell the difference between a variable whose value is null and
a variable which is not set?
// cannot use === null:
ket% php -r '$null = null; var_dump(null === $null);'
bool(true)
ket% php -r 'var_dump(null === $unset);'
bool(true)
ket%
// - cannot use isset()
Hi,
I'm attempting to install PHP 5.2.8 on CentOS 5.2 x86_64. The glibc iconv
doesn't seem to function very well, leading to a bunch of failed tests when
running 'make test' (see below). After a bit of Googling I stumbled upon
http://nl2.php.net/manual/en/intro.iconv.php which suggests to
Hi there,
I would like to create a application that can be able to authenticate by
client certificate.
Can I make this by apache/php? Anyone can recomend me documantation?
Thanks,
JCampos
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Zero real experience, but what I hear is that the Java / PHP bridges are a bit
brittle and difficult to shore up properly...
You may want to consider going with HTTP REST / RPC services instead, as those
are quite solid, and you can get what you want.
Note that this is all hearsay on my
-Original Message-
From: c...@l-i-e.com [mailto:c...@l-i-e.com]
Sent: Friday, January 23, 2009 9:02 AM
To: php-general@lists.php.net
Subject: Re: [PHP] Java / PHP Bridge
Zero real experience, but what I hear is that the Java / PHP bridges
are a bit brittle and difficult to shore
c...@l-i-e.com wrote:
Zero real experience, but what I hear is that the Java / PHP bridges are a bit
brittle and difficult to shore up properly...
You may want to consider going with HTTP REST / RPC services instead, as those
are quite solid, and you can get what you want.
Note that this is
And vice-versa:
Any PHP functionality that needs to be called from Java can be a web service
using whatever weapon you find suitable.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
c...@l-i-e.com wrote:
And vice-versa:
Any PHP functionality that needs to be called from Java can be a web service
using whatever weapon you find suitable.
yup and if I may suggest, wso2 WSF for PHP is probably you're best bet
for doing this;
http://wso2.org/ no finer php web service
A simple question (or so I thought).
Does php allow an app to create/start a process/application that can
continue to run on its own, after the initiating program/app terminates?
It appears that the spawning/forking functions might work, but the child
apps would be in a zombie status, and
On Fri, Jan 23, 2009 at 3:47 PM, bruce bedoug...@earthlink.net wrote:
A simple question (or so I thought).
Does php allow an app to create/start a process/application that can
continue to run on its own, after the initiating program/app terminates?
It appears that the spawning/forking
2009/1/23 bruce bedoug...@earthlink.net
A simple question (or so I thought).
Does php allow an app to create/start a process/application that can
continue to run on its own, after the initiating program/app terminates?
It appears that the spawning/forking functions might work, but the child
I have achieved this by using curl_exec() to issue another HTTP request on
the same server. By setting the timeout to a small number I regain control
and can continue with other things while the new process runs to completion.
Here is my code:
$url = 'HTTP://' .$_SERVER['HTTP_HOST']
On Fri, Jan 23, 2009 at 10:02 AM, c...@l-i-e.com wrote:
Zero real experience, but what I hear is that the Java / PHP bridges are a
bit brittle and difficult to shore up properly...
You may want to consider going with HTTP REST / RPC services instead, as
those are quite solid, and you can
-Original Message-
From: Bastien Koert [mailto:phps...@gmail.com]
Sent: Friday, January 23, 2009 1:13 PM
To: c...@l-i-e.com
Cc: php-general@lists.php.net
Subject: Re: [PHP] Java / PHP Bridge
On Fri, Jan 23, 2009 at 10:02 AM, c...@l-i-e.com wrote:
Zero real experience, but
-Original Message-
From: Boyd, Todd M.
Sent: Friday, January 23, 2009 1:44 PM
To: 'Bastien Koert'
Cc: php-general@lists.php.net
Subject: RE: [PHP] Java / PHP Bridge
-Original Message-
From: Bastien Koert [mailto:phps...@gmail.com]
Sent: Friday, January 23, 2009 1:13
Hi Török.
My test code had/has something similar.. but it kept displaying zombie
processes as well as legitimate processes in the ps tbl/display...
Turns out I had a mistake in the test client ap/process that I was
creating... This was causing the child process to die, resulting in a zombie
bruce wrote:
A simple question (or so I thought).
Does php allow an app to create/start a process/application that can
continue to run on its own, after the initiating program/app
terminates?
Generally yes, but it's partially up to the spawned process to
completely detach itself.
It
bruce wrote:
A simple question (or so I thought).
Does php allow an app to create/start a process/application that can
continue to run on its own, after the initiating program/app terminates?
It appears that the spawning/forking functions might work, but the child
apps would be in a zombie
2009/1/23 Nathan Rixham nrix...@gmail.com
bruce wrote:
A simple question (or so I thought).
Does php allow an app to create/start a process/application that can
continue to run on its own, after the initiating program/app terminates?
It appears that the spawning/forking functions might
Török Alpár wrote:
2009/1/23 Nathan Rixham nrix...@gmail.com
bruce wrote:
A simple question (or so I thought).
Does php allow an app to create/start a process/application that can
continue to run on its own, after the initiating program/app terminates?
It appears that the spawning/forking
as i said it's hate here, and i might be wrong but consider the following :
for($icount=0;$icount11;$icount++)
{
$iPid = pcntl_fork();
$iChildrenCount = 0;
if ($iPid == 0)
{
// child
echo (child $icount\n);
}
else
{
// parrent
}
}
this is essential what you do in
On Sat, 2009-01-24 at 00:22 +0200, Török Alpár wrote:
as i said it's hate here, and i might be wrong but consider the following :
for($icount=0;$icount11;$icount++)
{
$iPid = pcntl_fork();
$iChildrenCount = 0;
if ($iPid == 0)
{
// child
echo (child $icount\n);
}
24 matches
Mail list logo