-
Use PHP to Create Dynamic JavaScript Values
One possible approach†to writing JavaScript on-the-fly I’ve been using something similar to the following in some apps for the purpose of including a sort of Dynamic JavaScript which, depending upon perhaps other variables or logical procedure, might easily be included or left out of any part of the web application. $js_array=array(); $js_array[‘open’]=”<script type=\”text/javascript\”> \n”;…
-
PHP _SERVER Variables
If you’re considering the use of PHP Server Environment Variables in your web application, but you are not certain which $_SERVER variable will produce the information you need, you are not alone. It’s not uncommon for the PHP web application developer to cross reference $_SERVER variable data during the development process. Busting the Myth of…
-
Quest for the Ultimate Dynamic Web Site Framework
Ever since i first began working with the basic template i (poorly) describe elsewhere here in this journal, i have been trying different things to perfect it. Today, I made a small breakthrough. As can be seen at one of my experimental web sites,
-
PHP Variable Handling: isset() and empty()
i’ve probably learned more important and practical information about PHP development from phpbuilder dot com than anywhere else. that’s not to say that other resources aren’t as good, i’m just saying that, when it came down to trying my first few bits of conditional logic, or my first run-in with header(), PHPBuilder.com happens to be where i’ve learned much of…
-
Paamayim Nekudotayim: Straying from Convention with Hebrew
What can be said for the PHP authors who chose to use the term Paamayim Nekudotayim to describe one of the programming language’s operators? More often than not, when we of the “Western Civilization” need to come up with a term to describe something, such as a new Mathematical or Algebraic Forumla, an element of…
-
PHP: Manual Installation on Windows Systems
RE: php-5.1.2-Win32.zip In the past, on a few different Windows XP systems, I have installed PHP as an Apache module, and i’ve been thrilled by achieving a functional Apache / PHP configuration without having to troubleshoot as i simply never experienced any problems with the installations. However, on this particular XP setup, Apache and PHP…
-
mod_perl: Installation Failure (however difficult to assess)
Lacking the knowledge previous to this day’s endeavor, in an ultimate attempt to develop ASP on an existing Apache2 installation, i researched the options and my searching pointed to – mod_perl. What I installed the file named Perl-5.8-win32-bin-0.10.exe , a rather complex, self-extracting, “automatic” installation process. I probably would have had more success had I…
-
XSS Preparedness & a Friendly Programmer’s Advice
PHP Input Validation Flaw in Certain Error Pages as reported on Security Tracker dotCom, and other such news always raises my ears because I have been the victim of Cross Site Scripting myself. I have also been the victim of other hacks related to my own lack of security precautions, so tend to review alerts such as…