Latest Updates: php RSS

  • Connect remotely to MSSQL with PHP on CentOS 5

    Matthew 6:07 pm on January 6, 2010 | 0 Permalink | Reply
    Tags: , freetds, , , mssql, php, ,

    For some time now I’ve been looking for a solution for projects that are using PHP but are connecting to a remote Microsoft SQL Server database.

    As many already know, the webmasters ideal (or at least mine) is a LAMP stack which, for those that are not sure, is Linux, Apache, MySQL and PHP. Why is that an ideal, you ask, well have you ever tried getting PHP interacting with a MS SQL database? Enough said.

    In short doing the above is definitely not straightforward, even on a Windows platform, where you’ll most likely be transferring and copying .DLL’s from one system folder to another and editing .INI files left, right and centre. (More …)

     
  • Retrieving your most recent Twitter Information

    Matthew 9:51 am on December 7, 2009 | 0 Permalink | Reply
    Tags: , json, php, ,

    During a recent project I needed a script to retrieve some real-time data from a Twitter account and display the results on the homepage.

    After a quick search I came across a helpful PHP script by Joost de Valk. Much of the code below is based on his original script, so all credit to him. (More …)

     
  • Cron job for phpList on 1and1

    Matthew 2:10 pm on April 9, 2009 | 0 Permalink | Reply
    Tags: , cron, , php, phplist, ,

    I have seen quite a few posts about this topic floating around the internet during my search for a solution, many of them did not apply to my situation or failed to be clear and concise so I thought I would have a bash at documenting the necessary steps in setting up a cron job on your linux server.
    (More …)

     
  • Time Delay Content by File Access Time

    Matthew 1:57 pm on March 31, 2009 | 0 Permalink | Reply
    Tags: php, ,

    I was working on a mini-script to display the results of a database and then log the results into a log file. One of the problems with the logging script was that every time the page was displayed, it would pull the results from the database and log the results.
    (More …)

     
  • Switching to PHP5 on 1and1 Linux Hosting

    Matthew 1:55 am on February 8, 2009 | 1 Permalink | Reply
    Tags: , , htaccess, , , php

    I recently upgraded a client to a 1and1 Linux Business Pro hosting package and so far I have found no major obstacles.

    The previous environment was a dedicated Windows 2003 server in which there was free reign to modify any of the core files, including the PHP installation and any other similar files. (More …)

     
  • Simple Joomla! SEF fix v2

    Matthew 11:44 pm on February 6, 2009 | 0 Permalink | Reply
    Tags: , , , php, sef, seo

    A few days ago I made a post relating to an issue I came across with Joomla! during a move from running it in basic SEF mode, which utilises the aliases given when creating categories and articles in the Joomla administration/back-end, to the full/advanced SEF mode which utilises both the aliases and Apache’s mod_rewrite to remove the index.php from the URL. Actual implementation requires a minor modification of the .htaccess within the root Jooma directory, which I hope to cover in a subsequent post. (More …)

     
  • Joomla! SEF/SEO and URL 404 Fix

    Matthew 6:56 pm on February 4, 2009 | 0 Permalink | Reply
    Tags: , , iis, , php,

    I recently moved a clients distribution of Joomla! from a Windows 2003 enivornment running IIS6, a Microsoft Web Server. As some of you may know IIS and Joomla! do not play nice together, in particular all the SEF (Search Engine Friendly) and SEO (Search Engine Optimisation) settings do not work out of the box as they rely heavily on Apache’s mod_rewrite. (More …)

     
c
compose new post
j
next post/next comment
k
previous post/previous comment
r
reply
e
edit
o
show/hide comments
t
go to top
esc
cancel