Category Archives: Web Development

Proposal for HTML 5?

As a developer, there are certain things I find a bit frustrating about HTML and PHP programming, and this is one of them. I’m regularly called upon to build shops, or very simple CMS systems with image upload facilities. This is fine, no complaints about that, but when you’re creating a CMS with image uploads, [...]

A proposal for robots.txt – RSS feeds

Ok, so I know that you can link to RSS feeds via your HTML using <link href=”" rel=”alternate” type=”application/rss+xml” title=”" /> but since we’re already using starting to use robots.txt files to reference our sitemaps like so: Sitemap: <sitemap_location> why not use it to reference our RSS feeds as well? It would be trivial do [...]

Database development – Some Rules

If I’d known this stuff when I first started to design databases for web applications, I think it would have helped me a lot, these are not necessarily ‘formal recommendations’ or even what some people might call ‘best practice’, but these rules work for me when I’m designing my web applications. It makes development quicker, [...]

Find the Full Path To A Virtual Host Directory

This is a quick one, but hopefully some people will find it useful! This simple script normally returns the full Linux path to your files, e.g. /var/www/vhosts/leadingedgescripts.co.uk/httpdocs/ Simply create a PHP file with the following contents: <?php echo getcwd(); ?> Copy it to your PHP enabled server (using FTP/SFTP etc) and visit it in your [...]