<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.3" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>Comments on: CodeIgniter and External Resources</title>
	<link>http://www.jimohalloran.com/2007/09/21/codeigniter-and-external-resources/</link>
	<description>Keeping the rabbits out since 1975</description>
	<pubDate>Wed, 08 Feb 2012 14:19:37 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3</generator>
		<item>
		<title>By: JonoB</title>
		<link>http://www.jimohalloran.com/2007/09/21/codeigniter-and-external-resources/#comment-498906</link>
		<dc:creator>JonoB</dc:creator>
		<pubDate>Fri, 01 Jul 2011 13:46:26 +0000</pubDate>
		<guid>http://www.jimohalloran.com/2007/09/21/codeigniter-and-external-resources/#comment-498906</guid>
		<description>I know that this is as old as hell, but I had mistakenly commented out base_url in my header when testing...took me a few hours to track down why controllers were running twice!</description>
		<content:encoded><![CDATA[<p>I know that this is as old as hell, but I had mistakenly commented out base_url in my header when testing&#8230;took me a few hours to track down why controllers were running twice!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gilad</title>
		<link>http://www.jimohalloran.com/2007/09/21/codeigniter-and-external-resources/#comment-362046</link>
		<dc:creator>Gilad</dc:creator>
		<pubDate>Sun, 03 May 2009 15:04:23 +0000</pubDate>
		<guid>http://www.jimohalloran.com/2007/09/21/codeigniter-and-external-resources/#comment-362046</guid>
		<description>in php files there is a plenty of solutions,
but what about js/css files?</description>
		<content:encoded><![CDATA[<p>in php files there is a plenty of solutions,<br />
but what about js/css files?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: CodeIgniter Framework :: TermiT's Blog</title>
		<link>http://www.jimohalloran.com/2007/09/21/codeigniter-and-external-resources/#comment-99708</link>
		<dc:creator>CodeIgniter Framework :: TermiT's Blog</dc:creator>
		<pubDate>Wed, 30 Jan 2008 19:45:12 +0000</pubDate>
		<guid>http://www.jimohalloran.com/2007/09/21/codeigniter-and-external-resources/#comment-99708</guid>
		<description>[...]  CodeIgniter and External Resources [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;]  CodeIgniter and External Resources [&#8230;]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Björn</title>
		<link>http://www.jimohalloran.com/2007/09/21/codeigniter-and-external-resources/#comment-94034</link>
		<dc:creator>Björn</dc:creator>
		<pubDate>Wed, 09 Jan 2008 11:10:13 +0000</pubDate>
		<guid>http://www.jimohalloran.com/2007/09/21/codeigniter-and-external-resources/#comment-94034</guid>
		<description>And again :( I'm starting to feel stupid here.

What i meant to do was to insert 'base_url()' in the href-property of the base tag.</description>
		<content:encoded><![CDATA[<p>And again <img src='http://www.jimohalloran.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> I&#8217;m starting to feel stupid here.</p>
<p>What i meant to do was to insert &#8216;base_url()&#8217; in the href-property of the base tag.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Björn</title>
		<link>http://www.jimohalloran.com/2007/09/21/codeigniter-and-external-resources/#comment-94033</link>
		<dc:creator>Björn</dc:creator>
		<pubDate>Wed, 09 Jan 2008 11:04:40 +0000</pubDate>
		<guid>http://www.jimohalloran.com/2007/09/21/codeigniter-and-external-resources/#comment-94033</guid>
		<description>Hmmpf, my PHP code got cut out

&lt;code&gt;&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>Hmmpf, my PHP code got cut out</p>
<p><code></code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Björn</title>
		<link>http://www.jimohalloran.com/2007/09/21/codeigniter-and-external-resources/#comment-94032</link>
		<dc:creator>Björn</dc:creator>
		<pubDate>Wed, 09 Jan 2008 11:03:09 +0000</pubDate>
		<guid>http://www.jimohalloran.com/2007/09/21/codeigniter-and-external-resources/#comment-94032</guid>
		<description>Another method would be to use the BASE-tag.
"The base element specifies a base URL for all the links in a page." (ref: w3schools),

Usually I set a &#60;base href="" /&#62; in the beginning of my document. After that I can reference my images/etc. as 

Björn</description>
		<content:encoded><![CDATA[<p>Another method would be to use the BASE-tag.<br />
&#8220;The base element specifies a base URL for all the links in a page.&#8221; (ref: w3schools),</p>
<p>Usually I set a &lt;base href=&#8221;" /&gt; in the beginning of my document. After that I can reference my images/etc. as </p>
<p>Björn</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jim</title>
		<link>http://www.jimohalloran.com/2007/09/21/codeigniter-and-external-resources/#comment-72642</link>
		<dc:creator>jim</dc:creator>
		<pubDate>Fri, 28 Sep 2007 05:04:33 +0000</pubDate>
		<guid>http://www.jimohalloran.com/2007/09/21/codeigniter-and-external-resources/#comment-72642</guid>
		<description>Pavel,

Agreed, relative links from the root of the domain are nicer on the eyes, but it does mean that you MUST develop and deply your code in the root of a domain.  I generally develop un subdirecotries on my localhost (e.g. http://localhost/app1/, http://localhost/app2) then deploy to the root of a domain.  

Using the technique that I outlined above ensures that no matter hoy you develop/deploy the code it will always work.

Jim.</description>
		<content:encoded><![CDATA[<p>Pavel,</p>
<p>Agreed, relative links from the root of the domain are nicer on the eyes, but it does mean that you MUST develop and deply your code in the root of a domain.  I generally develop un subdirecotries on my localhost (e.g. <a href="http://localhost/app1/," rel="nofollow">http://localhost/app1/,</a> <a href="http://localhost/app2" rel="nofollow">http://localhost/app2</a>) then deploy to the root of a domain.  </p>
<p>Using the technique that I outlined above ensures that no matter hoy you develop/deploy the code it will always work.</p>
<p>Jim.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pavel</title>
		<link>http://www.jimohalloran.com/2007/09/21/codeigniter-and-external-resources/#comment-72637</link>
		<dc:creator>Pavel</dc:creator>
		<pubDate>Fri, 28 Sep 2007 04:24:40 +0000</pubDate>
		<guid>http://www.jimohalloran.com/2007/09/21/codeigniter-and-external-resources/#comment-72637</guid>
		<description>The most easiest way to fix this and not make code like hell with html mixed up with php echo is to use a relative path from the root of domain. 
Not  but .</description>
		<content:encoded><![CDATA[<p>The most easiest way to fix this and not make code like hell with html mixed up with php echo is to use a relative path from the root of domain.<br />
Not  but .</p>
]]></content:encoded>
	</item>
</channel>
</rss>

