<?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>JaffnaCampus.com</title>
	<atom:link href="http://jaffnacampus.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://jaffnacampus.com</link>
	<description>Gateway to your IT potential</description>
	<lastBuildDate>Wed, 21 Jul 2010 11:05:08 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>How to remove mahasona.exe?</title>
		<link>http://jaffnacampus.com/campus-news/how-to-remove-mahasona-exe/</link>
		<comments>http://jaffnacampus.com/campus-news/how-to-remove-mahasona-exe/#comments</comments>
		<pubDate>Wed, 21 Jul 2010 11:05:08 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Campus News]]></category>
		<category><![CDATA[mahasona.exe]]></category>
		<category><![CDATA[remove mahasona.exe]]></category>

		<guid isPermaLink="false">http://jaffnacampus.com/?p=413</guid>
		<description><![CDATA[Hey guys and gals,
I have noticed every one of you curring mahasona.exe virus in your pen-drive and helping to spread [...]]]></description>
			<content:encoded><![CDATA[<p>Hey guys and gals,<br />
I have noticed every one of you curring mahasona.exe virus in your pen-drive and helping to spread it while many of you lost files worth of many hours of your work.</p>
<p>Thus I thought to help you guys and gals out. here is how you get rid of this Torjan horse virus from your PC and pen drive.</p>
<p>First clear your PC and then clear your pen-drive.</p>
<p>start => run => cmd<br />
goto directory c:\windows => c:\cd windows => c:\windows\><br />
type this &#8211; attrib -s -h -r -a autorun.inf<br />
del/f autofrun.inf<br />
goto sytem32 folder => c:\windows\ cd system32 => c:\windows\system32\><br />
type this &#8211; attrib -s -h -r -a explorar.exe<br />
del/f explorar.exe<br />
goto pendriver directory from command prompt<br />
type this &#8211; attrib -s -h -r -a autorun.inf<br />
type this &#8211; attrib -s -h -r -a *.*</p>
<p>After that open the USB driver ( Do not double click. right click on the Drive=>explore)<br />
Delete the autorun.inf file and unknow exe files in the USB.<br />
Now its complete.<br />
Restart the computer. </p>
]]></content:encoded>
			<wfw:commentRss>http://jaffnacampus.com/campus-news/how-to-remove-mahasona-exe/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>UK Universities</title>
		<link>http://jaffnacampus.com/universities/uk-universities/</link>
		<comments>http://jaffnacampus.com/universities/uk-universities/#comments</comments>
		<pubDate>Wed, 16 Jun 2010 10:24:32 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Universities]]></category>

		<guid isPermaLink="false">http://jaffnacampus.com/?p=407</guid>
		<description><![CDATA[


Rank
          
University

Score



1
Cambridge

6.69



2
Imperial College 

6.68



3
Oxford

6.58



4
London School of Economics

6.46



5
Warwick

6.20



6
University College London

6.19



7
Cardiff

6.11



8
Manchester

6.09



9
Essex

6.05



10
Southampton

6.03



11
Durham

6.00



12
Lancaster

5.99



13
Sheffield

5.97



14
Edinburgh

5.96



15
Bristol

5.96



16
York

5.93



17
St Andrews

5.92



18
Bath

5.92



19
Royal Holloway

5.89



20
King&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<div align="center">
<table width="100%" border="0" cellspacing="1" cellpadding="2">
<tr bgcolor="#6699CC">
<td width="16%" bgcolor="#6699CC"><b><font size="2" color="#FFFFFF" face="Arial, Helvetica, sans-serif">Rank</p>
<p>          </font></b></td>
<td width="70%"><b><font size="2" color="#FFFFFF" face="Arial, Helvetica, sans-serif">University</font></b></td>
<td width="14%">
<div align="center"><b><font size="2" color="#FFFFFF" face="Arial, Helvetica, sans-serif">Score</font></b></div>
</td>
</tr>
<tr>
<td bgcolor="#E4E4E4" width="16%"><font size="2">1</font></td>
<td bgcolor="#FFFFFF" width="70%"><font size="2">Cambridge</font></td>
<td bgcolor="#E4E4E4" width="14%">
<div align="center"><font size="2">6.69</font></div>
</td>
</tr>
<tr>
<td bgcolor="#E4E4E4" width="16%"><font size="2">2</font></td>
<td bgcolor="#FFFFFF" width="70%"><font size="2">Imperial College </font></td>
<td bgcolor="#E4E4E4" width="14%">
<div align="center"><font size="2">6.68</font></div>
</td>
</tr>
<tr>
<td bgcolor="#E4E4E4" width="16%"><font size="2">3</font></td>
<td bgcolor="#FFFFFF" width="70%"><font size="2">Oxford</font></td>
<td bgcolor="#E4E4E4" width="14%">
<div align="center"><font size="2">6.58</font></div>
</td>
</tr>
<tr>
<td bgcolor="#E4E4E4" width="16%"><font size="2">4</font></td>
<td bgcolor="#FFFFFF" width="70%"><font size="2">London School of Economics</font></td>
<td bgcolor="#E4E4E4" width="14%">
<div align="center"><font size="2">6.46</font></div>
</td>
</tr>
<tr>
<td bgcolor="#E4E4E4" width="16%"><font size="2">5</font></td>
<td bgcolor="#FFFFFF" width="70%"><font size="2">Warwick</font></td>
<td bgcolor="#E4E4E4" width="14%">
<div align="center"><font size="2">6.20</font></div>
</td>
</tr>
<tr>
<td bgcolor="#E4E4E4" width="16%"><font size="2">6</font></td>
<td bgcolor="#FFFFFF" width="70%"><font size="2">University College London</font></td>
<td bgcolor="#E4E4E4" width="14%">
<div align="center"><font size="2">6.19</font></div>
</td>
</tr>
<tr>
<td bgcolor="#E4E4E4" width="16%"><font size="2">7</font></td>
<td bgcolor="#FFFFFF" width="70%"><font size="2">Cardiff</font></td>
<td bgcolor="#E4E4E4" width="14%">
<div align="center"><font size="2">6.11</font></div>
</td>
</tr>
<tr>
<td bgcolor="#E4E4E4" width="16%"><font size="2">8</font></td>
<td bgcolor="#FFFFFF" width="70%"><font size="2">Manchester</font></td>
<td bgcolor="#E4E4E4" width="14%">
<div align="center"><font size="2">6.09</font></div>
</td>
</tr>
<tr>
<td bgcolor="#E4E4E4" width="16%"><font size="2">9</font></td>
<td bgcolor="#FFFFFF" width="70%"><font size="2">Essex</font></td>
<td bgcolor="#E4E4E4" width="14%">
<div align="center"><font size="2">6.05</font></div>
</td>
</tr>
<tr>
<td bgcolor="#E4E4E4" width="16%"><font size="2">10</font></td>
<td bgcolor="#FFFFFF" width="70%"><font size="2">Southampton</font></td>
<td bgcolor="#E4E4E4" width="14%">
<div align="center"><font size="2">6.03</font></div>
</td>
</tr>
<tr>
<td bgcolor="#E4E4E4" width="16%"><font size="2">11</font></td>
<td bgcolor="#FFFFFF" width="70%"><font size="2">Durham</font></td>
<td bgcolor="#E4E4E4" width="14%">
<div align="center"><font size="2">6.00</font></div>
</td>
</tr>
<tr>
<td bgcolor="#E4E4E4" width="16%"><font size="2">12</font></td>
<td bgcolor="#FFFFFF" width="70%"><font size="2">Lancaster</font></td>
<td bgcolor="#E4E4E4" width="14%">
<div align="center"><font size="2">5.99</font></div>
</td>
</tr>
<tr>
<td bgcolor="#E4E4E4" width="16%"><font size="2">13</font></td>
<td bgcolor="#FFFFFF" width="70%"><font size="2">Sheffield</font></td>
<td bgcolor="#E4E4E4" width="14%">
<div align="center"><font size="2">5.97</font></div>
</td>
</tr>
<tr>
<td bgcolor="#E4E4E4" width="16%"><font size="2">14</font></td>
<td bgcolor="#FFFFFF" width="70%"><font size="2">Edinburgh</font></td>
<td bgcolor="#E4E4E4" width="14%">
<div align="center"><font size="2">5.96</font></div>
</td>
</tr>
<tr>
<td bgcolor="#E4E4E4" width="16%"><font size="2">15</font></td>
<td bgcolor="#FFFFFF" width="70%"><font size="2">Bristol</font></td>
<td bgcolor="#E4E4E4" width="14%">
<div align="center"><font size="2">5.96</font></div>
</td>
</tr>
<tr>
<td bgcolor="#E4E4E4" width="16%"><font size="2">16</font></td>
<td bgcolor="#FFFFFF" width="70%"><font size="2">York</font></td>
<td bgcolor="#E4E4E4" width="14%">
<div align="center"><font size="2">5.93</font></div>
</td>
</tr>
<tr>
<td bgcolor="#E4E4E4" width="16%"><font size="2">17</font></td>
<td bgcolor="#FFFFFF" width="70%"><font size="2">St Andrews</font></td>
<td bgcolor="#E4E4E4" width="14%">
<div align="center"><font size="2">5.92</font></div>
</td>
</tr>
<tr>
<td bgcolor="#E4E4E4" width="16%"><font size="2">18</font></td>
<td bgcolor="#FFFFFF" width="70%"><font size="2">Bath</font></td>
<td bgcolor="#E4E4E4" width="14%">
<div align="center"><font size="2">5.92</font></div>
</td>
</tr>
<tr>
<td bgcolor="#E4E4E4" width="16%"><font size="2">19</font></td>
<td bgcolor="#FFFFFF" width="70%"><font size="2">Royal Holloway</font></td>
<td bgcolor="#E4E4E4" width="14%">
<div align="center"><font size="2">5.89</font></div>
</td>
</tr>
<tr>
<td bgcolor="#E4E4E4" width="16%"><font size="2">20</font></td>
<td bgcolor="#FFFFFF" width="70%"><font size="2">King&#8217;s College London</font></td>
<td bgcolor="#E4E4E4" width="14%">
<div align="center"><font size="2">5.85</font></div>
</td>
</tr>
<tr>
<td bgcolor="#E4E4E4" width="16%"><font size="2">21</font></td>
<td bgcolor="#FFFFFF" width="70%"><font size="2">Birmingham</font></td>
<td bgcolor="#E4E4E4" width="14%">
<div align="center"><font size="2">5.85</font></div>
</td>
</tr>
<tr>
<td bgcolor="#E4E4E4" width="16%"><font size="2">22</font></td>
<td bgcolor="#FFFFFF" width="70%"><font size="2">Surrey</font></td>
<td bgcolor="#E4E4E4" width="14%">
<div align="center"><font size="2">5.83</font></div>
</td>
</tr>
<tr>
<td bgcolor="#E4E4E4" width="16%"><font size="2">23</font></td>
<td bgcolor="#FFFFFF" width="70%"><font size="2">Leeds</font></td>
<td bgcolor="#E4E4E4" width="14%">
<div align="center"><font size="2">5.77</font></div>
</td>
</tr>
<tr>
<td bgcolor="#E4E4E4" width="16%"><font size="2">24</font></td>
<td bgcolor="#FFFFFF" width="70%"><font size="2">Birkbeck College </font></td>
<td bgcolor="#E4E4E4" width="14%">
<div align="center"><font size="2">5.72</font></div>
</td>
</tr>
<tr>
<td bgcolor="#E4E4E4" width="16%"><font size="2">25</font></td>
<td bgcolor="#FFFFFF" width="70%"><font size="2">UMIST</font></td>
<td bgcolor="#E4E4E4" width="14%">
<div align="center"><font size="2">5.71</font></div>
</td>
</tr>
<tr>
<td bgcolor="#E4E4E4" width="16%"><font size="2">26</font></td>
<td bgcolor="#FFFFFF" width="70%"><font size="2">Glasgow</font></td>
<td bgcolor="#E4E4E4" width="14%">
<div align="center"><font size="2">5.69</font></div>
</td>
</tr>
<tr>
<td bgcolor="#E4E4E4" width="16%"><font size="2">27</font></td>
<td bgcolor="#FFFFFF" width="70%"><font size="2">School of Oriental and African Studies</font></td>
<td bgcolor="#E4E4E4" width="14%">
<div align="center"><font size="2">5.68</font></div>
</td>
</tr>
<tr>
<td bgcolor="#E4E4E4" width="16%"><font size="2">28</font></td>
<td bgcolor="#FFFFFF" width="70%"><font size="2">Sussex</font></td>
<td bgcolor="#E4E4E4" width="14%">
<div align="center"><font size="2">5.65</font></div>
</td>
</tr>
<tr>
<td bgcolor="#E4E4E4" width="16%"><font size="2">29</font></td>
<td bgcolor="#FFFFFF" width="70%"><font size="2">Newcastle</font></td>
<td bgcolor="#E4E4E4" width="14%">
<div align="center"><font size="2">5.63</font></div>
</td>
</tr>
<tr>
<td bgcolor="#E4E4E4" width="16%"><font size="2">30</font></td>
<td bgcolor="#FFFFFF" width="70%"><font size="2">Dundee</font></td>
<td bgcolor="#E4E4E4" width="14%">
<div align="center"><font size="2">5.62</font></div>
</td>
</tr>
<tr>
<td bgcolor="#E4E4E4" width="16%"><font size="2">31</font></td>
<td bgcolor="#FFFFFF" width="70%"><font size="2">Aston</font></td>
<td bgcolor="#E4E4E4" width="14%">
<div align="center"><font size="2">5.60</font></div>
</td>
</tr>
<tr>
<td bgcolor="#E4E4E4" width="16%"><font size="2">32</font></td>
<td bgcolor="#FFFFFF" width="70%"><font size="2">East Anglia</font></td>
<td bgcolor="#E4E4E4" width="14%">
<div align="center"><font size="2">5.59</font></div>
</td>
</tr>
<tr>
<td bgcolor="#E4E4E4" width="16%"><font size="2">33</font></td>
<td bgcolor="#FFFFFF" width="70%"><font size="2">Exeter</font></td>
<td bgcolor="#E4E4E4" width="14%">
<div align="center"><font size="2">5.57</font></div>
</td>
</tr>
<tr>
<td bgcolor="#E4E4E4" width="16%"><font size="2">34</font></td>
<td bgcolor="#FFFFFF" width="70%"><font size="2">Nottingham</font></td>
<td bgcolor="#E4E4E4" width="14%">
<div align="center"><font size="2">5.56</font></div>
</td>
</tr>
<tr>
<td bgcolor="#E4E4E4" width="16%"><font size="2">35</font></td>
<td bgcolor="#FFFFFF" width="70%"><font size="2">Reading</font></td>
<td bgcolor="#E4E4E4" width="14%">
<div align="center"><font size="2">5.53</font></div>
</td>
</tr>
<tr>
<td bgcolor="#E4E4E4" width="16%"><font size="2">36</font></td>
<td bgcolor="#FFFFFF" width="70%"><font size="2">Salford</font></td>
<td bgcolor="#E4E4E4" width="14%">
<div align="center"><font size="2">5.52</font></div>
</td>
</tr>
<tr>
<td bgcolor="#E4E4E4" width="16%"><font size="2">37</font></td>
<td bgcolor="#FFFFFF" width="70%"><font size="2">Loughborough</font></td>
<td bgcolor="#E4E4E4" width="14%">
<div align="center"><font size="2">5.52</font></div>
</td>
</tr>
<tr>
<td bgcolor="#E4E4E4" width="16%"><font size="2">38</font></td>
<td bgcolor="#FFFFFF" width="70%"><font size="2">Liverpool</font></td>
<td bgcolor="#E4E4E4" width="14%">
<div align="center"><font size="2">5.51</font></div>
</td>
</tr>
<tr>
<td bgcolor="#E4E4E4" width="16%"><font size="2">39</font></td>
<td bgcolor="#FFFFFF" width="70%"><font size="2">Goldsmiths College </font></td>
<td bgcolor="#E4E4E4" width="14%">
<div align="center"><font size="2">5.48</font></div>
</td>
</tr>
<tr>
<td bgcolor="#E4E4E4" width="16%"><font size="2">40</font></td>
<td bgcolor="#FFFFFF" width="70%"><font size="2">Striling</font></td>
<td bgcolor="#E4E4E4" width="14%">
<div align="center"><font size="2">5.34</font></div>
</td>
</tr>
<tr>
<td bgcolor="#E4E4E4" width="16%"><font size="2">41</font></td>
<td bgcolor="#FFFFFF" width="70%"><font size="2">S</font><font size="2">trathclyde</font></td>
<td bgcolor="#E4E4E4" width="14%">
<div align="center"><font size="2">5.30</font></div>
</td>
</tr>
<tr>
<td bgcolor="#E4E4E4" width="16%"><font size="2">42</font></td>
<td bgcolor="#FFFFFF" width="70%"><font size="2">Queen&#8217;s Belfast</font></td>
<td bgcolor="#E4E4E4" width="14%">
<div align="center"><font size="2">5.28</font></div>
</td>
</tr>
<tr>
<td bgcolor="#E4E4E4" width="16%"><font size="2">43</font></td>
<td bgcolor="#FFFFFF" width="70%"><font size="2">Kent</font></td>
<td bgcolor="#E4E4E4" width="14%">
<div align="center"><font size="2">5.27</font></div>
</td>
</tr>
<tr>
<td bgcolor="#E4E4E4" width="16%"><font size="2">44</font></td>
<td bgcolor="#FFFFFF" width="70%"><font size="2">Leicester</font></td>
<td bgcolor="#E4E4E4" width="14%">
<div align="center"><font size="2">5.25</font></div>
</td>
</tr>
<tr>
<td bgcolor="#E4E4E4" width="16%"><font size="2">45</font></td>
<td bgcolor="#FFFFFF" width="70%"><font size="2">Queen Mary and Westfield College</font></td>
<td bgcolor="#E4E4E4" width="14%">
<div align="center"><font size="2">5.24</font></div>
</td>
</tr>
<tr>
<td bgcolor="#E4E4E4" width="16%"><font size="2">46</font></td>
<td bgcolor="#FFFFFF" width="70%"><font size="2">Aberdeen</font></td>
<td bgcolor="#E4E4E4" width="14%">
<div align="center"><font size="2">5.19</font></div>
</td>
</tr>
<tr>
<td bgcolor="#E4E4E4" width="16%"><font size="2">47</font></td>
<td bgcolor="#FFFFFF" width="70%"><font size="2">Bangor</font></td>
<td bgcolor="#E4E4E4" width="14%">
<div align="center"><font size="2">5.18</font></div>
</td>
</tr>
<tr>
<td bgcolor="#E4E4E4" width="16%"><font size="2">48</font></td>
<td bgcolor="#FFFFFF" width="70%"><font size="2">University of Wales College of Medicine</font></td>
<td bgcolor="#E4E4E4" width="14%">
<div align="center"><font size="2">5.16</font></div>
</td>
</tr>
<tr>
<td bgcolor="#E4E4E4" width="16%"><font size="2">49</font></td>
<td bgcolor="#FFFFFF" width="70%"><font size="2">Brunel</font></td>
<td bgcolor="#E4E4E4" width="14%">
<div align="center"><font size="2">5.12</font></div>
</td>
</tr>
<tr>
<td bgcolor="#E4E4E4" width="16%"><font size="2">50</font></td>
<td bgcolor="#FFFFFF" width="70%"><font size="2">Hull</font></td>
<td bgcolor="#E4E4E4" width="14%">
<div align="center"><font size="2">5.06</font></div>
</td>
</tr>
<tr>
<td bgcolor="#E4E4E4" width="16%"><font size="2">51</font></td>
<td bgcolor="#FFFFFF" width="70%"><font size="2">Heriot-Watt</font></td>
<td bgcolor="#E4E4E4" width="14%">
<div align="center"><font size="2">5.02</font></div>
</td>
</tr>
<tr>
<td bgcolor="#E4E4E4" width="16%"><font size="2">52</font></td>
<td bgcolor="#FFFFFF" width="70%"><font size="2">Bradford</font></td>
<td bgcolor="#E4E4E4" width="14%">
<div align="center"><font size="2">5.02</font></div>
</td>
</tr>
<tr>
<td bgcolor="#E4E4E4" width="16%"><font size="2">53</font></td>
<td bgcolor="#FFFFFF" width="70%"><font size="2">Keele</font></td>
<td bgcolor="#E4E4E4" width="14%">
<div align="center"><font size="2">5.00</font></div>
</td>
</tr>
<tr>
<td bgcolor="#E4E4E4" width="16%"><font size="2">54</font></td>
<td bgcolor="#FFFFFF" width="70%"><font size="2">Lampeter</font></td>
<td bgcolor="#E4E4E4" width="14%">
<div align="center"><font size="2">5.00</font></div>
</td>
</tr>
<tr>
<td bgcolor="#E4E4E4"><font size="2">55</font></td>
<td bgcolor="#FFFFFF"><font size="2">City</font></td>
<td bgcolor="#E4E4E4">
<div align="center"><font size="2">4.93</font></div>
</td>
</tr>
<tr>
<td bgcolor="#E4E4E4"><font size="2">56</font></td>
<td bgcolor="#FFFFFF"><font size="2">Aberystwyth</font></td>
<td bgcolor="#E4E4E4">
<div align="center"><font size="2">4.86</font></div>
</td>
</tr>
<tr>
<td bgcolor="#E4E4E4"><font size="2">57</font></td>
<td bgcolor="#FFFFFF"><font size="2">University of Wales College, Newport </font></td>
<td bgcolor="#E4E4E4">
<div align="center"><font size="2">4.81</font></div>
</td>
</tr>
<tr>
<td bgcolor="#E4E4E4"><font size="2">58</font></td>
<td bgcolor="#FFFFFF"><font size="2">Ulster</font></td>
<td bgcolor="#E4E4E4">
<div align="center"><font size="2">4.78</font></div>
</td>
</tr>
<tr>
<td bgcolor="#E4E4E4"><font size="2">59</font></td>
<td bgcolor="#FFFFFF"><font size="2">Cranfield</font></td>
<td bgcolor="#E4E4E4">
<div align="center"><font size="2">4.78</font></div>
</td>
</tr>
<tr>
<td bgcolor="#E4E4E4"><font size="2">60</font></td>
<td bgcolor="#FFFFFF"><font size="2">Swansea</font></td>
<td bgcolor="#E4E4E4">
<div align="center"><font size="2">4.77</font></div>
</td>
</tr>
<tr>
<td bgcolor="#E4E4E4"><font size="2">61</font></td>
<td bgcolor="#FFFFFF"><font size="2">Open</font></td>
<td bgcolor="#E4E4E4">
<div align="center"><font size="2">4.64</font></div>
</td>
</tr>
<tr>
<td bgcolor="#E4E4E4"><font size="2">62</font></td>
<td bgcolor="#FFFFFF"><font size="2">Sheffield Hallam</font></td>
<td bgcolor="#E4E4E4">
<div align="center"><font size="2">4.54</font></div>
</td>
</tr>
<tr>
<td bgcolor="#E4E4E4"><font size="2">63</font></td>
<td bgcolor="#FFFFFF"><font size="2">De Montfort</font></td>
<td bgcolor="#E4E4E4">
<div align="center"><font size="2">4.54</font></div>
</td>
</tr>
<tr>
<td bgcolor="#E4E4E4"><font size="2">64</font></td>
<td bgcolor="#FFFFFF"><font size="2">Plymouth</font></td>
<td bgcolor="#E4E4E4">
<div align="center"><font size="2">4.51</font></div>
</td>
</tr>
<tr>
<td bgcolor="#E4E4E4"><font size="2">65</font></td>
<td bgcolor="#FFFFFF"><font size="2">Portsmouth</font></td>
<td bgcolor="#E4E4E4">
<div align="center"><font size="2">4.46</font></div>
</td>
</tr>
<tr>
<td bgcolor="#E4E4E4"><font size="2">66</font></td>
<td bgcolor="#FFFFFF"><font size="2">Manchester Metropolitan</font></td>
<td bgcolor="#E4E4E4">
<div align="center"><font size="2">4.39</font></div>
</td>
</tr>
<tr>
<td bgcolor="#E4E4E4"><font size="2">67</font></td>
<td bgcolor="#FFFFFF"><font size="2">UWIC</font></td>
<td bgcolor="#E4E4E4">
<div align="center"><font size="2">4.37</font></div>
</td>
</tr>
<tr>
<td bgcolor="#E4E4E4"><font size="2">68</font></td>
<td bgcolor="#FFFFFF"><font size="2">Westminster</font></td>
<td bgcolor="#E4E4E4">
<div align="center"><font size="2">4.29</font></div>
</td>
</tr>
<tr>
<td bgcolor="#E4E4E4"><font size="2">69</font></td>
<td bgcolor="#FFFFFF"><font size="2">South Bank</font></td>
<td bgcolor="#E4E4E4">
<div align="center"><font size="2">4.26</font></div>
</td>
</tr>
<tr>
<td bgcolor="#E4E4E4"><font size="2">70</font></td>
<td bgcolor="#FFFFFF"><font size="2">Nottingham Trent</font></td>
<td bgcolor="#E4E4E4">
<div align="center"><font size="2">4.17</font></div>
</td>
</tr>
<tr>
<td bgcolor="#E4E4E4"><font size="2">71</font></td>
<td bgcolor="#FFFFFF"><font size="2">Brighton</font></td>
<td bgcolor="#E4E4E4">
<div align="center"><font size="2">4.11</font></div>
</td>
</tr>
<tr>
<td bgcolor="#E4E4E4"><font size="2">72</font></td>
<td bgcolor="#FFFFFF"><font size="2">Kingsdown</font></td>
<td bgcolor="#E4E4E4">
<div align="center"><font size="2">4.09</font></div>
</td>
</tr>
<tr>
<td bgcolor="#E4E4E4"><font size="2">73</font></td>
<td bgcolor="#FFFFFF"><font size="2">Middlesex</font></td>
<td bgcolor="#E4E4E4">
<div align="center"><font size="2">4.02</font></div>
</td>
</tr>
<tr>
<td bgcolor="#E4E4E4"><font size="2">74</font></td>
<td bgcolor="#FFFFFF"><font size="2">West of England</font></td>
<td bgcolor="#E4E4E4">
<div align="center"><font size="2">4.01</font></div>
</td>
</tr>
<tr>
<td bgcolor="#E4E4E4"><font size="2">75</font></td>
<td bgcolor="#FFFFFF"><font size="2">Huddersfield</font></td>
<td bgcolor="#E4E4E4">
<div align="center"><font size="2">4.00</font></div>
</td>
</tr>
<tr>
<td bgcolor="#E4E4E4"><font size="2">76</font></td>
<td bgcolor="#FFFFFF"><font size="2">Oxford Brooks</font></td>
<td bgcolor="#E4E4E4">
<div align="center"><font size="2">3.98</font></div>
</td>
</tr>
<tr>
<td bgcolor="#E4E4E4"><font size="2">77</font></td>
<td bgcolor="#FFFFFF"><font size="2">Liverpool John Moore</font></td>
<td bgcolor="#E4E4E4">
<div align="center"><font size="2">3.97</font></div>
</td>
</tr>
<tr>
<td bgcolor="#E4E4E4"><font size="2">78</font></td>
<td bgcolor="#FFFFFF"><font size="2">Napier</font></td>
<td bgcolor="#E4E4E4">
<div align="center"><font size="2">3.92</font></div>
</td>
</tr>
<tr>
<td bgcolor="#E4E4E4"><font size="2">79</font></td>
<td bgcolor="#FFFFFF"><font size="2">Sunderland</font></td>
<td bgcolor="#E4E4E4">
<div align="center"><font size="2">3.92</font></div>
</td>
</tr>
<tr>
<td bgcolor="#E4E4E4"><font size="2">80</font></td>
<td bgcolor="#FFFFFF"><font size="2">Glasgow Caledonian</font></td>
<td bgcolor="#E4E4E4">
<div align="center"><font size="2">3.89</font></div>
</td>
</tr>
<tr>
<td bgcolor="#E4E4E4"><font size="2">81</font></td>
<td bgcolor="#FFFFFF"><font size="2">Greenwich</font></td>
<td bgcolor="#E4E4E4">
<div align="center"><font size="2">3.86</font></div>
</td>
</tr>
<tr>
<td bgcolor="#E4E4E4"><font size="2">82</font></td>
<td bgcolor="#FFFFFF"><font size="2">Central England</font></td>
<td bgcolor="#E4E4E4">
<div align="center"><font size="2">3.82</font></div>
</td>
</tr>
<tr>
<td bgcolor="#E4E4E4"><font size="2">83</font></td>
<td bgcolor="#FFFFFF"><font size="2">Leeds Metropolitan</font></td>
<td bgcolor="#E4E4E4">
<div align="center"><font size="2">3.78</font></div>
</td>
</tr>
<tr>
<td bgcolor="#E4E4E4"><font size="2">84</font></td>
<td bgcolor="#FFFFFF"><font size="2">Hertfordshire</font></td>
<td bgcolor="#E4E4E4">
<div align="center"><font size="2">3.76</font></div>
</td>
</tr>
<tr>
<td bgcolor="#E4E4E4"><font size="2">85</font></td>
<td bgcolor="#FFFFFF"><font size="2">Central Lancashire</font></td>
<td bgcolor="#E4E4E4">
<div align="center"><font size="2">3.76</font></div>
</td>
</tr>
<tr>
<td bgcolor="#E4E4E4"><font size="2">86</font></td>
<td bgcolor="#FFFFFF"><font size="2">East London</font></td>
<td bgcolor="#E4E4E4">
<div align="center"><font size="2">3.74</font></div>
</td>
</tr>
<tr>
<td bgcolor="#E4E4E4"><font size="2">87</font></td>
<td bgcolor="#FFFFFF"><font size="2">Glamorgan</font></td>
<td bgcolor="#E4E4E4">
<div align="center"><font size="2">3.69</font></div>
</td>
</tr>
<tr>
<td bgcolor="#E4E4E4"><font size="2">88</font></td>
<td bgcolor="#FFFFFF"><font size="2">North London</font></td>
<td bgcolor="#E4E4E4">
<div align="center"><font size="2">3.68</font></div>
</td>
</tr>
<tr>
<td bgcolor="#E4E4E4"><font size="2">89</font></td>
<td bgcolor="#FFFFFF"><font size="2">Northumbria</font></td>
<td bgcolor="#E4E4E4">
<div align="center"><font size="2">3.66</font></div>
</td>
</tr>
<tr>
<td bgcolor="#E4E4E4"><font size="2">90</font></td>
<td bgcolor="#FFFFFF"><font size="2">Wolverhampton</font></td>
<td bgcolor="#E4E4E4">
<div align="center"><font size="2">3.64</font></div>
</td>
</tr>
<tr>
<td bgcolor="#E4E4E4"><font size="2">91</font></td>
<td bgcolor="#FFFFFF"><font size="2">Abertay Dundee</font></td>
<td bgcolor="#E4E4E4">
<div align="center"><font size="2">3.58</font></div>
</td>
</tr>
<tr>
<td bgcolor="#E4E4E4"><font size="2">92</font></td>
<td bgcolor="#FFFFFF"><font size="2">Staffordshire</font></td>
<td bgcolor="#E4E4E4">
<div align="center"><font size="2">3.57</font></div>
</td>
</tr>
<tr>
<td bgcolor="#E4E4E4"><font size="2">93</font></td>
<td bgcolor="#FFFFFF"><font size="2">Coventry</font></td>
<td bgcolor="#E4E4E4">
<div align="center"><font size="2">3.56</font></div>
</td>
</tr>
<tr>
<td bgcolor="#E4E4E4"><font size="2">94</font></td>
<td bgcolor="#FFFFFF"><font size="2">Bournemouth</font></td>
<td bgcolor="#E4E4E4">
<div align="center"><font size="2">3.53</font></div>
</td>
</tr>
<tr>
<td bgcolor="#E4E4E4"><font size="2">95</font></td>
<td bgcolor="#FFFFFF"><font size="2">Teesside</font></td>
<td bgcolor="#E4E4E4">
<div align="center"><font size="2">3.48</font></div>
</td>
</tr>
<tr>
<td bgcolor="#E4E4E4"><font size="2">96</font></td>
<td bgcolor="#FFFFFF"><font size="2">London Guildhall</font></td>
<td bgcolor="#E4E4E4">
<div align="center"><font size="2">3.48</font></div>
</td>
</tr>
<tr>
<td bgcolor="#E4E4E4"><font size="2">97</font></td>
<td bgcolor="#FFFFFF"><font size="2">Luton</font></td>
<td bgcolor="#E4E4E4">
<div align="center"><font size="2">3.47</font></div>
</td>
</tr>
<tr>
<td bgcolor="#E4E4E4"><font size="2">98</font></td>
<td bgcolor="#FFFFFF"><font size="2">Robert Gordon</font></td>
<td bgcolor="#E4E4E4">
<div align="center"><font size="2">3.36</font></div>
</td>
</tr>
<tr>
<td bgcolor="#E4E4E4"><font size="2">99</font></td>
<td bgcolor="#FFFFFF"><font size="2">Lincolnshire and Humberside</font></td>
<td bgcolor="#E4E4E4">
<div align="center"><font size="2">3.28</font></div>
</td>
</tr>
<tr>
<td bgcolor="#E4E4E4"><font size="2">100</font></td>
<td bgcolor="#FFFFFF"><font size="2">Paisley</font></td>
<td bgcolor="#E4E4E4">
<div align="center"><font size="2">3.22</font></div>
</td>
</tr>
<tr>
<td bgcolor="#E4E4E4"><font size="2">101</font></td>
<td bgcolor="#FFFFFF"><font size="2">Anglia</font></td>
<td bgcolor="#E4E4E4">
<div align="center"><font size="2">3.18</font></div>
</td>
</tr>
<tr>
<td bgcolor="#E4E4E4"><font size="2">102</font></td>
<td bgcolor="#FFFFFF"><font size="2">Derby</font></td>
<td bgcolor="#E4E4E4">
<div align="center"><font size="2">2.85</font></div>
</td>
</tr>
<tr>
<td bgcolor="#E4E4E4"><font size="2">103</font></td>
<td bgcolor="#FFFFFF"><font size="2">NEWI</font></td>
<td bgcolor="#E4E4E4">
<div align="center"><font size="2">2.76</font></div>
</td>
</tr>
<tr>
<td bgcolor="#E4E4E4"><font size="2">104</font></td>
<td bgcolor="#FFFFFF"><font size="2">Trinity College Carmarthen</font></td>
<td bgcolor="#E4E4E4">
<div align="center"><font size="2">2.41</font></div>
</td>
</tr>
<tr>
<td bgcolor="#E4E4E4"><font size="2">105</font></td>
<td bgcolor="#FFFFFF"><font size="2">SwanseaInstitute of Higher Education </font></td>
<td bgcolor="#E4E4E4">
<div align="center"><font size="2">2.35</font></div>
</td>
</tr>
<tr>
<td bgcolor="#E4E4E4"><font size="2">106</font></td>
<td bgcolor="#FFFFFF"><font size="2">Thames Valley</font></td>
<td bgcolor="#E4E4E4">
<div align="center"><font size="2">2.09</font></div>
</td>
</tr>
</table>
</div>
]]></content:encoded>
			<wfw:commentRss>http://jaffnacampus.com/universities/uk-universities/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Web Developer Presentation</title>
		<link>http://jaffnacampus.com/campus-news/web-developer-presentation/</link>
		<comments>http://jaffnacampus.com/campus-news/web-developer-presentation/#comments</comments>
		<pubDate>Thu, 01 Apr 2010 18:45:45 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Campus News]]></category>
		<category><![CDATA[web developer in Jaffna]]></category>
		<category><![CDATA[web developer presentaion]]></category>

		<guid isPermaLink="false">http://jaffnacampus.com/?p=401</guid>
		<description><![CDATA[The next presentation for the Web Developer Program in Jaffna will be held on 15th of April, 2010 at IIS [...]]]></description>
			<content:encoded><![CDATA[<p>The next presentation for the Web Developer Program in Jaffna will be held on 15th of April, 2010 at IIS CITY CAMPUS.</p>
<p>There are Only 20 seats are available at the first batch and they will be given in &#8220;First come First served&#8221; order. The second batch will start in May 2011. For more information call 077 38 676 38 OR contact IIS CITY CAMPUS by phone 222 8060 or 222 2201.</p>
]]></content:encoded>
			<wfw:commentRss>http://jaffnacampus.com/campus-news/web-developer-presentation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Providing Web Developer Program in Jaffna</title>
		<link>http://jaffnacampus.com/campus-news/providing-web-developer-program-in-jaffna/</link>
		<comments>http://jaffnacampus.com/campus-news/providing-web-developer-program-in-jaffna/#comments</comments>
		<pubDate>Wed, 10 Mar 2010 05:56:58 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Campus News]]></category>
		<category><![CDATA[Jaffna web program]]></category>
		<category><![CDATA[web developer in Jaffna]]></category>
		<category><![CDATA[Web developer program]]></category>
		<category><![CDATA[web program in Jaffna]]></category>

		<guid isPermaLink="false">http://jaffnacampus.com/?p=396</guid>
		<description><![CDATA[The great news is soon the youths of Jaffna will get the opportunity to master the Web Development. We are [...]]]></description>
			<content:encoded><![CDATA[<p>The great news is soon the youths of Jaffna will get the opportunity to master the Web Development. We are exploring the possibility of providing Web Developer programs in collaboration with IIS City Campus, Jaffna.</p>
<p>This program will educate you HTML to Search Engine Marketing. All essential languages and tools to master Web Development.</p>
<p>Scheduled start of the program is last week of April. For any further information please contact IIS City Campus by email enquiry@iisCityCampus.com or by phone 222 8060 or 222 2201.</p>
]]></content:encoded>
			<wfw:commentRss>http://jaffnacampus.com/campus-news/providing-web-developer-program-in-jaffna/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Extend OLPC to Jaffna</title>
		<link>http://jaffnacampus.com/campus-news/extend-olpc-to-jaffna/</link>
		<comments>http://jaffnacampus.com/campus-news/extend-olpc-to-jaffna/#comments</comments>
		<pubDate>Wed, 10 Mar 2010 04:30:32 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Campus News]]></category>
		<category><![CDATA[Extend OLPC to jaffna]]></category>
		<category><![CDATA[Jaffna Education]]></category>
		<category><![CDATA[Jaffna Information Technology]]></category>
		<category><![CDATA[Jaffna IT]]></category>
		<category><![CDATA[OLPC]]></category>
		<category><![CDATA[one laptop per child]]></category>

		<guid isPermaLink="false">http://jaffnacampus.com/?p=394</guid>
		<description><![CDATA[Any NGO willing to extend One Laptop Per Child (OLPC) to Jaffna?
To rehabilitate the city, it is also important to [...]]]></description>
			<content:encoded><![CDATA[<p>Any NGO willing to extend One Laptop Per Child (OLPC) to Jaffna?</p>
<p>To rehabilitate the city, it is also important to educate and employ the youths from Jaffna. By extending OLPC project to Jaffna, Information Technology can be introduced at root level as the first step of Sri Lanka&#8217;s IT hub.</p>
<p>Current knowledge within Jaffna residence is limited. IT educational institution and foreign degree providers are mushrooming in Jaffna to make their best balance sheet ever. The biggest question is How much worth Certificate, Diploma etc provided by these institutions have? Do those students get employed? What is the major concern of this institution is the profit not social responsibility.</p>
<p>There is a big Local market potential for Information Technology. If you have noticed that there is NO web site of any community is up to standard. The Internet could play a big role as to bridge the gab to seek employment far away from local market. Education the youths in IT will prepare for the world market than just local market.</p>
<p>I hope at the least one NGO will come forward to extend OLPC project to Jaffna.</p>
<p>Thank you,</p>
]]></content:encoded>
			<wfw:commentRss>http://jaffnacampus.com/campus-news/extend-olpc-to-jaffna/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Web Developer Programs in Jaffna</title>
		<link>http://jaffnacampus.com/campus-news/web-developer-programs-in-jaffna-2/</link>
		<comments>http://jaffnacampus.com/campus-news/web-developer-programs-in-jaffna-2/#comments</comments>
		<pubDate>Mon, 01 Mar 2010 18:07:01 +0000</pubDate>
		<dc:creator>Sathees Navaratnam</dc:creator>
				<category><![CDATA[Campus News]]></category>
		<category><![CDATA[IT education]]></category>
		<category><![CDATA[web developer]]></category>

		<guid isPermaLink="false">http://jaffnacampus.com/?p=389</guid>
		<description><![CDATA[I have initiated the project to conduct offline Web Developer courses in Jaffna. I will be in Jaffna on Wednesday [...]]]></description>
			<content:encoded><![CDATA[<p>I have initiated the project to conduct offline Web Developer courses in Jaffna. I will be in Jaffna on Wednesday 3rd  March to explore the possibilities on conducting such courses. I will be  meeting with executives and Semi Governmental Schools Principals during my 3  day stay in Jaffna.</p>
<p>Currently I am looking to rent a Computer Lab with min. 20 PCs to conduct  these courses. We will be establishing our own facility soon depends on demand  for offline courses.</p>
<p>Learning the Basic web languages is free of charge for online users.  Interactive online classes will be introduced in July.</p>
<p>I am aimed at promoting education to take advantage of global employment  opportunities to the Young dynamic individuals from Jaffna.</p>
<ul>
<li>What am I expected to learn?       At the end of the courses you will be able to design a web site using open       source Content Management System. Customize the core CMS files, create Templates, Develop custom functions, etc.</li>
<li>What are the employment       possibilities are successfully completing the course? You can employ your       self as Web Developer at local or any international company. Work to       foreign companies while living in Jaffna.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://jaffnacampus.com/campus-news/web-developer-programs-in-jaffna-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What is PHP?</title>
		<link>http://jaffnacampus.com/php/what-is-php/</link>
		<comments>http://jaffnacampus.com/php/what-is-php/#comments</comments>
		<pubDate>Sun, 28 Feb 2010 01:39:15 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[about php]]></category>

		<guid isPermaLink="false">http://jaffnacampus.com/?p=380</guid>
		<description><![CDATA[Hypertext Preprocessor (the name is a recursive acronym) is a widely used, general-purpose scripting language that was originally designed for [...]]]></description>
			<content:encoded><![CDATA[<p>Hypertext Preprocessor (the name is a recursive acronym) is a widely used, general-purpose scripting language that was originally designed for web development to produce dynamic web pages. For this purpose, PHP code is embedded into the HTML source document and interpreted by a web server with a PHP processor module, which generates the web page  document. As a general-purpose programming language, PHP code is processed by an interpreter application in command-line mode performing desired operating system operations and producing program output on its standard output channel. It may also function as a graphical application. PHP is available as a processor for most modern web servers and as standalone interpreter on most operating systems and computing platforms.</p>
<p>PHP was originally created by Rasmus Lerdorf in 1995 and has been in continuous development ever since. The main implementation of PHP is now produced by The PHP Group and serves as the de facto standard for PHP as there is no formal specification. PHP is free software released under the PHP License, which is incompatible with the GNU General Public License (GPL) because restrictions exist regarding the use of the term PHP.</p>
<p>PHP originally stood for personal home page. It began in 1994 as a set of Common Gateway Interface (CGI) binaries  written in the C programming language by the Danish/Greenlandic  programmer Rasmus Lerdorf. Lerdorf initially created these Personal Home Page Tools to replace a small set of Perl  scripts he had been using to maintain his personal homepage. The tools were used to perform tasks such as displaying his résumé and recording how much traffic  his page was receiving. He combined these binaries with his Form Interpreter to create PHP/FI, which had more functionality. PHP/FI included a larger implementation for the C programming language and could communicate with databases, enabling the building of simple, dynamic web applications. Lerdorf released PHP publicly on June 8, 1995 to accelerate bug  location and improve the code. This release was named PHP version 2 and already had the basic functionality that PHP has today. This included Perl-like variables, form handling, and the ability to embed HTML. The syntax was similar to Perl but was more limited, simpler, and less consistent.</p>
<p>Zeev Suraski and Andi Gutmans, two Israeli developers at the Technion IIT, rewrote the parser in 1997 and formed the base of PHP 3, changing the language&#8217;s name to the recursive initialism PHP: Hypertext Preprocessor. The development team officially released PHP/FI 2 in November 1997 after months of beta testing. Afterwards, public testing of PHP 3 began, and the official launch came in June 1998. Suraski and Gutmans then started a new rewrite of PHP&#8217;s core, producing the Zend Engine in 1999. They also founded Zend Technologies in Ramat Gan, Israel.</p>
<p>On May 22, 2000, PHP 4, powered by the Zend Engine 1.0, was released. As of August, 2008 this branch is up to version 4.4.9. PHP 4 is no longer under development nor will any security updates be released. On July 13, 2004, PHP 5 was released, powered by the new Zend Engine II. PHP 5 included new features such as improved support for object-oriented programming, the PHP Data Objects extension (which defines a lightweight and consistent interface for accessing databases), and numerous performance enhancements. In 2008, PHP 5 became the only stable version under development. Late static binding has been missing from PHP and has been added in version 5.3. PHP 6 is under development alongside PHP 5. Major changes include the removal of register_globals, magic quotes, and safe mode. The reason for the removals was that register_globals had given way to security holes, and magic quotes had an unpredictable nature, and was best avoided. Instead, to escape characters, magic quotes may be substituted with the addslashes() function, or more appropriately an escape mechanism specific to the database vendor itself like mysql_real_escape_string() for MySQL. Functions that will be removed in PHP 6 have been deprecated in PHP 5.3 and will produce a warning if used.</p>
<p>Many high-profile open-source projects ceased to support PHP 4 in new code as of February 5, 2008, because of the GoPHP5 initiative, provided by a consortium of PHP developers promoting the transition from PHP 4 to PHP 5.</p>
<p>PHP currently does not have native support for Unicode or multibyte strings; Unicode support will be included in PHP 6 and will allow strings as well as class, method and function names to contain non-ASCII characters.</p>
<p>PHP interpreters are available on both 32-bit and 64-bit operating systems, but on Microsoft Windows the only official distribution is a 32-bit implementation, requiring Windows 32-bit compatibility mode while using Internet Information Services (IIS) on a 64-bit Windows platform. As of PHP 5.3.0, experimental 64-bit versions are available for MS Windows.</p>
<p>source: Wikipedia</p>
]]></content:encoded>
			<wfw:commentRss>http://jaffnacampus.com/php/what-is-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP Example &#8211; AJAX Poll</title>
		<link>http://jaffnacampus.com/php/php-and-ajax/php-example-ajax-poll/</link>
		<comments>http://jaffnacampus.com/php/php-and-ajax/php-example-ajax-poll/#comments</comments>
		<pubDate>Thu, 18 Feb 2010 07:57:42 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP and AJAX]]></category>
		<category><![CDATA[PHP Example - AJAX Poll]]></category>

		<guid isPermaLink="false">http://jaffnacampus.com/?p=376</guid>
		<description><![CDATA[AJAX Poll
This example will demonstrate a poll where a web page can   get results without reloading.

Do you like [...]]]></description>
			<content:encoded><![CDATA[<h2>AJAX Poll</h2>
<p>This example will demonstrate a poll where a web page can   get results without reloading.</p>
<div id="poll">
<h3>Do you like PHP and AJAX so far?</h3>
<form>
    Yes:</p>
<input name="vote" value="0" onclick="getVote(this.value)" type="radio" />
    <br />
    No:</p>
<input name="vote" value="1" onclick="getVote(this.value)" type="radio" />
  </form>
</div>
<hr />
<h2>Example Explained &#8211; The HTML page</h2>
<p>The HTML page contains a link to an external JavaScript, an HTML   form, and a div element:</p>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tbody>
<tr>
<td>&lt;html&gt;<br />
        &lt;head&gt;<br />
        &lt;script type=&quot;text/javascript&quot; src=&quot;poll.js&quot;&gt;&lt;/script&gt;<br />
        &lt;/head&gt;<br />
        &lt;body&gt;</p>
<p>        &lt;div id=&quot;poll&quot;&gt;<br />
        &lt;h3&gt;Do you like PHP and AJAX so far?&lt;/h3&gt;<br />
        &lt;form&gt;<br />
        Yes:<br />
        &lt;input type=&quot;radio&quot; name=&quot;vote&quot;  value=&quot;0&quot; onclick=&quot;getVote(this.value)&quot; /&gt;<br />
        &lt;br /&gt;No:<br />
        &lt;input type=&quot;radio&quot; name=&quot;vote&quot;  value=&quot;1&quot; onclick=&quot;getVote(this.value)&quot; /&gt;<br />
        &lt;/form&gt;<br />
        &lt;/div&gt;</p>
<p>        &lt;/body&gt;<br />
        &lt;/html&gt; </td>
</tr>
</tbody>
</table>
<p>The HTML form works like this:</p>
<ol>
<li>An event is triggered when the user selects the &quot;yes&quot; or &quot;no&quot;   option</li>
<li>When the event is triggered, the function getVote() is executed</li>
<li>The data   	returned from the getVote() function will replace the form, in the   &lt;div&gt; tag</li>
</ol>
<hr />
<h2>Example Explained &#8211; The JavaScript code</h2>
<p>This is the JavaScript code stored in the file &quot;poll.js&quot;:</p>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tbody>
<tr>
<td> var xmlhttp;</p>
<p>        function getVote(int)<br />
        {<br />
        xmlhttp=GetXmlHttpObject();<br />
        if (xmlhttp==null)<br />
        {<br />
        alert (&quot;Browser does not support HTTP Request&quot;);<br />
        return;<br />
        }<br />
        var url=&quot;poll_vote.php&quot;;<br />
        url=url+&quot;?vote=&quot;+int;<br />
        url=url+&quot;&amp;sid=&quot;+Math.random();<br />
        xmlhttp.onreadystatechange=stateChanged;<br />
        xmlhttp.open(&quot;GET&quot;,url,true);<br />
        xmlhttp.send(null);<br />
        }</p>
<p>        function stateChanged()<br />
        {<br />
        if (xmlhttp.readyState==4)<br />
        {<br />
        document.getElementById(&quot;poll&quot;).innerHTML=xmlhttp.responseText;<br />
        }<br />
        }</p>
<p>        function GetXmlHttpObject()<br />
        {<br />
        var objXMLHttp=null;<br />
        if (window.XMLHttpRequest)<br />
        {<br />
        objXMLHttp=new XMLHttpRequest();<br />
        }<br />
        else if (window.ActiveXObject)<br />
        {<br />
        objXMLHttp=new ActiveXObject(&quot;Microsoft.XMLHTTP&quot;);<br />
        }<br />
        return objXMLHttp;<br />
        } </td>
</tr>
</tbody>
</table>
<p>The stateChanged() and GetXmlHttpObject functions are the same as in   the PHP AJAX   Suggest chapter.</p>
<p><strong>The getVote() Function</strong></p>
<p>This function executes when &quot;yes&quot; or &quot;no&quot; is selected in the HTML   form.</p>
<ol>
<li>Calls the GetXmlHttpObject() function to create an XMLHTTP object</li>
<li>Defines the URL (filename) to send to the server</li>
<li>Adds a parameter (vote) to the URL with the content of the input   field </li>
<li>Adds a random number to prevent the server from using a cached file</li>
<li>Each time the readyState property changes, the stateChanged()   function   	will be executed</li>
<li>Opens the XMLHTTP object with the given url.</li>
<li>Sends an HTTP request to the server</li>
</ol>
<hr />
<h2>The PHP Page</h2>
<p>The server page called by the JavaScript code is a simple PHP file   called &quot;poll_vote.php&quot;.</p>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tbody>
<tr>
<td>&lt;?php<br />
        $vote = $_REQUEST['vote'];</p>
<p>        //get content of textfile<br />
        $filename = &quot;poll_result.txt&quot;;<br />
        $content = file($filename);</p>
<p>        //put content in array<br />
        $array = explode(&quot;||&quot;, $content[0]);<br />
        $yes = $array[0];<br />
        $no = $array[1];</p>
<p>        if ($vote == 0)<br />
        {<br />
        $yes = $yes + 1;<br />
        }<br />
        if ($vote == 1)<br />
        {<br />
        $no = $no + 1;<br />
        }</p>
<p>        //insert votes to txt file<br />
        $insertvote = $yes.&quot;||&quot;.$no;<br />
        $fp = fopen($filename,&quot;w&quot;);<br />
        fputs($fp,$insertvote);<br />
        fclose($fp);<br />
        ?&gt;</p>
<p>        &lt;h2&gt;Result:&lt;/h2&gt;<br />
        &lt;table&gt;<br />
        &lt;tr&gt;<br />
        &lt;td&gt;Yes:&lt;/td&gt;<br />
        &lt;td&gt;<br />
        &lt;img src=&quot;poll.gif&quot;<br />
        width=&#8217;&lt;?php echo(100*round($yes/($no+$yes),2)); ?&gt;&#8217;<br />
        height=&#8217;20&#8242;&gt;<br />
        &lt;?php echo(100*round($yes/($no+$yes),2)); ?&gt;%<br />
        &lt;/td&gt;<br />
        &lt;/tr&gt;<br />
        &lt;tr&gt;<br />
        &lt;td&gt;No:&lt;/td&gt;<br />
        &lt;td&gt;<br />
        &lt;img src=&quot;poll.gif&quot;<br />
        width=&#8217;&lt;?php echo(100*round($no/($no+$yes),2)); ?&gt;&#8217;<br />
        height=&#8217;20&#8242;&gt;<br />
        &lt;?php echo(100*round($no/($no+$yes),2)); ?&gt;%<br />
        &lt;/td&gt;<br />
        &lt;/tr&gt;<br />
        &lt;/table&gt; </td>
</tr>
</tbody>
</table>
<p>The selected value is sent from the JavaScript and the following   happens:</p>
<ol>
<li>Get the content of the &quot;poll_result.txt&quot; file</li>
<li>Put the content of the file in variables and add one to the   selected   	variable</li>
<li>Write the result to the &quot;poll_result.txt&quot; file</li>
<li>Output a graphical representation of the poll result</li>
</ol>
<hr />
<h2>The Text File</h2>
<p>The text file (poll_result.txt) is where we store the data from the   poll. </p>
<p>It is stored like this:</p>
<table id="table1" border="0" cellpadding="0" cellspacing="0" width="100%">
<tbody>
<tr>
<td> 0||0 </td>
</tr>
</tbody>
</table>
<p>The first number represents the &quot;Yes&quot; votes, the second number   represents the   &quot;No&quot; votes.</p>
<p><strong>Note:</strong> Remember to allow your web server to edit the text file.   Do <strong> NOT</strong> give everyone access, just the web server (PHP).</p>
]]></content:encoded>
			<wfw:commentRss>http://jaffnacampus.com/php/php-and-ajax/php-example-ajax-poll/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>PHP Example &#8211; AJAX RSS Reader</title>
		<link>http://jaffnacampus.com/php/php-and-ajax/php-example-ajax-rss-reader/</link>
		<comments>http://jaffnacampus.com/php/php-and-ajax/php-example-ajax-rss-reader/#comments</comments>
		<pubDate>Thu, 18 Feb 2010 07:56:07 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP and AJAX]]></category>
		<category><![CDATA[PHP Example - AJAX RSS Reader]]></category>

		<guid isPermaLink="false">http://jaffnacampus.com/?p=374</guid>
		<description><![CDATA[An RSS Reader is used to read RSS Feeds.

AJAX RSS Reader
In this example we will demonstrate an RSS reader, where [...]]]></description>
			<content:encoded><![CDATA[<p>An RSS Reader is used to read RSS Feeds.</p>
<hr />
<h2>AJAX RSS Reader</h2>
<p>In this example we will demonstrate an RSS reader, where the content   from the RSS is loaded into a webpage without refreshing.</p>
<form>
  Select an RSS-feed:</p>
<select name="select" onchange="showRSS(this.value)">
    <option value="Google">Google News</option><br />
    <option value="MSNBC">MSNBC News</option><br />
  </select>
</form>
<p></p>
<div id="rssOutput"><strong>RSS-feed will be listed here&#8230;</strong></div>
<hr />
<h2>Example Explained &#8211; The HTML page</h2>
<p>The HTML page contains a link to an external JavaScript, an HTML   form, and a div element:</p>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tbody>
<tr>
<td>&lt;html&gt;<br />
        &lt;head&gt;<br />
        &lt;script type=&quot;text/javascript&quot; src=&quot;getrss.js&quot;&gt;&lt;/script&gt;<br />
        &lt;/head&gt;<br />
        &lt;body&gt;</p>
<p>        &lt;form&gt;<br />
        Select an RSS-feed:<br />
        &lt;select onchange=&quot;showRSS(this.value)&quot;&gt;<br />
        &lt;option value=&quot;Google&quot;&gt;Google News&lt;/option&gt;<br />
        &lt;option value=&quot;MSNBC&quot;&gt;MSNBC News&lt;/option&gt;<br />
        &lt;/select&gt;<br />
        &lt;/form&gt;</p>
<p>        &lt;p&gt;&lt;div id=&quot;rssOutput&quot;&gt;<br />
        &lt;b&gt;RSS-feed will be listed here&#8230;&lt;/b&gt;&lt;/div&gt;&lt;/p&gt;<br />
        &lt;/body&gt;<br />
        &lt;/html&gt; </td>
</tr>
</tbody>
</table>
<p>The HTML form works like this:</p>
<ol>
<li>An event is triggered when a user selects an option in the   	drop-down box</li>
<li>When the event is triggered, the function showRSS() is executed</li>
<li>The &lt;div id=&quot;rssOutput&quot;&gt; is a placeholder for   	the data returned from the showRSS() function</li>
</ol>
<hr />
<h2>Example Explained &#8211; The JavaScript code</h2>
<p>This is the JavaScript code stored in the file &quot;getrss.js&quot;:</p>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tbody>
<tr>
<td> var xmlhttp;</p>
<p>        function showRSS(str)<br />
        {<br />
        xmlhttp=GetXmlHttpObject();<br />
        if (xmlhttp==null)<br />
        {<br />
        alert (&quot;Your browser does not support XML HTTP Request&quot;);<br />
        return;<br />
        }<br />
        var url=&quot;getrss.php&quot;;<br />
        url=url+&quot;?q=&quot;+str;<br />
        url=url+&quot;&amp;sid=&quot;+Math.random();<br />
        xmlhttp.onreadystatechange=stateChanged;<br />
        xmlhttp.open(&quot;GET&quot;,url,true);<br />
        xmlhttp.send(null);<br />
        }</p>
<p>        function stateChanged()<br />
        {<br />
        if (xmlhttp.readyState==4)<br />
        {<br />
        document.getElementById(&quot;rssOutput&quot;).innerHTML=xmlhttp.responseText;<br />
        }<br />
        }</p>
<p>        function GetXmlHttpObject()<br />
        {<br />
        if (window.XMLHttpRequest)<br />
        {<br />
        // code for IE7+, Firefox, Chrome, Opera, Safari<br />
        return new XMLHttpRequest();<br />
        }<br />
        if (window.ActiveXObject)<br />
        {<br />
        // code for IE6, IE5<br />
        return new ActiveXObject(&quot;Microsoft.XMLHTTP&quot;);<br />
        }<br />
        return null;<br />
        } </td>
</tr>
</tbody>
</table>
<p>The stateChanged() and GetXmlHttpObject functions are the same as in   the PHP AJAX   Suggest chapter.</p>
<p><strong>The showRSS() Function</strong></p>
<p>Every time an option is selected in the input field, this function   executes   the following:</p>
<ol>
<li>Calls the GetXmlHttpObject() function to create an XMLHTTP object</li>
<li>Defines the URL (filename) to send to the server</li>
<li>Adds a parameter (q) to the URL with the selected option from the   drop-down   	list </li>
<li>Adds a random number to prevent the server from using a cached file</li>
<li>Each time the readyState property changes, the stateChanged()   function   	will be executed</li>
<li>Opens the XMLHTTP object with the given URL</li>
<li>Sends an HTTP request to the server</li>
</ol>
<hr />
<h2>Example Explained &#8211; The PHP page</h2>
<p>The PHP page called by the JavaScript code is called &quot;getrss.php&quot;:</p>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tbody>
<tr>
<td>&lt;?php<br />
        //get the q parameter from URL<br />
        $q=$_GET[&quot;q&quot;];</p>
<p>        //find out which feed was selected<br />
        if($q==&quot;Google&quot;)<br />
        {<br />
        $xml=(&quot;http://news.google.com/news?ned=us&amp;topic=h&amp;output=rss&quot;);<br />
        }<br />
        elseif($q==&quot;MSNBC&quot;)<br />
        {<br />
        $xml=(&quot;http://rss.msnbc.msn.com/id/3032091/device/rss/rss.xml&quot;);<br />
        }</p>
<p>        $xmlDoc = new DOMDocument();<br />
        $xmlDoc-&gt;load($xml);</p>
<p>        //get elements from &quot;&lt;channel&gt;&quot;<br />
        $channel=$xmlDoc-&gt;getElementsByTagName(&#8216;channel&#8217;)-&gt;item(0);<br />
        $channel_title = $channel-&gt;getElementsByTagName(&#8216;title&#8217;)<br />
        -&gt;item(0)-&gt;childNodes-&gt;item(0)-&gt;nodeValue;<br />
        $channel_link = $channel-&gt;getElementsByTagName(&#8216;link&#8217;)<br />
        -&gt;item(0)-&gt;childNodes-&gt;item(0)-&gt;nodeValue;<br />
        $channel_desc = $channel-&gt;getElementsByTagName(&#8216;description&#8217;)<br />
        -&gt;item(0)-&gt;childNodes-&gt;item(0)-&gt;nodeValue;</p>
<p>        //output elements from &quot;&lt;channel&gt;&quot;<br />
        echo(&quot;&lt;p&gt;&lt;a href=&#8217;&quot; . $channel_link<br />
        . &quot;&#8217;&gt;&quot; . $channel_title . &quot;&lt;/a&gt;&quot;);<br />
        echo(&quot;&lt;br /&gt;&quot;);<br />
        echo($channel_desc . &quot;&lt;/p&gt;&quot;);</p>
<p>        //get and output &quot;&lt;item&gt;&quot; elements<br />
        $x=$xmlDoc-&gt;getElementsByTagName(&#8216;item&#8217;);<br />
        for ($i=0; $i&lt;=2; $i++)<br />
        {<br />
        $item_title=$x-&gt;item($i)-&gt;getElementsByTagName(&#8216;title&#8217;)<br />
        -&gt;item(0)-&gt;childNodes-&gt;item(0)-&gt;nodeValue;<br />
        $item_link=$x-&gt;item($i)-&gt;getElementsByTagName(&#8216;link&#8217;)<br />
        -&gt;item(0)-&gt;childNodes-&gt;item(0)-&gt;nodeValue;<br />
        $item_desc=$x-&gt;item($i)-&gt;getElementsByTagName(&#8216;description&#8217;)<br />
        -&gt;item(0)-&gt;childNodes-&gt;item(0)-&gt;nodeValue;</p>
<p>        echo (&quot;&lt;p&gt;&lt;a href=&#8217;&quot; . $item_link<br />
        . &quot;&#8217;&gt;&quot; . $item_title . &quot;&lt;/a&gt;&quot;);<br />
        echo (&quot;&lt;br /&gt;&quot;);<br />
        echo ($item_desc . &quot;&lt;/p&gt;&quot;);<br />
        }<br />
        ?&gt; </td>
</tr>
</tbody>
</table>
<p>When an option is sent from the JavaScript, the following   happens:</p>
<ol>
<li>PHP finds out which RSS feed was selected</li>
<li>An XML DOM object is created for the selected RSS feed</li>
<li>The elements from the RSS channel are found and outputted</li>
<li>Loops through the first three elements and output result</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://jaffnacampus.com/php/php-and-ajax/php-example-ajax-rss-reader/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP Example &#8211; AJAX Live Search</title>
		<link>http://jaffnacampus.com/php/php-and-ajax/php-example-ajax-live-search/</link>
		<comments>http://jaffnacampus.com/php/php-and-ajax/php-example-ajax-live-search/#comments</comments>
		<pubDate>Thu, 18 Feb 2010 07:54:35 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP and AJAX]]></category>
		<category><![CDATA[PHP Example - AJAX Live Search]]></category>

		<guid isPermaLink="false">http://jaffnacampus.com/?p=372</guid>
		<description><![CDATA[AJAX can be used for a more user-friendly and   interactive   search.

AJAX Live Search
In this example we [...]]]></description>
			<content:encoded><![CDATA[<p>AJAX can be used for a more user-friendly and   interactive   search.</p>
<hr />
<h2>AJAX Live Search</h2>
<p>In this example we will demonstrate a live search, where you   get search results while you type.</p>
<p>Live search has many benefits compared to traditional searching:</p>
<ul>
<li>Results are shown as you type</li>
<li>Results narrow as you continue typing</li>
<li>If results become too narrow, remove characters to see a broader   result</li>
</ul>
<p>Search for a W3Schools page in the input field below:</p>
<form>
<input id="txt1" size="30" onkeyup="showResult(this.value)" type="text" />
<div id="livesearch"></div>
</form>
<p>In the example above, the results are found in an XML document (links.xml).   To make this   example small and simple, only eight results are available.</p>
<hr />
<h2>Example Explained &#8211; The HTML page</h2>
<p>The HTML page contains a link to an external JavaScript, some style   definitions, an HTML form, and a div element:</p>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tbody>
<tr>
<td>&lt;html&gt;<br />
        &lt;head&gt;<br />
        &lt;script type=&quot;text/javascript&quot; src=&quot;livesearch.js&quot;&gt;&lt;/script&gt;<br />
        &lt;style type=&quot;text/css&quot;&gt;<br />
        #livesearch<br />
        {<br />
        margin:0px;<br />
        width:194px;<br />
        }<br />
        #txt1<br />
        {<br />
        margin:0px;<br />
        }<br />
        &lt;/style&gt;<br />
        &lt;/head&gt;<br />
        &lt;body&gt;</p>
<p>        &lt;form&gt;<br />
        &lt;input type=&quot;text&quot; id=&quot;txt1&quot; size=&quot;30&quot;  onkeyup=&quot;showResult(this.value)&quot; /&gt;<br />
        &lt;div id=&quot;livesearch&quot;&gt;&lt;/div&gt;<br />
        &lt;/form&gt;</p>
<p>        &lt;/body&gt;<br />
        &lt;/html&gt; </td>
</tr>
</tbody>
</table>
<p>The HTML form works like this:</p>
<ol>
<li>An event is triggered when the user presses, and releases a key in   the   	input field</li>
<li>When the event is triggered, the function showResult() is executed</li>
<li>The &lt;div id=&quot;livesearch&quot;&gt; is a placeholder for   	the data returned from the showResult() function</li>
</ol>
<hr />
<h2>Example Explained &#8211; The JavaScript code</h2>
<p>This is the JavaScript code stored in the file &quot;livesearch.js&quot;:</p>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tbody>
<tr>
<td> var xmlhttp;</p>
<p>        function showResult(str)<br />
        {<br />
        if (str.length==0)<br />
        {<br />
        document.getElementById(&quot;livesearch&quot;).innerHTML=&quot;&quot;;<br />
        document.getElementById(&quot;livesearch&quot;).style.border=&quot;0px&quot;;<br />
        return;<br />
        }<br />
        xmlhttp=GetXmlHttpObject()<br />
        if (xmlhttp==null)<br />
        {<br />
        alert (&quot;Your browser does not support XML HTTP Request&quot;);<br />
        return;<br />
        }<br />
        var url=&quot;livesearch.php&quot;;<br />
        url=url+&quot;?q=&quot;+str;<br />
        url=url+&quot;&amp;sid=&quot;+Math.random();<br />
        xmlhttp.onreadystatechange=stateChanged ;<br />
        xmlhttp.open(&quot;GET&quot;,url,true);<br />
        xmlhttp.send(null);<br />
        }</p>
<p>        function stateChanged()<br />
        {<br />
        if (xmlhttp.readyState==4)<br />
        {<br />
        document.getElementById(&quot;livesearch&quot;).innerHTML=xmlhttp.responseText;<br />
        document.getElementById(&quot;livesearch&quot;).style.border=&quot;1px solid   #A5ACB2&quot;;<br />
        }<br />
        }</p>
<p>        function GetXmlHttpObject()<br />
        {<br />
        if (window.XMLHttpRequest)<br />
        {<br />
        // code for IE7+, Firefox, Chrome, Opera, Safari<br />
        return new XMLHttpRequest();<br />
        }<br />
        if (window.ActiveXObject)<br />
        {<br />
        // code for IE6, IE5<br />
        return new ActiveXObject(&quot;Microsoft.XMLHTTP&quot;);<br />
        }<br />
        return null;<br />
        }</td>
</tr>
</tbody>
</table>
<p>The GetXmlHttpObject() function is the same as in the PHP AJAX   Suggest chapter.</p>
<p><strong>The showResult() Function</strong></p>
<p>This function executes every time a character is entered in the input   field. If there is no input in the text field (str.length == 0), the   function sets   the return field to empty and removes the border around it. However, if   there is any input in the text field, the function   executes the following:</p>
<ol>
<li>Calls the GetXmlHttpObject() function to create an XMLHTTP object</li>
<li>Defines the URL (filename) to send to the server</li>
<li>Adds a parameter (q) to the URL with the content of the input field </li>
<li>Adds a random number to prevent the server from using a cached file</li>
<li>Each time the readyState property changes, the stateChanged()   function   	will be executed</li>
<li>Opens the XMLHTTP object with the given URL</li>
<li>Sends an HTTP request to the server</li>
</ol>
<p><strong>The stateChanged() Function</strong></p>
<p>This function executes every time the state of the XMLHTTP   object changes. When the state changes to 4 (&quot;complete&quot;), the content of   the txtHint   placeholder is filled with the response text, and a border is set around   the   field.</p>
<hr />
<h2>Example Explained &#8211; The PHP page</h2>
<p>The PHP page called by the JavaScript code is called   &quot;livesearch.php&quot;.</p>
<p>The code searches an XML file for titles matching the search string   and returns the result as HTML:</p>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tbody>
<tr>
<td>&lt;?php<br />
        $xmlDoc = new DOMDocument();<br />
        $xmlDoc-&gt;load(&quot;links.xml&quot;);</p>
<p>        $x=$xmlDoc-&gt;getElementsByTagName(&#8216;link&#8217;);</p>
<p>        //get the q parameter from URL<br />
        $q=$_GET[&quot;q&quot;];</p>
<p>        //lookup all links from the xml file if length of q&gt;0<br />
        if (strlen($q) &gt; 0)<br />
        {<br />
        $hint=&quot;&quot;;<br />
        for($i=0; $i&lt;($x-&gt;length); $i++)<br />
        {<br />
        $y=$x-&gt;item($i)-&gt;getElementsByTagName(&#8216;title&#8217;);<br />
        $z=$x-&gt;item($i)-&gt;getElementsByTagName(&#8216;url&#8217;);<br />
        if ($y-&gt;item(0)-&gt;nodeType==1)<br />
        {<br />
        //find a link matching the search text<br />
        if   (stristr($y-&gt;item(0)-&gt;childNodes-&gt;item(0)-&gt;nodeValue,$q))<br />
        {<br />
        if ($hint==&quot;&quot;)<br />
        {<br />
        $hint=&quot;&lt;a href=&#8217;&quot; . <br />
        $z-&gt;item(0)-&gt;childNodes-&gt;item(0)-&gt;nodeValue . <br />
        &quot;&#8217; target=&#8217;_blank&#8217;&gt;&quot; . <br />
        $y-&gt;item(0)-&gt;childNodes-&gt;item(0)-&gt;nodeValue .   &quot;&lt;/a&gt;&quot;;<br />
        }<br />
        else<br />
        {<br />
        $hint=$hint . &quot;&lt;br /&gt;&lt;a href=&#8217;&quot; . <br />
        $z-&gt;item(0)-&gt;childNodes-&gt;item(0)-&gt;nodeValue . <br />
        &quot;&#8217; target=&#8217;_blank&#8217;&gt;&quot; . <br />
        $y-&gt;item(0)-&gt;childNodes-&gt;item(0)-&gt;nodeValue .   &quot;&lt;/a&gt;&quot;;<br />
        }<br />
        }<br />
        }<br />
        }<br />
        }</p>
<p>        // Set output to &quot;no suggestion&quot; if no hint were found<br />
        // or to the correct values<br />
        if ($hint == &quot;&quot;)<br />
        {<br />
        $response=&quot;no suggestion&quot;;<br />
        }<br />
        else<br />
        {<br />
        $response=$hint;<br />
        }</p>
<p>        //output the response<br />
        echo $response;<br />
        ?&gt; </td>
</tr>
</tbody>
</table>
<p>If there is any text sent from the JavaScript (strlen($q) &gt; 0),   the following   happens:</p>
<ol>
<li>PHP creates an XML DOM object of the &quot;links.xml&quot; file</li>
<li>Loops through all  &lt;title&gt; elements to find titles that match   the   	text sent from the JavaScript</li>
<li>Sets the correct link and title in the   	&quot;$response&quot; variable. If more than one match is found, all matches are   added   	to the variable</li>
<li>If no matches are found, the $response variable is set to &quot;no   suggestion&quot;</li>
<li>Output the $respone variable to the &quot;livesearch&quot; placeholder</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://jaffnacampus.com/php/php-and-ajax/php-example-ajax-live-search/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
