Oy Vey Debugging – Fixing PHP Web applications without a debugger

While it is much easier and more efficient to use a debugger such as x-debug to debug your PHP web application, there may be some difficulties on the server stopping one from implementing x-debug.  In this case, we are forced to use the classic debug methods instead.  This article will elaborate on the implementing classic …

Using Google to look up Web Development Solutions

Rav Nachman said, “Saying I don’t know is negligent.” (Talmud Baba Metzia 35a) In the age of Google, Rav Nachman’s statement can be extended way beyond its original meaning.  What do you mean, “I don’t know”?  You will be told to just Google it and sent a link that looks like http://www.lmgtfy.com/?q=some+question. But can you …

PHP/AJAX Shipping Calculator for UPS: getting a list of the available shipping services between locations

PHP/AJAX Shipping Calculator for UPS: getting a list of the available shipping services between locations There are already guides available for building a general UPS shipping calculator form, and with a little knowledge of PHP, one can modify the sample to have the shipping calculated on one’s own shopping cart.  The problem with such a …

Developing multilingual websites using PHP, part 3 – Right-to-Left vs. Left-to-Right

The problem     When developing a website for Hebrew and other languages, there is an additional issue to deal with.  If all the languages are left-to-right, then it is straightforward to use the same template or design with all languages.  All that needs to be switched when the site is viewed in a different …

Developing multilingual websites using PHP, part 2 – database connection character sets for MySQL

The problem     Ok.  I did everything it said in the previous article, and both my database and my site are working in UTF-8.  Still, anything in Hebrew I enter into PHPMyAdmin comes up as question marks on my site.  If I enter in data from the website, it comes up as gibberish on …

Developing multilingual websites using PHP, part 1

In today’s World Wide Web, people expect to read websites in their own language.  Many Israeli websites now appear in Hebrew for Israelis, in English for the international community, and in other languages, such as Russian or Arabic.  To make a website work properly in many languages, one must take care of a few issues.  …