$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 that I am splicing an array and then echoing the array
[code]
?php
$input = array(red
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://www.php.net/curl because you
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
?php
$lines = file ('https://www.example.com
?
$pages = array
(
'screenshots' = '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
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
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
screen.
:D
ignoring SIGCHLD in perl works finely... is there anything about the
phped-layer to syscalls access ? duh..
comments are welcome =)
[]'s
Daniel Souza
?
declare (ticks = 1);
//original sighangler, not used anymore... i know :)
function sig_handler($signo)
{
out([+] SIG: $signo
.. 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 an example.
the Internet Relay Chat.
In detail, my problems doesn't even refer
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 Souza wrote:
?
function func1
?
function func1()
{
}
function func2()
{
}
function func3()
{
}
function func4()
{
}
function func5()
{
}
if (isset($_REQUEST['funcs']))
foreach ($_REQUEST['funcs'] as $key=$val)
if (function_exists($key))
$key();
?
hr
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
11 matches
Mail list logo