PHP: Inserting source variable in the URL and emailing the value

#1. Setting a Session Variable. A session variable is needed to hold the source value consistently throughout the site. Set the Session Variable as the very first item (line1) to load in the header (on all pages): <?php session_start(); $url=”http://”.$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI']; $query = ‘source=’; $string = strpos($url, $query); if ($string === false){ //what should we do [...]

Analytic Reference

Terms: Visits – a sequence of requests from a uniquely identified client that expired after a certain amount of inactivity, usually 30 minutes. Absolute Unique Visitors – how many visitors (people) came to your site, counting each person only once for the entire time period being reviewed. Example: Now, let’s say that I discover your [...]

Beginning steps to setting up a company blog

Benefits of a Business Blog: #1 Anybody in the company can contribute.  No Technical expertise needed to write the blog. #2 Engage end users by encouraging them to leave comments. #3 Fresh content will result in higher search engine results. Writing a Business Blog tips: Select a subject matter that will interest a specific audience [...]

What is Version Control and Why is it useful?

Let’s first start this article with defining Version Control. “The management of source code, documents, graphics and related files in a large software project.” – PC Magazine What this means is that Version Control Software keeps tracks of all your files related to a project.  Version Control knows when picture.jpg or index.html has been modified, [...]

Drupal 7 + Drupal Commerce

Recently, I had an opportunity to build an E-Commerce Website.  After reviewing different platforms, I choose Drupal.  Being unaware on excatly how new Drupal 7 was, I charged ahead with the project.  Not long after I started this adventure I realized just how new Drupal 7 was.  This version of Drupal was released February 2011 [...]

Adding a Tab to Facebook Business Page

To create a new tab on your Facebook Business page you have to install “Static FBML”.  To do this login to Facebook and in the FaceBook Search type Static FBML.  This will bring you to the Static FBML page and under the Logo image click a link that say “Add to my Page”.  You will [...]

“Practices of an Agile Developer” Review

Practices of an Agile Developer authored by Venkat Subramaniam and Andy Hunt; copyright 2006. When the above book was suggested to me, I was less than thrilled. Jumping to the conclusion that this was going to be dry reading; I was more than surprised to say that I was completely wrong! This isn’t your typical [...]

The Four Must Have WordPress Plugins

Have you been thinking about setting up your own WordPress site? Talking to other WordPress users, the general consensus is it’s easy!  All you do is install and start blogging. Well that is true but everyone who sets up a WordPress site should be familiar with plug-ins. Plug-ins are what I call enhancements to WordPress. [...]

Tips to managing a blog

Being someone who spends my days on a computer, I’m often asked about blogs.  How do I successfully engage end users? Why isn’t my blog ranked at the top of search engines? What’s the best way to advertise new content? Well, before we cover those questions, let’s backup a little.  Before we dive into blogs, [...]

MS SQL and MySQL Database Backups on Rackspace Cloud

Recently, I was asked to setup an automatic database backup process for some cloud sites.  Not having much experience with database backup, let alone setting up an automatic process.  I plowed ahead on the project. I was directed to this link for the MS SQL Databases: http://cloudsites.rackspacecloud.com/index.php/How_can_I_create_a_cron_job_to_backup_my_MSSQL_database%3F Following the above link was more than helpful.  [...]

WordPress Themes