RE: [PHP] Pop-up message

2005-03-09 Thread pmpa
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

RE: [PHP] Preventing data from being reposted?

2005-03-03 Thread pmpa
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

RE: [PHP] Preventing data from being reposted?

2005-03-03 Thread pmpa
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:

RE: [PHP] // or /**/

2005-02-27 Thread pmpa
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

[PHP] file uploads

2005-02-27 Thread pmpa
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

[PHP] // or /**/

2005-02-27 Thread pmpa
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

[PHP] best way todo a case insensitive str_replace

2005-02-21 Thread pmpa
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