How to execute a command capturing the stanndard error, in addition to
standard output? example:
echo system('/bin/rm ...');
I need to know when this command fails, and when it fails, i need to
know why. Any hints?
_Mattia_
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
Does anyone have a good regular expression for capturing all http URL in
a string?
now i'm using ?(http://[a-z0-9-/_;=+-\.\?:@]+)\b?mi
in one of my programs, that is, all strings beginning with http:// and
contain chars like a-z0-9 ...
does anione have something better?
thank you
--
PHP
, the problem is that i'm already
using ob_ function, in particular i put in the beginning of my code a
ob_start(ob_gzhandler) , to compress the output. So if I use those funcs
twice i'll use the same buffer! Does anyone have solutions??
thanks
Mattia
--
PHP General Mailing List (http
KE \%\\Z\%
mATTIA cAZZOLA
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hacook [EMAIL PROTECTED] ha scritto nel messaggio
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Hi all,
I have a page (to create a database) with X text fields called chpX (chp0,
chp1, chp2..Etc) that posts these variables to a php file.
I would like to know how can i get these values ? (I
for ($i=0; $i=12; $i++)
{
echo select name='$i';
echo option values;
}
the select... tag must stay out of the for loop. the syntax for
select... is
select ...
option.../option
option.../option
option.../option
option.../option
/select
bye
Mattia
--
PHP
Wow this was really elegant!! thank you!! :-)
if (0 strlen(implode('',$a))) {
// error
}
Stas
-
Per te Blu American Express รจ gratis
Can anyone suggest an ELEGANT way to find out if an array is made of empty
strings or not?
example
$a = Array( '' , '' , '' ); //ok
$b = Array( '' , '' , 'error' ); // not ok
$c = Array( 'error' , '' , 'error' ); // not ok
tia
Mattia
--
PHP General Mailing List (http://www.php.net
I don't know if I got it right bu try
echo htmlentities('FONT COLOR=#8f8f15This shall be visible/FONT');
htmlentities() will translate your string in 'lt;FONT
COLOR=#8f8f15gt;This shall be visiblelt;FONTgt;'
FONT COLOR=#8f8f15This shall be visible/FONT
or
FONT COLOR=#007f7fThis shall be
?
thanks
Mattia
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
to
php.ini.
i set these values
error_log logfile.txt
log_errors On
error_reporting Off
tia
Mattia
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I'm looking for a way to have a list of the users logged in my site (with a
session_start() ). Is it possible to do it with the php4 api?
thanks
Mattia
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
12 matches
Mail list logo