Hi,
i need some way for child-processes to ignore the kill of their parent. Any
idea?
Thanks,
Thomas 'Neo' Weber
---
[EMAIL PROTECTED]
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
modify it? Read the fork, exec and clone man pages.
> This might help you a bit understand the behaviour.
>
> If so just call exec from the forked process... this will create a new
process instead of a child one.
> Then call exit() in your forked process.
>
> Mike
>
>
&g
Hi,
is there any way to get a list of all defined variables?
It is intended to be used to get and identify all defined objects to call
some costum decunstructor at the scripts end.
Thanks!
Thomas 'Neo' Weber
---
[EMAIL PROTECTED]
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net
Yea thanks, we must have been blind when searching the php-docs ;)
Thomas 'Neo' Weber
---
[EMAIL PROTECTED]
[EMAIL PROTECTED]
- Original Message -
From: "Adam Voigt" <[EMAIL PROTECTED]>
To: "Thomas Weber" <[EMAIL PROTECTED]>
Cc: "PHP-List&q
Hi,
is it possible to close the connection to the client/browser without calling
exit?
I have an input-script for a chat-system, wich gives a Status 204 No Content
to the client after submit, wich works great. The problem is, that sometimes
the script needs some time to finish after sending the 20
,
Thomas 'Neo' Weber
---
[EMAIL PROTECTED]
[EMAIL PROTECTED]
- Original Message -
From: "Oliver Witt" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; "Thomas Weber" <[EMAIL PROTECTED]>
Sent: Tuesday, October 08, 2002 10:51 AM
Subject: Re: [PHP
Hi,
i have an array like:
Array
(
[1] => Array
(
[alias] => foo
...
)
[2] => Array
(
[alias] => bar
...
)
...
)
I need some way to find out, if an alias "foo" is in the array. Any idea how
to do this?
Th
Hi,
does anyone know a way to rewrite url's with the session-tag in a string,
without sending the output to a browser?
I'm writing some sort of webserver in php wich should, of course, send
rewrited urls to its clients via sockets.
Thanks a lot,
Thomas 'Neo' Weber
---
[EMAIL PROTECTED]
[EMAIL PRO
Hi,
i have a strange problem with Mozilla. When submitting a form, german
umlaute (ä (ae), ü (ue) and others) become strange 16bit-chars like 'ä'.
I've tested this with PHP as dynamic Apache-module and with an own webserver
written in PHP.
Doctype and other XML-specific things in the page with th
Hi,
I am deveoping a chatserver in IRC-style in PHP. For communication it uses
socket-multiplexing aka socket_select. So long so good, works perfectly.
The problem is, than when i make several socket_write's to the same client
without waiting about 0.1sec after each write, the written data gets lo
e next bunch-of-data.
My receive-script hasn't diplayed the raw output, but an unserialized array,
fetched out of the received string.
Maybe this will will help someone in future.
Thomas 'Neo' Weber
---
[EMAIL PROTECTED]
[EMAIL PROTECTED]
- Original Message -
From: "T
No, it's TCP and a very uncomplicated protocol, everything is sent in clear
text. Major problem is the socket-multicasting to keep track of all clients
simultanly.
- Original Message -
From: "Raditha Dissanayake" <[EMAIL PROTECTED]>
To: "Thomas Weber"
o
> open and close and imap connection for each page. That issue is
> multiplied ten fold in this scenario isn't it?
>
>
> Thomas Weber wrote:
>
> >No, it's TCP and a very uncomplicated protocol, everything is sent in
clear
> >text. Major problem is
Hi,
I'm writing a network-server in PHP, using pcntl_fork() to fork childs
(errr... jep).
My problem is, than when i shutdown the parent-process, all childs are
killed automatically.
Does anyone know a way to avoid this behaviour?
Thanks,
Thomas 'Neo' Weber
---
[EMAIL PROTECTED]
[EMAIL PROTECTED]
Hi folks,
I am battling around with socket_select() for some months now and still have
an unsolved problem with random hanging.
PHP: 4.3.4 with -sockets, -sigchild, -pcntl and some other things
OS: FreeBSD 5.0 (same problem with 4.8 and 5.1)
In simple words, I have a server-daemon (runs with PHP
Sincerly,
---
Thomas Weber
CYNOBIA Community Online Service AG
Kühbachstraße 11
81543 München
fon 089-78 06 0(280)
fax 089-78 06 01 99
email [EMAIL PROTECTED]
net http://www.CYNOBIA.de
-Ursprungliche Nachricht-
Von: Thomas Weber [mailto:[EMAIL PROTECTED]]
Gesendet: Mittwoch, 24. Januar 2001 09:50
An: [EMAIL PROTECTED]
Betreff: AW: [PHP] Shared Memory with Yast-installed mod_php4 from SuSE.
Thanks Stathis i tried it twice to compile it, ./configure , make
anuar 2001 12:15
An: Php-General
Betreff: Re: WG: [PHP] Shared Memory with Yast-installed mod_php4 from
SuSE.
On Wednesday 24 January 2001 09:55, Thomas Weber wrote:
> Thanks Stathis i tried it twice to compile it, ./configure ,
> make, make install. but i don't get a new lib
try
eval("\$php_code;");
-Ursprüngliche Nachricht-
Von: [ rswfire ] [mailto:[EMAIL PROTECTED]]
Gesendet: Mittwoch, 24. Januar 2001 15:36
An: [EMAIL PROTECTED]
Betreff: [PHP] eval() to string???
I want to evaluate some PHP code to a string. How can I do this?
$php_code = "echo 'hello'
6:20
An: [EMAIL PROTECTED]
Betreff: Re: [PHP] eval() to string???
How is this going to help me?
I want to evaluate the code in $php_code to *another* string...
- Original Message -
From: Thomas Weber <>
To: Php-General <>
Sent: Wednesday, January 24, 2001 10:14 AM
Subject:
Hi,
i think i many cases cookies are better, because the are stored in the
computers memory for a very long time if needed and is not destroyed after
the session timeout or changeing the IP.
For example Amazon stores the cart in session, but the login-data is stored
in a cookie so you don't need
rd the script should only send
the header without message body. so i tried:
header ("HTTP/1.0 304 Not Modified");
exit;
But this don't work. The Script is loaded and, of course, an empty page.
How can i do this???
Thank you.
bye,
Thomas Weber
CYNOBIA Community Online Service AG
04 Not
Modified");" and it seems to work. My own message body isn't sent, but this:
Of course the Page is loaded, but of course empty...
How can i tell PHP4 to send the Status 304 without sending any message
body???
Thank you,
Thomas Weber
CYNOBIA Community Online Ser
Hi,
does anybody know a way to get the memory-size of an object?
I'm triing to seek some memory-leaks in a php-daemon-program wich cannot be
reproduced easily to track them down, so i thought to monitor the size of
the objects while running in a production-enviroment.
Thanks!
Thomas 'Neo' Weber
cript. So if
you reload the stream an few times you have a task list full of Apaches.
How can i kill the old, unused process when i reload the page?
I tried if($connection_aborted()) { exit; }, but it exits the first time.
Thanks,
---
Thomas Weber
CYNOBIA Community Online Service AG
Kühbachstra
Hi,
i run SuSE 7.0 too, but i think you cannot use mod_php3 AND mod_php4
together.
-Original Message-
From: bob [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 30, 2001 9:48 AM
To: [EMAIL PROTECTED]
Subject: [PHP] major help required with php3 and apache on suse 7.0 pro
Importance: Hig
. ( http://www.webmin.org ) This is a very confortable web.interface for
Linux-administration.
-Original Message-
From: bob [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 30, 2001 12:48 PM
To: Thomas Weber
Subject: RE: [PHP] major help required with php3 and apache on suse 7.0
pro
Hi thomas
?
Thanks,
Thomas Weber
---
EMail: [EMAIL PROTECTED]
Homepage: http://www.youngarts.org / http://www.visions-of-future.de
I have solved the problem. But now i have another problem:
Look at this screenshot: http://electic.hn.org/tunix.gif
Thanks,
---
Thomas Weber
---
EMail: [EMAIL PROTECTED]
Homepage: http://www.youngarts.org / http://www.visions-of-future.de
- Original Message -
From: "Thomas
Yep, try this:
SELECT a.col1, a.col2, b.col3, c.col4 FROM table1 a, table2 b, table3 c
This should give you an array [col1,col2,col3,col4]
Thomas Weber
---
EMail: [EMAIL PROTECTED]
Homepage: http://www.youngarts.org / http://www.visions-of-future.de
- Original Message -
From
4.0.3 but i get the same errors.)
Please help me!!!
Thank you,
Thomas Weber
CYNOBIA Community Online Service AG
Kühbachstraße 11
81543 München
fon 089-78 06 0(280)
fax 089-78 06 01 99
email [EMAIL PROTECTED]
net http://www.CYNOBIA.de
The problem is solved! My system searched the .h-files in
/usr/include/linux/ and i found them all in
/usr/src/linux-2.2.16/include/linux/, just copied them and it worked :-)))
Thank you all for the support!
-Original Message-
From: Thomas Weber [mailto:[EMAIL PROTECTED]]
Sent
32 matches
Mail list logo