Re: [PHP] Regular expression

2006-02-14 Thread Dennis Lahay
Patrick, http://regexlib.com/ is a really good site to find examples of regular expressions. http://regexlib.com/Search.aspx?k=password should get you a bunch of results. Also anything else besides letters and numbers is considered bad password form. D On Feb 14, 2006, at 3:53 PM, Patric

Re: [PHP] phpBB alternatives?

2005-02-09 Thread Dennis Lahay
Yes, please read that page again. It had nothing to do with the phpBB software itself, but with the AWstats that run on their server. The vulnerabilities that phpBB a few months back had were quickly patched. The phpBB community is huge and offer fantastic support. Other alternatives include vB

Re: [PHP] fwrite() seems to destroy Special Characters

2004-11-18 Thread Dennis Lahay
charset. Look in the bbedit menu or configuration if you can find some character encoding setting Dennis Lahay wrote: I'm having trouble with writing special charcaters to a text file. The characters are your run-of-the-mill accented characters. Passing them back and forth in the databas

Re: [PHP] fwrite() seems to destroy Special Characters

2004-11-18 Thread Dennis Lahay
wrote: hi, try to fopen() the file for writing only by fopen('filename','wb').. the same for reading - fopen('filename','rb') ... /tom On Wed, Nov 17, 2004 at 04:26:20PM -0600 Dennis Lahay [EMAIL PROTECTED] wrote: I'm having trouble with writing special

[PHP] fwrite() seems to destroy Special Characters

2004-11-17 Thread Dennis Lahay
I'm having trouble with writing special charcaters to a text file. The characters are your run-of-the-mill accented characters. Passing them back and forth in the database and displaying them on screen is NOT a problem. code snippet: $row = mysql_fetch_array($query_result, MYSQL_ASSOC); foreach

Re: [PHP] splitting string

2004-11-16 Thread Dennis Lahay
Remember, working code is better than pretty code, on any day. If you have a system that you understand and it works (without excessively slowing the system down or grinding it to a halt), then stick with it. Over time you'll learn better ways of doing things. But, your first goal should be gett

Re: [PHP] splitting string

2004-11-16 Thread Dennis Lahay
I usually put a bar "|" between each string, if I need to. $string = $string1."|".$string2."|".$string3."|".$string4."|".$string5; D On Nov 16, 2004, at 12:01 PM, Afan Pasalic wrote: I create a string from other strings: $string = $string1."\n".$string2."\n".$string3."\n".$string4."\n".$string5;