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 and functionalities than Microsoft ASP. PHP is much more robust,...

Read more »

basic loops in PHP

February 10, 2013
By

Loops execute a block of code a specified number of times, or while a specified condition is true. for for ($i = 1; $i $mon) { echo $key . ” – ” . $mon . ““; } output: 0 – January 1 – February … 11 – December $characters...

Read more »

Dual desktop computer monitors in Fedora 17

February 5, 2013
By
Dual desktop computer monitors in Fedora 17

how to set up dual or triple desktop computer monitors in Fedora 17 My laptop handled 2 monitors with only a hassle of being only able to put the external monitor on the right side and still keep the internal, laptop, monitor established as the “primary” monitor. On a...

Read more »

How To automate Linux backups to a remote pc

November 25, 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 a remote server (your web...

Read more »

LibreOffice restricting spaces between words to 1

November 22, 2012
By

LibreOffice restricting multiple spaces between words LibreOffice restricting multiple spaces in text LibreOffice restricting spaces in text I did google searches on all these things and got nowhere! For no known reason, LibreOffice had started not letting me type a second space after a word … unless I backed...

Read more »

Internet, Web Site, Security with .htaccess

October 27, 2012
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 be best if you have...

Read more »

make your Zen-Cart 1.5.0+ configuration.php files flexible

September 28, 2012
By

On you backup or testing server, for development, (not your live, commercial, site!!) you can create a fake SSL certificate (for free, of course!) officially called a “Self Signed Certificate” and operate with SSL turned on everywhere. Regardless! In your zen-cart configuration files, do not hard-code any settings that...

Read more »

linux shell command line prompt, history, and editing

September 25, 2012
By

How to Retrieve and Edit Commands in Linux All this information assumes the default “bash” shell. If hitting the up arrow does not retrieve the previous command, or the command “history” does not get a list of your previous commands, then you do not have the Bash shell. And,...

Read more »

zen-cart v.150: cannot test off-site, “not accepting payments from your region”

September 25, 2012
By

“Sorry, we are not accepting payments from your region at this time” Problems with testing Zen-Cart 1.5.0 off-site updated Sept. 25th 2012 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 made...

Read more »

Faster Booting: from SysVInit to systemd

July 16, 2012
By

* Systemd * Systemd is a new, faster, system and service manager for Linux, compatible with SysV and LSB init scripts. systemd provides aggressive parallelization capabilities, uses socket and D-Bus activation for starting services, offers on-demand starting of daemons, keeps track of processes using Linux cgroups, supports snapshotting and...

Read more »

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

July 11, 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 store. How to Delete all...

Read more »

Aerial Photos of Fort Lauderdale

June 26, 2012
By
Aerial Photos of Fort Lauderdale

April 16th 2012 flight along the Gold Coast – Fort Lauderdale. Updated 2012-06-26. Fort Lauderdale beach Beach Place Mall, Ft Lauderdale beach Fort Lauderdale Fort Lauderdale beach at A1A and Las Olas Pompano Beach (looking south)   Homes and waterways over Fort Lauderdale video   Lighthouse Point Lighthouse Point...

Read more »

How to easily Set Up your Fedora-Linux Home Network

June 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, I was still using Fedora...

Read more »

How to switch to Gnome 3 “fallback-mode”

June 1, 2012
By

How to make Gnome 3 look and work almost like Gnome 2. How to switch back to Gnome 2. Gnome 3 “fallback-mode” makes it look and function much more like Gnome 2, like it used to. (or, you can install Xfce. see below) No desktop, no taskbar. Panned by...

Read more »

in SQL, first, select, then update or delete

May 9, 2012
By

My notes and sample code from experimenting and cleaning-up data. Always run a select statement before running an update or delete. Note: The phpMyAdmin tool, which is very valuable, adds “limit 0,30″ to the end of most SELECT statements so don’t be tricked into thinking you have been shown...

Read more »

A Few Puzzles for Thought and a Challenge

April 30, 2012
By
A Few Puzzles for Thought and a Challenge

What was the biggest ocean in the world before Balboa discovered the Pacific Ocean? How many cookies could you eat on an empty stomach? It occurs once in a minute, twice in a week, and once in a year. What is it? Here are a few “level 1″ puzzles...

Read more »

how to boot up Fedora 14,15,16,17 (any linux) without password prompting

April 26, 2012
By

If you always turn on your personal computer and “boot up” in Fedora 11-14 with the same user-id and don’t want the computer stopping at your user-id and password prompt every time, then, open a terminal session and edit /etc/gdm/custom.conf as root. You can insert 2 lines under the...

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 used a captcha. As one...

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 Libre Office Impress slides to images 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...

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: 2010-10-01, 05:05 pm EDT date("Y-m-d,...

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 are also possible. A value...

Read more »