[PHP] pcntl_fork() under linux with phpcli

2003-09-18 Thread Daniel Souza
:D ignoring SIGCHLD in perl works finely... is there anything about the "phped-layer" to syscalls access ? duh.. comments are welcome =) []'s Daniel Souza -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Using system

2003-09-18 Thread Daniel Souza
open with proc_open() and reads STDOUT "Uros" <[EMAIL PROTECTED]> escreveu na mensagem news:[EMAIL PROTECTED] > Hello! > > I'm pulling my hair. What is the right syntax to set output of some system > call to variable. > > I tried everything (system, shell_exec,exec) and always get output to > sc

[PHP] Re: sdfs

2003-09-18 Thread Daniel Souza
Got it ! =) "Simon" <[EMAIL PROTECTED]> escreveu na mensagem news:[EMAIL PROTECTED] > sdfsdf -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] template problems

2003-09-18 Thread Daniel Souza
'news.txt', 'codestuffs' => cstuffs.txt', 'tits' => 'porn.txt', ); $page = $_REQUEST['PAGE']; include(((!isset($pages[$page])) ? $pages[$page] : "error.txt")); ?> =) Daniel Souza -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: How to use file() function with an "HTTPS:\\www.example.com"

2003-09-18 Thread Daniel Souza
Recompile php with built-in openssl support (--with-openssl) will do that. []'s Daniel Souza "Rodrigo Nakahodo" <[EMAIL PROTECTED]> escreveu na mensagem news:[EMAIL PROTECTED] > How to use file() function with an "HTTPS:\\www.example.com" > > &g

Re: [PHP] How to use file() function with an "HTTPS:\\www.example.com"

2003-09-18 Thread Daniel Souza
Recompile php with built-in openssl support (--with-openssl) will do that. []'s Daniel Souza "Jay Blanchard" <[EMAIL PROTECTED]> escreveu na mensagem news:[EMAIL PROTECTED] [snip] How to use file() function with an "HTTPS:\\www.example.com" [/snip] Use cURL http

[PHP] Re: Splice problem

2003-09-18 Thread Daniel Souza
$input = array("red", "green", "blue", "yellow"); array_splice($input, 2); echo implode(',', $input); []'s Daniel Souza "Stevie D Peele" <[EMAIL PROTECTED]> escreveu na mensagem news:[EMAIL PROTECTED] > My problem is

[PHP] Re: php sockets was Re: [PHP] socket_write eats data - solved

2003-09-15 Thread Daniel Souza
ime with the same results... well.. flush then may resolve it. Daniel Souza "Raditha Dissanayake" <[EMAIL PROTECTED]> escreveu na mensagem news:[EMAIL PROTECTED] > Hi thomas, > > Thomas Weber wrote: > > >IMAP? We were talking about IRC, > > > Used imap as

Re: [PHP] Re: Calling functions from Button actions

2003-09-14 Thread Daniel Souza
I dont use it. Its just an example. Thanks anyway. Daniel "Marek Kilimajer" <[EMAIL PROTECTED]> escreveu na mensagem news:[EMAIL PROTECTED] > I hope you don't use this method. It is VERY unsafe. You execute ANY > function that the user tells you. > > Daniel Souz

[PHP] Re: Calling functions from Button actions

2003-09-13 Thread Daniel Souza
$val) if (function_exists($key)) $key(); ?> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] posix pcntl_fork() and zombie/defunct issues

2003-09-12 Thread Daniel Souza
well... playing with fork() in a phpcli script, i got some troubles with childs... anybody knows how to dont get zombies/defuncts with SIGCHLD and SIGCLD ignoring ? dont worked for me =/ the script is large, so the main pieces of it.. i dont want to know how many childs are running, or if they ter