PHP Intro, debugging, html quotes, closing tags, security

March 12, 2012
By

PHP is perhaps the most widely-used general-purpose scripting language*, especially suited for Web development. It is, in fact, the programming component of the “LAMP” environment: Linux, Apache, MySql, Php. PHP is surprisingly more popular than Microsoft’s own ASP web scripting language! PHP runs lot faster than ASP on MS Windows and has more features...

Read more »

zen-cart v.150: cannot test “off-site”

May 10, 2012
By

Problems with testing Zen-Cart 1.5.0 off-site “Sorry, we are not accepting payments from your region at this time” SSL certificate required for zen-cart on a development server? You’re kidding! I just started testing an upgrade (to v.150) on one of our development servers. I...

Read more »

Aerial Photos over Fort Lauderdale, plus

April 17, 2012
By
Aerial Photos over Fort Lauderdale, plus

Fort Lauderdale beach Beach Place Mall, Ft Lauderdale beach Fort Lauderdale beach at A1A and Las Olas Pompano Beach looking toward Fort Lauderrdale   Homes and waterways over Fort Lauderdale   Lighthouse Point Lighthouse Point from Pompano Beach Pompano Beach pier Deerfield Beach Boca...

Read more »

Stopping Website Visitor Blog Spam

April 9, 2012
By

Stopping Website Visitor Comment Spam. IF you have a blog and want visitors to easily add a comment to an item, you will also get spam – lots of it – unless you, traditionally, forced visitors to create a login before commenting, or you...

Read more »

How to save all Power Point (.ppt) slides as .jpg’s in Open Office

April 9, 2012
By

How to save, export, all Open Office Impress slides to images, all at once www.OpenOffice.org “I would like to save my presentation (.ppt) as all .jpg or .gif or .png files. (which is a feature available in Microsoft Powerpoint) Is there any option comparable...

Read more »

PHP DATE and TIME Functions, warnings

March 22, 2012
By
PHP DATE and TIME Functions, warnings

The Current Date, Time today (yyyy-mm-dd): echo date("Y-m-d") ; today (mm-dd-yyyy): echo date("m-d-Y") ; this year (yyyy): echo date('Y') ; ex: October 01st 2010, 05:05 pm EDT   (ex: USA Eastern time zone during DST) date("F dS Y, h:i a T", time() ) ex:...

Read more »

php, Arrays

March 12, 2012
By

Array keys start from 0, not 1. In an associative array a key is associated with a value. An array in PHP is actually an ordered map. (each key is mapped to a value). array values can be other arrays, trees and multidimensional arrays...

Read more »

How To automate Linux backups to a remote pc

February 19, 2012
By

passwordless ssh: automated Linux shell backups to another computer ssh remote login without a password Accessing a remote site through ssh without a password How to do unattended backups to a remote linux computer Quite often, you want a shell script to ssh into...

Read more »

php 5.3: Speed Optimizations for Strings and Arrays

January 27, 2012
By

str, ctype, preg, explode, etc.. example: switch y-m-d to m-d-y list($YY,$mm,$dd) = explode("-",$date_stored); $displaydate = $mm."/".$dd."/".$YY; Real-World Experience Buffering A customer I contracted with had the experience of rare cases where visitors to his site would experience the computer starting to process their page...

Read more »

How to easily Set Up your Fedora-Linux Home Network

January 25, 2012
By
How to easily Set Up your Fedora-Linux Home Network

How To copy and share files between linux (Fedora and Ubuntu) computers and share a printer How to set up a home network on Fedora 11, 12, 13 or 14 (or Ubuntu 8.4 to 10.10) with a router. (At the begining of this article,...

Read more »

Delete the Zen-Cart Store Demo files, images, and Data

January 22, 2012
By
Delete the Zen-Cart Store Demo files, images, and Data

How to get rid of zen-carts demo store – including version 1.5.0. “How to clean up default install and remove example store related files.” How to remove, or delete, the “Zen Cart demonstration categories and products”. Help with installing Zen-cart, help removing Zen-cart’s demo...

Read more »

php 5.3: how to stop strtotime(), date(), error

January 15, 2012
By
php 5.3: how to stop strtotime(), date(), error

Warning: date(): It is not safe to rely on the system’s timezone settings

Read more »

How to install and remove FONTS in Linux; UTF-8

January 14, 2012
By

Just like Windoze, Fedora (and Ubuntu) throws in a 100 fonts you don’t want and will never use. How to remove many extra Linux fonts Fonts can be uninstalled like software: go to System -> Administration -> Add/Remove Software -> Fonts (click on the...

Read more »

Armitron watch 40/8246, M0935 (WR330FT) instructions

December 28, 2011
By
Armitron watch 40/8246, M0935 (WR330FT) instructions

2011-12-28 Armitron watch WR330FT owner’s manual. Armitron Digital Sport watch 40/8246, MO935, owner’s manual.   How to set an Armitron WR330FT, MO935, All-Sport Watch. How do you set the time on an Armitron 40/8246 WR330FT? Armitron Men’s 40/8246 metal gray, or any of the...

Read more »

PHP: Writing your own functions

December 16, 2011
By

“All custom functions should start with xxx_ so that the developer knows a native PHP function is not being called.* where xxx == your initials, or the project’s initials, or …” An example custom function style: function pwb_my_function($parameter1, $parameter2) { global $an_outside_variable; .... return...

Read more »

how to make one of your Fedora pc’s visible on the Internet

December 5, 2011
By
how to make one of your Fedora pc’s visible on the Internet

How Do I Make my Fedora pc behind my router Visible to the Internet? How to Connect your LAN web server to the Internet If you install the Apache software package on your pc, you can make your pc function like an Internet web...

Read more »

Programming and or Photography Around the Beach

November 27, 2011
By
Programming and or Photography Around the Beach

With a Laptop and a wireless internet connection you can program on the beach – but take your camera. Most of these pictures can be clicked on to see them enlarged. Fort Lauderdale beach from in front of Beach Place Mall (3264×1200, Oly) On...

Read more »

Internet, Web Site, Security with .htaccess

November 27, 2011
By

The surest control over security is with /etc/httpd/conf/httpd.conf when you have the entire server, or in .htaccess files otherwise – if you are on shared hosting. Read the post “Unix-Apache .htaccess” for basic information first, if you are not familiar with this. It will...

Read more »

SQL: some basic JOIN syntax

November 16, 2011
By

INNER JOIN and , (comma) are equivalent in the absence of a join condition and “JOIN” is defined to be equivalent to an “INNER JOIN” Examples: SELECT * FROM customer AS c, orders AS o WHERE c.custkey = o.custkey or (same): SELECT * FROM...

Read more »

Structured display of All Variables in memory

November 2, 2011
By

“The function, get_defined_vars(), returns a multidimensional array containing a list of all defined variables at that location in your program.” To get ALL variables, list ALL variables, display ALL variables, in memory and available at the point where you request it, your scope, (not...

Read more »

SQL: date – time displays, conversions

November 1, 2011
By

Unix Time UNIX TIME: the number of seconds since the first second of the first day of 1970. The CURRENT_TIMESTAMP(), CURRENT_TIME(), CURRENT_DATE(), and FROM_UNIXTIME() functions return values in the connection’s current time zone, which is available as the value of the time_zone system variable....

Read more »