[PHP] PHP fsockopen with the UNIX abstract namespace

2008-02-13 Thread @4u
Hi, I have a problem with fsockopen in connection with the UNIX abstract namespace. To open a UNIX socket in the abstract namespace I have to add a nul byte in front of the path. Unfortunately PHP returns fsockopen() [function.fsockopen]: unable to connect to unix://:0 (Connection refused) for

Re: [PHP] PHP fsockopen with the UNIX abstract namespace

2008-02-13 Thread @4u
but wanted to make sure that it's not my fault. Jochem Maas schrieb: > @4u schreef: >> Hi, >> >> I have a problem with fsockopen in connection with the UNIX abstract >> namespace. >> >> To open a UNIX socket in the abstract namespace I have to

Re: [PHP] PHP fsockopen with the UNIX abstract namespace

2008-02-13 Thread @4u
Hi again, Jochem Maas schrieb: > @4u schreef: [snip] > is the connection refused a permissions thing here? can you > verify that it's possible to connect? I'm not sure but I don't think so. 1.) we speak about D-BUS and 2.) its owner and root should always be able to conne

Re: [PHP] Start/stop daemon using php

2008-02-27 Thread @4u
Hi, You might consider D-BUS for your application and the D-BUS PHP binding which is available since some days too. This would allow you to start / stop your C application in a far more secure way than the suggested one. Please have a look at my original release annoucement at the D-BUS mailing l

Re: [PHP] Large XML manipulation within PHP

2008-04-23 Thread @4u
Hi, How about expat with custom XML handlers? Should work even with an 32 MB memory limit. It will just take some time ... Have fun Bastien Koert schrieb: On 4/23/08, Steve Gula <[EMAIL PROTECTED]> wrote: I work for a company that has chosen to use XML (Software AG Tamino XML database) as i