Hi all.
What is the best way to do a string insensitive replace?
Currently I am doing:
$replace = "g r";
$arr = explode(" ",$replace);
$text = "PHP is GreaT!";
for($i=0;i".strtolower($arr[$i])."",$text);
$text =
str_replace(strtoupper($arr[$i]),"".strtoupper($arr[$i])."",$text);
}
Works except f
Hi all!
This is probably a stupid question, but I have to ask :)
Which takes less processing?
1)
/***/
2)
///
3)
//*
4)
/*
I'm a noOb
:)
*/
5)
//
// text
//
Thanks!
Pedro.
--
PHP General M
I believe you must have
Pedro.
-Mensagem original-
De: Jeremy Freedman [mailto:[EMAIL PROTECTED]
Enviada: sábado, 26 de Fevereiro de 2005 20:54
Para: php-general@lists.php.net
Assunto: [PHP] file uploads
I got the files to upload correctly using http://www.php.net/)
To unsubscribe, v
Thanks Jochem. You're great!
-Mensagem original-
De: Jochem Maas [mailto:[EMAIL PROTECTED]
pmpa wrote:
> Hi all!
>
> This is probably a stupid question, but I have to ask :)
> Which takes less processing?
not stupid.
say there is a few microseconds of differen
Hi!
If I understand you correctly, I hope this helps:
There are probably some errors I haven't run the code.
Pedro.
-Mensagem original-
De: rory walsh [mailto:[EMAIL PROTECTED]
Enviada: quinta-feira, 3 de Março de 2005 12:01
Para: php-general@lists.php.net
Assunto:
Sorry, Wrong Reply!!
My mistake :(
-
Hi!
If I understand you correctly, I hope this helps:
There are probably some errors I haven't run the code.
Pedro.
-Mensagem original-
De: rory walsh [mailto:[EMAIL PROTECTED]
Envia
I believe one could also embed a small flash object and call the window open
from flash.
I'm just not sure if IE popup blocker will also block that window.
Pedro.
-Mensagem original-
De: Jochem Maas [mailto:[EMAIL PROTECTED]
I don't know about 'CURRENT' but you have atleast 3 options:
1
7 matches
Mail list logo