<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Diving into PHP: Day 9</title>
	<atom:link href="http://blog.themeforest.net/screencasts/diving-into-php-day-9/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.themeforest.net/screencasts/diving-into-php-day-9/</link>
	<description>The ThemeForest Blog</description>
	<lastBuildDate>Fri, 18 Dec 2009 19:09:10 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Kevin</title>
		<link>http://blog.themeforest.net/screencasts/diving-into-php-day-9/comment-page-1/#comment-22717</link>
		<dc:creator>Kevin</dc:creator>
		<pubDate>Fri, 04 Sep 2009 02:34:08 +0000</pubDate>
		<guid isPermaLink="false">http://blog.themeforest.net/?p=1368#comment-22717</guid>
		<description>This is still the best way to learn PHP. Great job Jeff.</description>
		<content:encoded><![CDATA[<p>This is still the best way to learn PHP. Great job Jeff.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sharath</title>
		<link>http://blog.themeforest.net/screencasts/diving-into-php-day-9/comment-page-1/#comment-17524</link>
		<dc:creator>sharath</dc:creator>
		<pubDate>Wed, 22 Jul 2009 04:06:31 +0000</pubDate>
		<guid isPermaLink="false">http://blog.themeforest.net/?p=1368#comment-17524</guid>
		<description>Hi 

Really nice tutorials...... thanks for all the tuts Jeff! :)</description>
		<content:encoded><![CDATA[<p>Hi </p>
<p>Really nice tutorials&#8230;&#8230; thanks for all the tuts Jeff! <img src='http://blog.themeforest.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anon N</title>
		<link>http://blog.themeforest.net/screencasts/diving-into-php-day-9/comment-page-1/#comment-16805</link>
		<dc:creator>Anon N</dc:creator>
		<pubDate>Thu, 16 Jul 2009 03:59:25 +0000</pubDate>
		<guid isPermaLink="false">http://blog.themeforest.net/?p=1368#comment-16805</guid>
		<description>If you are having problems setting the cookie, and you are using localhost and apache, here is the format that seems to work:

setcookie(&quot;username&quot;, &quot;George&quot;, false, &quot;/&quot;, false);

This was found on the following blog: of http://www.aeonity.com/frost/php-setcookie-localhost-apache</description>
		<content:encoded><![CDATA[<p>If you are having problems setting the cookie, and you are using localhost and apache, here is the format that seems to work:</p>
<p>setcookie(&#8220;username&#8221;, &#8220;George&#8221;, false, &#8220;/&#8221;, false);</p>
<p>This was found on the following blog: of <a href="http://www.aeonity.com/frost/php-setcookie-localhost-apache" rel="nofollow">http://www.aeonity.com/frost/php-setcookie-localhost-apache</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve T</title>
		<link>http://blog.themeforest.net/screencasts/diving-into-php-day-9/comment-page-1/#comment-15210</link>
		<dc:creator>Steve T</dc:creator>
		<pubDate>Wed, 01 Jul 2009 23:54:06 +0000</pubDate>
		<guid isPermaLink="false">http://blog.themeforest.net/?p=1368#comment-15210</guid>
		<description>@ Kevin

I had the same problem, turns out I was viewing my php file in the various web browsers through my file system, rather than via mamp (or wamp if you&#039;re on windows).

check your browsing to your file via http://localhost/... or whatever your local webserver address is, rather than file://volumes/...

at least thats what I was doing wrong, and it sorted it for me.</description>
		<content:encoded><![CDATA[<p>@ Kevin</p>
<p>I had the same problem, turns out I was viewing my php file in the various web browsers through my file system, rather than via mamp (or wamp if you&#8217;re on windows).</p>
<p>check your browsing to your file via <a href="http://localhost/.." rel="nofollow">http://localhost/..</a>. or whatever your local webserver address is, rather than file://volumes/&#8230;</p>
<p>at least thats what I was doing wrong, and it sorted it for me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Zee</title>
		<link>http://blog.themeforest.net/screencasts/diving-into-php-day-9/comment-page-1/#comment-12394</link>
		<dc:creator>Zee</dc:creator>
		<pubDate>Tue, 02 Jun 2009 19:12:12 +0000</pubDate>
		<guid isPermaLink="false">http://blog.themeforest.net/?p=1368#comment-12394</guid>
		<description>second problem is cookies are not save in my explor</description>
		<content:encoded><![CDATA[<p>second problem is cookies are not save in my explor</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Zee</title>
		<link>http://blog.themeforest.net/screencasts/diving-into-php-day-9/comment-page-1/#comment-12393</link>
		<dc:creator>Zee</dc:creator>
		<pubDate>Tue, 02 Jun 2009 18:58:57 +0000</pubDate>
		<guid isPermaLink="false">http://blog.themeforest.net/?p=1368#comment-12393</guid>
		<description>i have some problem with out 




	$(function() {
		$(&#039;#box&#039;).click(function() {
			$(this).fadeOut(600, function() {
				$(this).remove();
			});
		});
	});


THIS CODE I GET LAST LINE ERROR &amp; THAT IS 

WHAT CAN IDO?</description>
		<content:encoded><![CDATA[<p>i have some problem with out </p>
<p>	$(function() {<br />
		$(&#8216;#box&#8217;).click(function() {<br />
			$(this).fadeOut(600, function() {<br />
				$(this).remove();<br />
			});<br />
		});<br />
	});</p>
<p>THIS CODE I GET LAST LINE ERROR &amp; THAT IS </p>
<p>WHAT CAN IDO?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kevin Kirsche</title>
		<link>http://blog.themeforest.net/screencasts/diving-into-php-day-9/comment-page-1/#comment-10580</link>
		<dc:creator>Kevin Kirsche</dc:creator>
		<pubDate>Sun, 17 May 2009 21:32:33 +0000</pubDate>
		<guid isPermaLink="false">http://blog.themeforest.net/?p=1368#comment-10580</guid>
		<description>Hey, I&#039;m having a problem with the HereDoc at [time 7:00 - 8:00 minutes into the video]. When testing the site shows :

Welcome to my site. Please take a look around and subscibe! EOT; setcookie(&#039;myCookie&#039;, 1, time()*7*365); } else { $welcome = &quot;Welcome back!&quot;; } ?&gt; 

My code is:
&lt;?php
if(!isset($_COOKIE[&#039;myCookie&#039;])) {
$welcome = &lt;&lt;&lt;EOT

Welcome to my site. Please take a look around and subscibe!

EOT;

setcookie(&#039;myCookie&#039;, 1, time()*7*365);
}
else {
	$welcome = &quot;Welcome back!&quot;;
}

?&gt;

Anyone out there know whats wrong?</description>
		<content:encoded><![CDATA[<p>Hey, I&#8217;m having a problem with the HereDoc at [time 7:00 - 8:00 minutes into the video]. When testing the site shows :</p>
<p>Welcome to my site. Please take a look around and subscibe! EOT; setcookie(&#8216;myCookie&#8217;, 1, time()*7*365); } else { $welcome = &#8220;Welcome back!&#8221;; } ?&gt; </p>
<p>My code is:<br />
&lt;?php<br />
if(!isset($_COOKIE['myCookie'])) {<br />
$welcome = &lt;&lt;&lt;EOT</p>
<p>Welcome to my site. Please take a look around and subscibe!</p>
<p>EOT;</p>
<p>setcookie(&#8216;myCookie&#8217;, 1, time()*7*365);<br />
}<br />
else {<br />
	$welcome = &#8220;Welcome back!&#8221;;<br />
}</p>
<p>?&gt;</p>
<p>Anyone out there know whats wrong?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Arturo</title>
		<link>http://blog.themeforest.net/screencasts/diving-into-php-day-9/comment-page-1/#comment-9063</link>
		<dc:creator>Arturo</dc:creator>
		<pubDate>Wed, 22 Apr 2009 22:19:43 +0000</pubDate>
		<guid isPermaLink="false">http://blog.themeforest.net/?p=1368#comment-9063</guid>
		<description>I am extremely thankful for these tutorials, they could not have come at a better time.  I started a new position and our company is gearing towards web applications, these tutorials are helping me get a head start towards completing future tasks.  Thank you.</description>
		<content:encoded><![CDATA[<p>I am extremely thankful for these tutorials, they could not have come at a better time.  I started a new position and our company is gearing towards web applications, these tutorials are helping me get a head start towards completing future tasks.  Thank you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Travis</title>
		<link>http://blog.themeforest.net/screencasts/diving-into-php-day-9/comment-page-1/#comment-7683</link>
		<dc:creator>Travis</dc:creator>
		<pubDate>Thu, 26 Mar 2009 04:39:38 +0000</pubDate>
		<guid isPermaLink="false">http://blog.themeforest.net/?p=1368#comment-7683</guid>
		<description>Hey Jeff, just wanted to stop in and say that these are by far - the best PHP tutorials for beginners that I&#039;ve ever seen, plus they&#039;re in screencast format no less, which is great.

I did have one question though - I was trying to implement your &quot;passing variables from 1 page to another&quot; tutorial with this one. &quot;Index.php&quot; requires the user to input his/her name before continuing to the dummy text page. It either says &quot;Welcome to the site Travis, have a look around&quot; or if they&#039;ve already been there - &quot;Welcome back Travis&quot;. That part works like a charm, the problem I&#039;m having is if I close the page out and reopen the main.php (The file with all of the cookie PHP), I get an error about an Undefined Index. I&#039;ve changed $_GET to $_POST so you can&#039;t see it in the address bar, but does the cookie not save the $_POST variable and recall it if the user goes back to the site after closing the browser window? Any help would be much appreciated. Thanks so much in advance.</description>
		<content:encoded><![CDATA[<p>Hey Jeff, just wanted to stop in and say that these are by far &#8211; the best PHP tutorials for beginners that I&#8217;ve ever seen, plus they&#8217;re in screencast format no less, which is great.</p>
<p>I did have one question though &#8211; I was trying to implement your &#8220;passing variables from 1 page to another&#8221; tutorial with this one. &#8220;Index.php&#8221; requires the user to input his/her name before continuing to the dummy text page. It either says &#8220;Welcome to the site Travis, have a look around&#8221; or if they&#8217;ve already been there &#8211; &#8220;Welcome back Travis&#8221;. That part works like a charm, the problem I&#8217;m having is if I close the page out and reopen the main.php (The file with all of the cookie PHP), I get an error about an Undefined Index. I&#8217;ve changed $_GET to $_POST so you can&#8217;t see it in the address bar, but does the cookie not save the $_POST variable and recall it if the user goes back to the site after closing the browser window? Any help would be much appreciated. Thanks so much in advance.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ingo</title>
		<link>http://blog.themeforest.net/screencasts/diving-into-php-day-9/comment-page-1/#comment-7551</link>
		<dc:creator>Ingo</dc:creator>
		<pubDate>Tue, 24 Mar 2009 12:48:21 +0000</pubDate>
		<guid isPermaLink="false">http://blog.themeforest.net/?p=1368#comment-7551</guid>
		<description>Very nice Tutorials, i really enjoy learning php now.</description>
		<content:encoded><![CDATA[<p>Very nice Tutorials, i really enjoy learning php now.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.070 seconds -->
