I forgot to tell you... you don't need to install any component in your
server. The FileSystemObject already comes with IIS 5.0.
[]'s
Luiz Vitor
- Original Message -
From: "todd kennedy" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, May 11,
ystemObject in order to get data from a text
file, or get the file type, size, etc...
[]'s
Luiz Vitor
- Original Message -
From: "todd kennedy" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, May 11, 2001 12:42 AM
Subject: [PHP] php and asp
>
($resultado);
if (mysql_num_rows($resultado)) {
$replacement = '\\1';
$source = preg_replace($pattern, $replacement, $source, 1);
} else {
$replacement = '\\1';
$source = preg_replace($pattern, $replacement, $source, 1);
}
}
mysql_close($conexao);
echo
It's still not working.
I'm using the pattern ([^]*) and I'm getting the first match correct,
but it's not getting all the other matches.
Thanks,
Luiz Vitor
- Original Message -
> From: "Toby Dacre" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTEC
than one,
the script converts all the text between the first and the last
.
I'm using this code:
if (eregi("(.*)", $string, $result)) {
$string = str_replace($result[1], ''.$result[1].'',
$string);
}
Someone knows what I have to do to put it to work???
Thanks in advance.
Luiz Vitor
Brazil
5 matches
Mail list logo