<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Julian Young &#187; Technical</title>
	<atom:link href="http://www.julian-young.com/category/blog/technical/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.julian-young.com</link>
	<description>Julian Young and his team provides bespoke development solutions, online marketing and search marketing solutions internationally</description>
	<lastBuildDate>Mon, 19 Dec 2011 18:36:52 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>PHP MySQL Email Report Generator</title>
		<link>http://www.julian-young.com/2011/01/12/php-mysql-email-report-generator/</link>
		<comments>http://www.julian-young.com/2011/01/12/php-mysql-email-report-generator/#comments</comments>
		<pubDate>Wed, 12 Jan 2011 00:20:50 +0000</pubDate>
		<dc:creator>Julian</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[cron report custom email]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[generate custom report from mysql]]></category>
		<category><![CDATA[MYSQL]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[PHP Email Report]]></category>
		<category><![CDATA[php mysql email]]></category>
		<category><![CDATA[php report generator]]></category>
		<category><![CDATA[PHP SQL Report]]></category>
		<category><![CDATA[PHP SQL Report Generator]]></category>
		<category><![CDATA[php-mysql reports]]></category>
		<category><![CDATA[Report]]></category>
		<category><![CDATA[Report Generator]]></category>

		<guid isPermaLink="false">http://www.julian-young.com/?p=481</guid>
		<description><![CDATA[Generate scheduled email reports from a MySQL database. If like me you were looking for a very simple script for generating MySQL Reports for clients or even for use within a larger system then you&#8217;ve found an easy, well documented script to implement. I searched around and couldn&#8217;t find any decent scripts out there for [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-full wp-image-490" title="php-mysql-report-generator" src="http://www.julian-young.com/wp-content/uploads/2011/01/php-mysql-report-generator.png" alt="" width="129" height="116" /><strong>Generate scheduled email reports from a MySQL database. </strong></p>
<p>If like me you were looking for a very simple script for generating MySQL Reports for clients or even for use within a larger system then you&#8217;ve found an easy, well documented script to implement. I searched around and couldn&#8217;t find any decent scripts out there for this purpose so I wrote this simple framework for generating and emailing MySQL reports such that customers can have easily scheduled reports run from CRON jobs. If you&#8217;ve no idea what I&#8217;m talking about but fairly sure this is just the thing you are after then please do read on. This script is easy to understand and well tested to boot.</p>
<h2>Purpose</h2>
<p>This script was created for the purposes of&#8230;.</p>
<ol>
<li>Generating An Automated Report from a MySQL Query</li>
<li>Creating A Simple Email Containing The Report</li>
<li>Scheduling The Email and Report</li>
</ol>
<h2>Demo</h2>
<p>Visit the <a title="Email MySQL PHP Reports" href="http://www.julian-young.com/mysqlreporter/" target="_blank">MySQL PHP Email Reporter</a> mini page to demo the report.</p>
<h2>Functionality</h2>
<p>The script will let you easily do the following :-</p>
<ul>
<li>Use any MySQL Query</li>
<li>Generate a report table showing the fields of your choice</li>
<li>Customise the From Email Address</li>
<li>Customise the  From Name</li>
<li>Customise the Email Subject (based on report name)</li>
<li>Customise the Report Name</li>
<li>Supports ISO-8859-1 Charset</li>
<li>Send to Multiple Recipients</li>
</ul>
<h2>MySQL Report Generator</h2>
<p>The framework is comprised of 3 files&#8230;.</p>
<p><strong>config.php </strong>- Configure MySQL database settings, from address and from name.</p>
<p><strong>sqlreporter.php </strong>- No need to touch this, contains all the code required to generate the report and email it.</p>
<p><strong>report.php </strong>- Can be renamed and used &#8216;per report&#8217;. This file contains the MySQL query, the report name and the target recipient(s). I recommend renaming the file to represent the name of the report you are running, for example, user_access_report.php.</p>
<p><strong>instructions.pdf </strong>- A document explaining how to setup your script and schedule your jobs using CRON.</p>
<h2>Basic Usage</h2>
<p>With even a rudimentary understanding of PHP you&#8217;ll be up and running with this script in no time. The two keyfunctions required are&#8230;</p>
<pre class="brush: php">generateReport( $reportName,  $query, $fieldArray, $note);

//generateReport create a report based on...
//$reportName - The name of your report
//$query - a SQL query
//$fieldArray - the headers / titles for your report
//$note - your report footer or note

html_email( $recipient, $reportName, $report);

//html_email generates an HTML based email containing
//  your report and sends it to the recipient</pre>
<p>That&#8217;s it, it really is that simple and full examples are provided. I&#8217;m also on hand to help implement or answer any questions you may have about using the script.</p>
<h2>Schedule your MySQL Report Email</h2>
<p>This file can then be scheduled to run in almost any hosting package. Most Linux or Windows hosting packages give you an option to setup a CRON job in the control panel. Once the files are uploaded you simply create a CRON job and point the job at the report.php script (or whatever you decide to call it). This allows you to schedule the report to run at whatever time of the day, week, month or year suits.</p>
<p>I found a few expensive, over the top examples for this functionality. I designed this simple framework to provide developers with something robust to work with which can be manipulated to suit your purposes with some easy tweaks if need be.</p>
<p>Anyone encountering any issues using the script please comment below and I&#8217;ll respond within 48 hours at the most (usually the same day). I have thoroughly tested the script under PHP5 and MYSQL 5.</p>
<p><strong>Visit the <a title="Email MySQL PHP Reports" href="http://www.julian-young.com/mysqlreporter/" target="_blank">MySQL PHP Email Reporter</a> mini page to try or buy.</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.julian-young.com/2011/01/12/php-mysql-email-report-generator/feed/</wfw:commentRss>
		<slash:comments>48</slash:comments>
		</item>
		<item>
		<title>The Best Javascript Lightbox</title>
		<link>http://www.julian-young.com/2010/09/18/the-best-javascript-lightbox/</link>
		<comments>http://www.julian-young.com/2010/09/18/the-best-javascript-lightbox/#comments</comments>
		<pubDate>Sat, 18 Sep 2010 01:02:19 +0000</pubDate>
		<dc:creator>Julian</dc:creator>
				<category><![CDATA[Technical]]></category>
		<category><![CDATA[box]]></category>
		<category><![CDATA[effects]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[gallery]]></category>
		<category><![CDATA[images]]></category>
		<category><![CDATA[inline]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[light]]></category>
		<category><![CDATA[lightbox]]></category>
		<category><![CDATA[lightview]]></category>
		<category><![CDATA[lightwindow]]></category>
		<category><![CDATA[litebox window]]></category>
		<category><![CDATA[lytebox]]></category>
		<category><![CDATA[overlay]]></category>
		<category><![CDATA[photos]]></category>
		<category><![CDATA[prototype]]></category>
		<category><![CDATA[quicktime]]></category>
		<category><![CDATA[scriptaculous]]></category>
		<category><![CDATA[slideshow]]></category>
		<category><![CDATA[slimbox]]></category>
		<category><![CDATA[thickbox]]></category>
		<category><![CDATA[video]]></category>
		<category><![CDATA[web2.0]]></category>
		<category><![CDATA[youtube]]></category>

		<guid isPermaLink="false">http://www.julian-young.com/?p=127</guid>
		<description><![CDATA[I spent a day or two trying various javascript lightboxes and trying to find a decent one for a commercial website. This post started as a big endorsement for Lightview however I&#8217;ve ended up looking at a few of the most popular and highlighting my favourite. LightView by Nick Stakenburg The first decent lightbox I [...]]]></description>
			<content:encoded><![CDATA[<p class="bigger">I spent a day or two trying various javascript lightboxes and trying to find a decent one for a commercial website. This post started as a big endorsement for Lightview however I&#8217;ve ended up looking at a few of the most popular and highlighting my favourite.</p>
<h3>LightView by Nick Stakenburg</h3>
<p>The first decent lightbox I stumbled upon was Lightview by Nick Stakenburg. You need to purchase a license to use it, but it&#8217;s pretty cheap—considering how long it would take to write this myself—and it looks great. I&#8217;ve utilised it for displaying both images and youtube videos for a client that wants something slightly different to the crowd.</p>
<p><a href="http://www.julian-young.com/wp-content/uploads/2008/12/lightview.jpg"><img class="alignnone size-full wp-image-438" title="lightview" src="http://www.julian-young.com/wp-content/uploads/2008/12/lightview.jpg" alt="" width="600" height="617" /></a></p>
<p>Example usage&#8230;</p>
<pre class="brush:html">&lt;a class="lightview" title="" rel="flash" href="http://www.youtube.com/video_id"&gt;
&lt;img class="screenshot_thumb" src="images/thumb.jpg"/&gt;
&lt;/a&gt;
</pre>
<p>It&#8217;s failing grace however is that it <strong>requires prototype and scriptaculous</strong>. With JQuery dominating, many people will be put off using this due to the additional overhead. If this doesn&#8217;t bother you and you are looking for an extremely flexible lightbox then you can&#8217;t go far wrong with this! Check it out via the link below.</p>
<p><a href="http://www.nickstakenburg.com/projects/lightview/" target="_blank">The Lightview Website</a></p>
<h3>FancyBox</h3>
<p>Now definitely my preferred lightbox and once famously touted by the much over analysed 37 Signals websites. Fancybox is just sleek, it&#8217;s perhaps not as flexible as Lightview but then it&#8217;s free. It <strong>utilises JQuery </strong>which is currently my Javascript framework of choice and it&#8217;s also very well supported. Everytime I have visited the site in the past there has been a recent update based on the support forums and feedback.</p>
<p><a href="http://www.julian-young.com/wp-content/uploads/2008/12/fancybox.jpg"><img class="alignnone size-full wp-image-439" title="Fancybox lightbox" src="http://www.julian-young.com/wp-content/uploads/2008/12/fancybox.jpg" alt="" width="600" height="617" /></a></p>
<p>Did I mention it looks great? The box shadow and modern black close icon, the subtle grey default background overlay, I love it.</p>
<p>Check out fancy box at <a title="FancyBox" href="http://fancybox.net" target="_blank">http://fancybox.net</a></p>
<h3>Lightbox 2</h3>
<p>Long in the tooth, for a long time this was regarded as the best and only choice for a lightbox. Now it seems sluggish, looks dated and sadly still seems to be used by many sites and blogs. I&#8217;ve done it myself but come on everyone, it&#8217;s time to move on! Like Lightview, Lightbox 2 <strong>requires Prototype and Scriptaculous</strong>. A near identical JQuery version is available at <a href="http://leandrovieira.com/projects/jquery/lightbox/" target="_blank">http://leandrovieira.com/projects/jquery/lightbox/</a>.</p>
<p><a href="http://www.julian-young.com/wp-content/uploads/2008/12/lightbox.jpg"><img class="alignnone size-full wp-image-440" title="lightbox 2" src="http://www.julian-young.com/wp-content/uploads/2008/12/lightbox.jpg" alt="" width="600" height="505" /></a></p>
<p>You can download Lightbox 2 at <a href="http://www.lokeshdhakar.com/projects/lightbox2/" target="_blank">http://www.lokeshdhakar.com/projects/lightbox2/</a></p>
<h3>Finally</h3>
<p>There are a few other lightboxes kicking about but from my experience these are the three most popular and widely imitated lightboxes around. For a comprehensive list and feature comparison take a peek at this chart <a href="http://planetozh.com/projects/lightbox-clones/" target="_blank">http://planetozh.com/projects/lightbox-clones/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.julian-young.com/2010/09/18/the-best-javascript-lightbox/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Bypass Deep Packet Inspection</title>
		<link>http://www.julian-young.com/2009/11/30/bypass-deep-packet-inspection/</link>
		<comments>http://www.julian-young.com/2009/11/30/bypass-deep-packet-inspection/#comments</comments>
		<pubDate>Mon, 30 Nov 2009 23:55:55 +0000</pubDate>
		<dc:creator>Julian</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[Avoid Deep Packet Inspection]]></category>
		<category><![CDATA[bittorrent]]></category>
		<category><![CDATA[Bypass Deep Packet Inspection]]></category>
		<category><![CDATA[bypass DPI]]></category>
		<category><![CDATA[cview]]></category>
		<category><![CDATA[Detica]]></category>
		<category><![CDATA[encryption]]></category>
		<category><![CDATA[ISP]]></category>
		<category><![CDATA[Mandelson]]></category>
		<category><![CDATA[mi5]]></category>
		<category><![CDATA[pirate party]]></category>
		<category><![CDATA[utorrent]]></category>
		<category><![CDATA[virgin media]]></category>
		<category><![CDATA[VM]]></category>

		<guid isPermaLink="false">http://www.julian-young.com/?p=237</guid>
		<description><![CDATA[I&#8217;m a big fan of russian based music download sites and am happy to pay the prices they charge but I do download the odd torrent however it&#8217;s usually the latest patch for some program or another, not the illegal warez that Mr Mandelson thinks that I, as a p2p user, must be grabbing. The [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.julian-young.com/wp-content/uploads/2009/11/Virgin-Media-Web.jpg"><img class="alignleft size-thumbnail wp-image-418" title="Virgin Media Deep Packet Inspection" src="http://www.julian-young.com/wp-content/uploads/2009/11/Virgin-Media-Web-150x150.jpg" alt="" width="150" height="150" /></a>I&#8217;m a big fan of russian based music download sites and am happy to pay the prices they charge but I do download the odd torrent however it&#8217;s usually the latest patch for some program or another, not the illegal warez that Mr Mandelson thinks that I, as a p2p user, must be grabbing.</p>
<p>The actions of the <a href="http://www.libelreform.org/"><span style="text-decoration: line-through;">corrupt</span></a> MP Mr Mandelson have horrified me (again, oh and I&#8217;m not too happy with Alan Johnson either!) and if you have found this post through Google then you probably already know why and I expect you also already know that he <a href="http://www.libelreform.org/"><span style="text-decoration: line-through;">is</span></a> may be a <a href="http://technology.timesonline.co.uk/tol/news/tech_and_web/the_web/article6797844.ece" target="_blank">sock puppet to the music industry</a>. Maybe he really has no firm grasp of why his actions won&#8217;t work, despite so many warnings from industry experts such as TalkTalk, but why try and get a grip on such things if your pockets are &gt;<a href="http://www.libelreform.org/">possibly</a>&lt; being lined by industry fatcats?</p>
<p>Even <a href="http://www.timesonline.co.uk/tol/news/uk/crime/article6885923.ece" target="_blank">MI5 are against this legislation</a> and rightly so, because people such as myself will blog about this sort of issue and how to get around it.</p>
<p>Anyway, accusations aside,  you are terrified that your packets might get sniffed? Well the time has come to get yourself protected.</p>
<h2><strong>Avoid Deep Packet Inspection</strong></h2>
<p>Dan Klein, media accounts director at Detica stated that &#8220;<em>Encryption of the data packet would defeat us, We&#8217;re not going to put the processing power into defeating it</em>.&#8221; &#8211; <a href="http://news.zdnet.co.uk/security/0,1000000189,39906062,00.htm" target="_blank">source</a></p>
<p><img class="alignright size-medium wp-image-245" title="virgin media big brother" src="http://www.julian-young.com/wp-content/uploads/2009/11/big-brother-is-watching-you1-255x326.jpg" alt="virgin media big brother" width="255" height="326" />So you know what to do, get encryption! Now simply <strong>enabling encryption within your torrent software will not help </strong>I&#8217;m afraid. You need to get yourself a VPN, essentially an encrypted connection that you set your downloads running through. These are incredibly cheap and there are plenty to pick from, ideally you want one local (in my case Europe) with good reviews and a torrent friendly policy. There are plenty of excellent <a href="http://filesharefreak.com/2008/10/18/total-anonymity-a-list-of-vpn-service-providers/">torrent friendly VPN service</a>s out there such as <a href="http://btguard.com/?a=julianyoung">BTGuard</a> (my personal preference).</p>
<h2><strong>Wait There&#8217;s More</strong></h2>
<p>Now it&#8217;s worth noting that ISPs are not the only body that will be collecting data on your downloads, there are many organisations that gather information on illegal file sharers and I would heartily recommend you taking a look at <a title="Peer Block" href="http://www.peerblock.com/" target="_blank">Peer Block</a>, the successor to Peer Guardian. It&#8217;s an amazing project, the application is easy to use and updates itself based on the latest compiled lists of corporate spys, it should stop these 99.99% of these organisations from getting your IP address, win.</p>
<p><a href="http://www.youhavedownloaded.com/" target="_blank"><img src="http://www.youhavedownloaded.com/scareme-728x90.gif" width="728" height="90" /></a></p>
<p>&nbsp;</p>
<h2><strong>Further Action</strong></h2>
<p>If you are in the UK and are concerned about this sort of thing then perhaps you should consider getting involved with or supporting <a href="http://www.pirateparty.org.uk/" target="_blank">the UK Pirate Party</a>.</p>
<p>I leave you with this delightful video from Dan Bull, nicely put Dan.</p>
<p><object width="500" height="340" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/6_P4lJD_OPI&amp;hl=en_GB&amp;fs=1&amp;" /><param name="allowfullscreen" value="true" /><embed width="500" height="340" type="application/x-shockwave-flash" src="http://www.youtube.com/v/6_P4lJD_OPI&amp;hl=en_GB&amp;fs=1&amp;" allowFullScreen="true" allowscriptaccess="always" allowfullscreen="true" /></object></p>
]]></content:encoded>
			<wfw:commentRss>http://www.julian-young.com/2009/11/30/bypass-deep-packet-inspection/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Checkpoint Secure Client 64bit Solution</title>
		<link>http://www.julian-young.com/2009/11/14/checkpoint-secure-client-64bit-solution/</link>
		<comments>http://www.julian-young.com/2009/11/14/checkpoint-secure-client-64bit-solution/#comments</comments>
		<pubDate>Sat, 14 Nov 2009 13:09:52 +0000</pubDate>
		<dc:creator>Julian</dc:creator>
				<category><![CDATA[Technical]]></category>
		<category><![CDATA[64]]></category>
		<category><![CDATA[64bit]]></category>
		<category><![CDATA[checkpoint]]></category>
		<category><![CDATA[secure client]]></category>
		<category><![CDATA[solution]]></category>
		<category><![CDATA[vpn]]></category>
		<category><![CDATA[workaround]]></category>

		<guid isPermaLink="false">http://www.julian-young.com/?p=216</guid>
		<description><![CDATA[I experienced a heart stopping moment when I realised that working from home was going to be tricky if I could no longer log in. I&#8217;d just upgraded to Windows 7 64bit. The following entry details how I got the 32bit version of Checkpoint&#8217;s Secure Client working on my 64 bit operating system in a [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.julian-young.com/wp-content/uploads/2009/11/frustrated.jpg"><img class="alignleft size-thumbnail wp-image-426" title="checkpoint causing frustration" src="http://www.julian-young.com/wp-content/uploads/2009/11/frustrated-150x150.jpg" alt="" width="150" height="150" /></a>I experienced a heart stopping moment when I realised that working from home was going to be tricky if I could no longer log in. I&#8217;d just upgraded to Windows 7 64bit. The following entry details how I got the 32bit version of Checkpoint&#8217;s Secure Client working on my 64 bit operating system in a round about way :)</p>
<p>For whatever reason, many people are finding themselves unable to upgrade to a 64bit operating system, whether it be Windows 7 or Vista, while others find themselves considering downgrading just so they can connect remotely to work. Well, there is a pretty obvious and easy solution—use a Virtual PC!</p>
<p>This solution is tailored to Windows 7 64bit, but can be equally applied to Vista installs, and it is completely free and easy!</p>
<p>First, grab <a title="Microsoft Virtual PC" href="http://www.microsoft.com/windows/virtual-pc/download.aspx" target="_blank">both these files</a> (for the relevent version of windows 7).</p>
<p>Install them in the correct order!</p>
<p>Start up Windows 7 Virtual PC XP (if you installed them correctly they should now be in Start Menu).</p>
<p>Install your VPN-1 Secure Client.</p>
<p>From your virtual PC tool menu:</p>
<ul>
<li> Click Tools-&gt; Settings</li>
<li> Click Network</li>
<li> Change your adaptor to use your actual hardware adaptor, not Shared Networking.</li>
<li> Reboot your virtual PC completely</li>
</ul>
<p><a href="http://www.julian-young.com/wp-content/uploads/2009/11/secure-client-64bit.png"><img class="alignnone size-full wp-image-217" title="Secure Client 64bit" src="http://www.julian-young.com/wp-content/uploads/2009/11/secure-client-64bit.png" alt="" width="600" height="402" /></a></p>
<div class="alignright">
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input name="cmd" type="hidden" value="_s-xclick" />
<input name="hosted_button_id" type="hidden" value="B3AUFFPBSMAGY" />
<input alt="PayPal - The safer, easier way to pay online." name="submit" src="http://www.julian-young.com/images/beer.jpg" type="image" /> <img src="https://www.paypal.com/en_GB/i/scr/pixel.gif" border="0" alt="" width="1" height="1" /><br />
</form>
</div>
<p>You should now be able to start VPN Secure client and log in from your PC.</p>
<p>If I just saved you from commercial deathrow or perhaps saved you a bit of headache then <strong>please consider buying me a beer by clicking the icon to the right</strong>, thanks! :)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.julian-young.com/2009/11/14/checkpoint-secure-client-64bit-solution/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>

