A PHP Error was encountered

Severity: Warning

Message: Undefined variable $article

Filename: front/Articles.php

Line Number: 97

Backtrace:

File: /opt/bitnami/projects/celticproductions.net/application/controllers/front/Articles.php
Line: 97
Function: _error_handler

File: /opt/bitnami/projects/celticproductions.net/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Undefined variable $article

Filename: front/Articles.php

Line Number: 112

Backtrace:

File: /opt/bitnami/projects/celticproductions.net/application/controllers/front/Articles.php
Line: 112
Function: _error_handler

File: /opt/bitnami/projects/celticproductions.net/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Undefined variable $category

Filename: front/Articles.php

Line Number: 113

Backtrace:

File: /opt/bitnami/projects/celticproductions.net/application/controllers/front/Articles.php
Line: 113
Function: _error_handler

File: /opt/bitnami/projects/celticproductions.net/index.php
Line: 315
Function: require_once

Articles (Page 3) | Celtic Productions IT

A PHP Error was encountered

Severity: Warning

Message: Trying to access array offset on null

Filename: front/article.php

Line Number: 24

Backtrace:

File: /opt/bitnami/projects/celticproductions.net/application/views/front/article.php
Line: 24
Function: _error_handler

File: /opt/bitnami/projects/celticproductions.net/application/controllers/front/Articles.php
Line: 124
Function: view

File: /opt/bitnami/projects/celticproductions.net/application/controllers/front/Articles.php
Line: 117
Function: view

File: /opt/bitnami/projects/celticproductions.net/index.php
Line: 315
Function: require_once

Technical Articles

  • Home
  • /
  • A PHP Error was encountered

    Severity: Warning

    Message: Trying to access array offset on null

    Filename: front/article.php

    Line Number: 31

    Backtrace:

    File: /opt/bitnami/projects/celticproductions.net/application/views/front/article.php
    Line: 31
    Function: _error_handler

    File: /opt/bitnami/projects/celticproductions.net/application/controllers/front/Articles.php
    Line: 124
    Function: view

    File: /opt/bitnami/projects/celticproductions.net/application/controllers/front/Articles.php
    Line: 117
    Function: view

    File: /opt/bitnami/projects/celticproductions.net/index.php
    Line: 315
    Function: require_once

class="c-state_active"> Technical Articles

A PHP Error was encountered

Severity: Warning

Message: Trying to access array offset on null

Filename: front/article.php

Line Number: 35

Backtrace:

File: /opt/bitnami/projects/celticproductions.net/application/views/front/article.php
Line: 35
Function: _error_handler

File: /opt/bitnami/projects/celticproductions.net/application/controllers/front/Articles.php
Line: 124
Function: view

File: /opt/bitnami/projects/celticproductions.net/application/controllers/front/Articles.php
Line: 117
Function: view

File: /opt/bitnami/projects/celticproductions.net/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Trying to access array offset on null

Filename: front/article.php

Line Number: 42

Backtrace:

File: /opt/bitnami/projects/celticproductions.net/application/views/front/article.php
Line: 42
Function: _error_handler

File: /opt/bitnami/projects/celticproductions.net/application/controllers/front/Articles.php
Line: 124
Function: view

File: /opt/bitnami/projects/celticproductions.net/application/controllers/front/Articles.php
Line: 117
Function: view

File: /opt/bitnami/projects/celticproductions.net/index.php
Line: 315
Function: require_once

I couldn't quite think of an intelligible title for this article so I've decided to run with the PHP function name. The function takes a Unix timestamp as a parameter and returns a nicely formatted textual description of how long ago that was, e.g. 2 weeks ago, hence the unimaginative title, x y ago where 'x' is the number, 'y' is the unit and 'ago' is, eh, ago. You see this date difference functionality all over the web. It's particularly popular in forums where you often see headers of the form 'Posted 4 minutes ago by duke'. read more...
on 8th April
  • time difference
  • date difference
  • datediff
  • time interval
  • php datediff
  • utc time
  • unix timestamps
  • xyago
In this article, we're going to walk you through how you might login to a forum such as phpbb2 programatically. First off, why would you care to do such a thing? Well, out of the box forum scripts such as SMF and phpbb2 won't make much impact on their own for simply that reason, that they are out of the box and a few clicks in cPanel or Plesk can get you up and running in a couple of minutes. Ordinarily, to pack any punch (and of course to be useful and provide value to the end user), the forum script of choice will need to be installed and integrated as part of a larger container site. read more...
on 4th April
  • forum login
  • curl login
  • phpbb2 forum login
  • remote login
  • login script
  • php header
  • curl cookies
We encounter the need to backup the web server's contents to a remote server on nearly every project we work on. Before you head straight into creating hundreds of pages of quality content and building large data-driven websites, it's important to have a solid data backup strategy. If you do not, you will find what many of us over the years have found; that one morning you wake up, attempt to access your website and (eek!) nothing! So, you contact your hosting company and (eek!) nothing, no backups were taken in the last century and your data as you know it is lost to the ages. That is why it is so important, as a primary, not ancillary concern, of any serious developer or programmer to implement a data backup strategy without delay. read more...
on 28th March
  • ncftp
  • ncftpput
  • database backup
  • shell script
  • remote server
  • remote backup sync
  • linux
  • A PHP Error was encountered

    Severity: Warning

    Message: Undefined array key "category"

    Filename: core/MY_Controller.php

    Line Number: 94

    Backtrace:

    File: /opt/bitnami/projects/celticproductions.net/application/core/MY_Controller.php
    Line: 94
    Function: _error_handler

    File: /opt/bitnami/projects/celticproductions.net/application/helpers/general_helper.php
    Line: 16
    Function: get_link_for_article

    File: /opt/bitnami/projects/celticproductions.net/application/views/front/article.php
    Line: 241
    Function: get_link_for_article

    File: /opt/bitnami/projects/celticproductions.net/application/controllers/front/Articles.php
    Line: 124
    Function: view

    File: /opt/bitnami/projects/celticproductions.net/application/controllers/front/Articles.php
    Line: 117
    Function: view

    File: /opt/bitnami/projects/celticproductions.net/index.php
    Line: 315
    Function: require_once

    /articles/18//enabling-gzip-compression-on-your-website.html" class="c-title"> Enabling Gzip compression on your website
    19th November
  • A PHP Error was encountered

    Severity: Warning

    Message: Undefined array key "category"

    Filename: core/MY_Controller.php

    Line Number: 94

    Backtrace:

    File: /opt/bitnami/projects/celticproductions.net/application/core/MY_Controller.php
    Line: 94
    Function: _error_handler

    File: /opt/bitnami/projects/celticproductions.net/application/helpers/general_helper.php
    Line: 16
    Function: get_link_for_article

    File: /opt/bitnami/projects/celticproductions.net/application/views/front/article.php
    Line: 258
    Function: get_link_for_article

    File: /opt/bitnami/projects/celticproductions.net/application/controllers/front/Articles.php
    Line: 124
    Function: view

    File: /opt/bitnami/projects/celticproductions.net/application/controllers/front/Articles.php
    Line: 117
    Function: view

    File: /opt/bitnami/projects/celticproductions.net/index.php
    Line: 315
    Function: require_once

    /articles/12//file-path-and-name-with-spaces-in-batch-file-for-loop.html" class="c-title"> File path and name with spaces in batch file for loop
    7th October
  • A PHP Error was encountered

    Severity: Warning

    Message: Undefined array key "category"

    Filename: core/MY_Controller.php

    Line Number: 94

    Backtrace:

    File: /opt/bitnami/projects/celticproductions.net/application/core/MY_Controller.php
    Line: 94
    Function: _error_handler

    File: /opt/bitnami/projects/celticproductions.net/application/helpers/general_helper.php
    Line: 16
    Function: get_link_for_article

    File: /opt/bitnami/projects/celticproductions.net/application/views/front/article.php
    Line: 258
    Function: get_link_for_article

    File: /opt/bitnami/projects/celticproductions.net/application/controllers/front/Articles.php
    Line: 124
    Function: view

    File: /opt/bitnami/projects/celticproductions.net/application/controllers/front/Articles.php
    Line: 117
    Function: view

    File: /opt/bitnami/projects/celticproductions.net/index.php
    Line: 315
    Function: require_once

    /articles/11//add-floating-point-numbers-in-batch-file.html" class="c-title"> Add floating point numbers in batch file
    7th October
  • A PHP Error was encountered

    Severity: Warning

    Message: Undefined array key "category"

    Filename: core/MY_Controller.php

    Line Number: 94

    Backtrace:

    File: /opt/bitnami/projects/celticproductions.net/application/core/MY_Controller.php
    Line: 94
    Function: _error_handler

    File: /opt/bitnami/projects/celticproductions.net/application/helpers/general_helper.php
    Line: 16
    Function: get_link_for_article

    File: /opt/bitnami/projects/celticproductions.net/application/views/front/article.php
    Line: 258
    Function: get_link_for_article

    File: /opt/bitnami/projects/celticproductions.net/application/controllers/front/Articles.php
    Line: 124
    Function: view

    File: /opt/bitnami/projects/celticproductions.net/application/controllers/front/Articles.php
    Line: 117
    Function: view

    File: /opt/bitnami/projects/celticproductions.net/index.php
    Line: 315
    Function: require_once

    /articles/2//remote-server-backup--ncftp-.html" class="c-title"> Remote Server Backup (ncftp)
    28th March