<?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>Joel Francisco &#187; Web Development Tips</title>
	<atom:link href="http://www.joelfrancisco.com/category/web-development-tips/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.joelfrancisco.com</link>
	<description>geek stories and photography misadventures</description>
	<lastBuildDate>Thu, 22 Dec 2011 20:06:48 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Lightbox JS</title>
		<link>http://www.joelfrancisco.com/2008/10/16/lightbox-js/</link>
		<comments>http://www.joelfrancisco.com/2008/10/16/lightbox-js/#comments</comments>
		<pubDate>Thu, 16 Oct 2008 15:26:41 +0000</pubDate>
		<dc:creator>Joel</dc:creator>
				<category><![CDATA[Web Development Tips]]></category>

		<guid isPermaLink="false">http://joelfrancisco.net/index.php?/archives/29-guid.html</guid>
		<description><![CDATA[Ever wondered how thumbnail pictures when clicked turns the whole background dark and the picture appears with a fade , transforming effect while the picture grows to its bigger size??? Then you are looking for a Lightbox JS DHTML! It has been around for a while and has been used  by alot of web designers [...]]]></description>
			<content:encoded><![CDATA[<p><font face="tahoma,arial,helvetica,sans-serif">
<p>Ever wondered how thumbnail pictures when clicked turns the whole background dark and the picture appears with a fade , transforming effect while the picture grows to its bigger size??? Then you are looking for a Lightbox JS DHTML! It has been around for a while and has been used  by alot of web designers already. </p>
<p>To know more about it visit DynamicDrive.com at this URL:</p>
<p><a href="http://www.dynamicdrive.com/dynamicindex4/lightbox2/index.htm" target="_blank" title="Lightbox page">http://www.dynamicdrive.com/dynamicindex4/lightbox2/index.htm</a></p>
<p></font></p>
]]></content:encoded>
			<wfw:commentRss>http://www.joelfrancisco.com/2008/10/16/lightbox-js/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Password Protect a page using .HTACCESS</title>
		<link>http://www.joelfrancisco.com/2008/07/17/password-protect-a-page-using-htaccess/</link>
		<comments>http://www.joelfrancisco.com/2008/07/17/password-protect-a-page-using-htaccess/#comments</comments>
		<pubDate>Thu, 17 Jul 2008 21:17:02 +0000</pubDate>
		<dc:creator>Joel</dc:creator>
				<category><![CDATA[Web Development Tips]]></category>

		<guid isPermaLink="false">http://joelfrancisco.net/index.php?/archives/18-guid.html</guid>
		<description><![CDATA[This is not actually a PHP code or command but since you have reached this article it simply means you are into PHP Programming&#8230;&#8230;&#8230;and since Apache is THE webserver mostly used for open source web programming then might as well put this article on the PHP Basics Category. So you want the easiest way to [...]]]></description>
			<content:encoded><![CDATA[<p></p>
<p>
</p>
<div align="left"><font face="tahoma,arial,helvetica,sans-serif">This is not actually a PHP code or command but since you have reached this article it simply means you are into PHP Programming&#8230;&#8230;&#8230;and since Apache is THE webserver mostly used for open source web programming then might as well put this article on the PHP Basics Category.</font></p>
<p><font face="tahoma,arial,helvetica,sans-serif">So you want the easiest way to password protect your pages or perhaps the whole web folder by giving someone a username and a password to access a certain content or a web page. Ok so what do you need??</font></p>
<p><font face="tahoma,arial,helvetica,sans-serif">1. Make sure your using Apache Web Server (im not sure if this works in IIS)</font><br /><font face="tahoma,arial,helvetica,sans-serif">2. .htaccess file (should be located in the folder where the pages you want to protect is)</font><br /><font face="tahoma,arial,helvetica,sans-serif">3. .htpasswd file (should be located somewhere in the webserver, just so you know where you saved it)</font></p>
<p><font face="tahoma,arial,helvetica,sans-serif"><b>STEPS:</b></font></p>
<p><font face="tahoma,arial,helvetica,sans-serif">1. Create a .htaccess file or htaccess.txt (since you might have some problems when doing this with MS Windows)</font><br /><font face="tahoma,arial,helvetica,sans-serif">2. Put this in your .htaccess file:</font></p>
<p><font face="tahoma,arial,helvetica,sans-serif"><font face="courier new,courier,monospace">AuthName &amp;quot;LOGIN WINDOW NAME&amp;quot;</font></font><br /><font face="tahoma,arial,helvetica,sans-serif"><font face="courier new,courier,monospace">AuthType Basic</font></font><br /><font face="tahoma,arial,helvetica,sans-serif"><font face="courier new,courier,monospace">AuthUserFile /folderwhereyourpasswordislocated/.htpasswd</font></font><br /><font face="tahoma,arial,helvetica,sans-serif"><font face="courier new,courier,monospace">require valid-user</font></font></p>
<p><font face="tahoma,arial,helvetica,sans-serif">3. Edit 1st line with whatever you want to call it</font><br /><font face="tahoma,arial,helvetica,sans-serif">4. Edit 3rd line where the .htpasswd will be located (which is somewhere in your web server). Dont change anything anymore on the .htaccess file</font><br /><font face="tahoma,arial,helvetica,sans-serif">5. Upload the .htacess file or your htaccess.txt on your web server where you want to password protect a page (e.g. /public_html/secretpage/)</font><br /><font face="tahoma,arial,helvetica,sans-serif">6. In case you save it to htaccess.txt Rename htaccess.txt to .htaccess using your favorite ftp application (usually you highlight it, right click, then rename) . If not go to Step 7.</font><br /><font face="tahoma,arial,helvetica,sans-serif">7. Create your .htpasswd file or htpasswd.txt</font><br /><font face="tahoma,arial,helvetica,sans-serif">8. Generate the .htpasswd contents by going here: <a href="http://www.advancehost.com/htpasswd.html">http://www.advancehost.com/htpasswd.html</a> or look for HTPASSWD GENERATOR in Google</font><br /><font face="tahoma,arial,helvetica,sans-serif">9. Fill the form and click submit</font><br /><font face="tahoma,arial,helvetica,sans-serif">10. It will have something like this: (i entered username: user password: pass)</font></p>
<p><font face="tahoma,arial,helvetica,sans-serif">Success!</font></p>
<p><font face="tahoma,arial,helvetica,sans-serif">Here is your crypted password. Copy and paste the output to your htpasswd file:</font></p>
<p><font face="tahoma,arial,helvetica,sans-serif">user:pauONM/HSu9pM (this is just an example)</font></p>
<p><font face="tahoma,arial,helvetica,sans-serif">11. Copy/paste <b>user:pauONM/HSu9pM </b>to .htpasswd then save</font><br /><font face="tahoma,arial,helvetica,sans-serif">12. Upload .htpasswd to the location you put on step no. 4</font><br /><font face="tahoma,arial,helvetica,sans-serif">13. Test it! Voila your page is protected!</font></div>
]]></content:encoded>
			<wfw:commentRss>http://www.joelfrancisco.com/2008/07/17/password-protect-a-page-using-htaccess/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP Redirect Page</title>
		<link>http://www.joelfrancisco.com/2008/07/17/php-redirect-page/</link>
		<comments>http://www.joelfrancisco.com/2008/07/17/php-redirect-page/#comments</comments>
		<pubDate>Thu, 17 Jul 2008 19:22:08 +0000</pubDate>
		<dc:creator>Joel</dc:creator>
				<category><![CDATA[Web Development Tips]]></category>

		<guid isPermaLink="false">http://joelfrancisco.net/index.php?/archives/17-guid.html</guid>
		<description><![CDATA[Been busy lately. But I would just like to share some useful PHP basics (to all wannabe nerds out there) and also to make this site a little more useful to others, that is why i have a new category just for this epiphany. Ok here we go: PHP: How to Redirect a Page (to [...]]]></description>
			<content:encoded><![CDATA[<p>
<font face="tahoma,arial,helvetica,sans-serif">
<p>Been busy lately. But I would just like to share some useful PHP basics (to all wannabe nerds out there) and also to make this site a little more useful to others, that is why i have a new category just for this epiphany. Ok here we go:</p>
<p><b>PHP: How to Redirect a Page (to somewhere other than that page)</b></p>
<p>Just put this code before the &amp;lt;html&amp;gt; tag and edit the blue colored text as you like:</p>
<p><font face="courier new,courier,monospace">&amp;lt;?php</p>
<p>   header( &#039;Location: <font color="#000099">http://www.domain.com/new_page.html</font>&#039; ) ;</p>
<p>?&amp;gt;</font></p>
<p><font>We usually redirect a page if we just don&#039;t want it to go to the page where its suppose to go&#8230;..weird&#8230; anyway i find it very useful.<br />Cheers!</font></p>
<p><font face="courier new,courier,monospace"></font></p>
<p></font></p>
]]></content:encoded>
			<wfw:commentRss>http://www.joelfrancisco.com/2008/07/17/php-redirect-page/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

