archive-com.com » COM » B » BENRAMSEY.COM

Total: 425

Choose link from "Titles, links and description words view":

Or switch to "Titles and links view".
  • PHP 5 in the news, by Ben Ramsey
    this on their blogs I feel compelled to do the same Yahoo News posted an article on PHP 5 In all seriousness it s actually a good article and features quotes from PHP experts John Coggeshall and George Schlossnagle By Ben Ramsey Posted on 9 Mar 2004 Bloomba update MySQL FOSS exception Tweet Vote on Hacker News Please enable JavaScript to view the comments powered by Disqus Twitter Github LinkedIn

    Original URL path: https://benramsey.com/blog/2004/03/php-5-in-the-news/ (2016-04-26)
    Open archived version from archive


  • Bloomba update, by Ben Ramsey
    she has posted several reader comments that she has received since her article went to press For the record I did not say that Mozilla Thunderbird has calendaring built in I said that it has a calendar extension available for users to install Alison Overholt s article The Google of E mail is now available on line By Ben Ramsey Posted on 8 Mar 2004 Atlanta PHP getting off the

    Original URL path: https://benramsey.com/blog/2004/03/bloomba-update/ (2016-04-26)
    Open archived version from archive

  • Atlanta PHP getting off the ground, by Ben Ramsey
    structure but we agreed that the Web site a mission statement and a mailing list are of utmost importance for starting So look for these features soon at atlphp org Again you may join us at atlphp on Freenode IRC I ve also set up an Atlanta PHP community on Orkut If you re not a member send me an e mail and I ll invite you By Ben Ramsey

    Original URL path: https://benramsey.com/blog/2004/03/atlanta-php-getting-off-the-ground/ (2016-04-26)
    Open archived version from archive

  • The mailman came today, by Ben Ramsey
    Advanced PHP Programming George Schlossnagle s book I ll have plenty of reading to do over the next few days and I plan on posting a review of each book Look for it In then meantime check out these books on your own Browse to George s and Chris s blogs and buy the books through their sites so that they get some extra commission from Amazon By Ben Ramsey

    Original URL path: https://benramsey.com/blog/2004/03/the-mailman-came-today/ (2016-04-26)
    Open archived version from archive

  • #atlphp IRC Channel, by Ben Ramsey
    up an IRC channel atlphp on Freenode We are working on getting some information up at the site atlphp org and a mailing list once DNS issues are resolved Until then join us at atlphp By Ben Ramsey Posted on 3 Mar 2004 Making It Valid Telephone Numbers The mailman came today Tweet Vote on Hacker News Please enable JavaScript to view the comments powered by Disqus Twitter Github LinkedIn

    Original URL path: https://benramsey.com/blog/2004/03/atlphp-irc-channel/ (2016-04-26)
    Open archived version from archive

  • Making It Valid: Telephone Numbers, by Ben Ramsey
    is another form of regular expression that PHP supports POSIX extended but I m not going to touch on that at all Consider POSIX extended regular expressions the weaker cousin of PCRE I ll likely be flamed for this I feel that PCRE is very useful for many tasks and you ll see it turn up often when I talk about data validation The regular expression I m using to validate phone numbers will take a US phone number and validate it according to almost any format in current use This includes 555 321 1234 555 321 1234 555 321 1234 5553211234 321 1234 and many more even including formats with extensions The expression looks like this d 0 3 s d 3 s d 4 s x d Wow That s Greek to me says you Indeed Without turning this into a tutorial on the syntax of regular expressions allow me to briefly examine each element of this expression asserts the beginning of data 0 or 1 s d 0 3 0 to 3 numbers the parentheses capture the numbers area code 0 or 1 s s 0 or 1 white space 0 or 1 dash d 3 exactly 3 numbers captured exchange s 0 or 1 white space 0 or 1 dash d 4 exactly 4 numbers captured number s 0 or 1 white space x 0 or 1 x d 0 or more numbers captured extension asserts the end of data Now that we have an expression that will work some magic and validate a phone number let s see how to put it into action Before we do that though let me digress and explain what s going to happen in this validation process We don t just want to validate user input to ensure a user has entered a phone number in a proper format If we wanted to do that we could create three or four form fields one for each element and restrict the length of those fields Then on the server side we d piece them together The following method may still be used for that approach but it is a powerful tool intended to validate phone numbers from sources that are well beyond control Take a text file of customer data from an electric utility for example I have no control over the phone number formats in the file but I want to read the phone numbers validate them against my regular expression and break them up them into their individual components area code exchange number and extension Once that s done I can put them back together in a unified format for entry into a database Here s how to use the regular expression to do just that php phone number 555 321 1234 pattern d 0 3 s d 3 s d 4 s x d if preg match pattern phone number matches we have a match dump sub patterns to matches phone number matches 0 original number area

    Original URL path: https://benramsey.com/blog/2004/03/making-it-valid-telephone-numbers/ (2016-04-26)
    Open archived version from archive

  • Atlanta PHP, by Ben Ramsey
    networking group that helps technology developers to a networking group that serves to inform businesses on technology Still they do not offer any information on open source technologies The closest they come is a Web Services working group So today while looking at nyphp org I decided to check on atlphp org and see whether it is registered In fact it is I did a WHOIS on it and saw that it was registered on February 27 a mere three days ago I called the contact listed on the registration and left a message At this point I still wasn t sure whether the site was meant as a PHP user group for Atlanta or something entirely unrelated A few hours later Matt Kern the registrant for atlphp org called me back Calming my fears he told me that he and a few others registered the domain name as a precursor to forming the local user group for Atlanta So I volunteered to help in their efforts Now I don t have to go out and register something like atlantaphp org and I already know that there is an interest in this area After speaking with Matt I talked to Chris who offered to put us in touch with Hans Zaunere the founder and president of NYPHP Hans he said could help offer advice on starting the group and inform us on problems and issues they faced in New York So following on the heels of the excitement that the PHPCommunity org announcement brought me is the soon to be announced creation of a PHP user group in Atlanta It is my hope that those in Atlanta will become involved in PHPCommunity org thus further uniting PHP developers around the world And I intend to see to it that just

    Original URL path: https://benramsey.com/blog/2004/03/atlanta-php/ (2016-04-26)
    Open archived version from archive

  • Apache License v2.0 versus the GPL, by Ben Ramsey
    Apache claims they have no clue where this comes from and they stand by their belief that the ASL 2 0 is in fact compatible with the GPL Apparently it is believed that Slashdot may be fueling this inaccurate perception If the ASL 2 0 is compatible with the GPL then there would be no need to include the aforementioned exception when including ASL 2 0 code in your GPL

    Original URL path: https://benramsey.com/blog/2004/02/apache-license-v20-versus-gpl/ (2016-04-26)
    Open archived version from archive



  •