Re: [PHP] php and asp

2001-05-11 Thread Luiz Vitor
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,

Re: [PHP] php and asp

2001-05-11 Thread Luiz Vitor
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 >

Re: [PHP] Search a string between

2001-05-10 Thread Luiz Vitor
($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

Re: [PHP] Search a string between

2001-05-09 Thread Luiz Vitor
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

[PHP] Search a string between

2001-05-09 Thread Luiz Vitor
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