<?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>Heather's Blog &#187; PHP</title>
	<atom:link href="http://www.heathersblog.com/tag/php/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.heathersblog.com</link>
	<description>I'm pleasantly plump, gay and crazy!</description>
	<lastBuildDate>Sat, 21 Aug 2010 05:23:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Random Image PHP Code</title>
		<link>http://www.heathersblog.com/2006/random-image-php-code/</link>
		<comments>http://www.heathersblog.com/2006/random-image-php-code/#comments</comments>
		<pubDate>Sat, 08 Apr 2006 19:37:48 +0000</pubDate>
		<dc:creator>Heather</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.heathersblog.com/2006/random-image-php-code/</guid>
		<description><![CDATA[This will display a random image on a web page. Images are selected from the folder of your choice. Create a php page with the following (making necessary changes) and upload to your server : &#60;?php // Change to the total number of images in the folder $total = &#8220;11&#8243;; // Type of files to [...]]]></description>
			<content:encoded><![CDATA[<p class='fb-like'><iframe src='http://www.facebook.com/plugins/like.php?href=http://www.heathersblog.com/2006/random-image-php-code/&amp;layout=button_count&amp;show_faces=true&amp;width=260&amp;action=like&amp;colorscheme=light' scrolling='no' frameborder='0' allowTransparency='true' style='border:none; overflow:hidden; width:260px; height:26px'></iframe></p><p> 	This will display a random image on a web page. Images are selected from the folder of your choice.</p>
<p>Create a <a href="http://www.php.net" class="ubernym uttInitialism" onmouseover="domTT_activate(this, event, 'content', 'PHP: Hypertext Preprocessor' );"><abbr class="uttInitialism">php</abbr></a> page with the following (making necessary changes) and upload to your server :</p>
<p>&#60;?php</p>
<p>// Change to the total number of images in the folder<br />
$total = &#8220;11&#8243;;</p>
<p>// Type of files to use eg. .jpg or .gif<br />
$file_type = &#8220;.jpg&#8221;;</p>
<p>// Change to the location of the folder with your images<br />
$image_folder = &#8220;images/random&#8221;;</p>
<p>// You do not need to edit below this line</p>
<p>$start = &#8220;1&#8243;;</p>
<p>$random = mt_rand($start, $total);</p>
<p>$image_name = $random . $file_type;</p>
<p>echo &#8220;&#60;img src=\&#8221;$image_folder/$image_name\&#8221; alt=\&#8221;$image_name\&#8221; />&#8221;;</p>
<p>?></p>
<p>Name your images 1.jpg, 2.jpg etc.</p>
<p>Add this line to your page where you want the images to appear:<br />
 &#60;?php include &#8220;randomimage.php&#8221;; ?></p>]]></content:encoded>
			<wfw:commentRss>http://www.heathersblog.com/2006/random-image-php-code/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>phpinfo()</title>
		<link>http://www.heathersblog.com/2006/phpinfo/</link>
		<comments>http://www.heathersblog.com/2006/phpinfo/#comments</comments>
		<pubDate>Sat, 18 Feb 2006 00:12:53 +0000</pubDate>
		<dc:creator>Heather</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.heathersblog.com/2006/phpinfo/</guid>
		<description><![CDATA[After having to use this again to get info on a clients server (nope unfortunately not all my clients host with me) I thought I would share for those who are not familiar with the use of it Because every system is setup differently, phpinfo() is commonly used to check configuration settings and for available [...]]]></description>
			<content:encoded><![CDATA[<p class='fb-like'><iframe src='http://www.facebook.com/plugins/like.php?href=http://www.heathersblog.com/2006/phpinfo/&amp;layout=button_count&amp;show_faces=true&amp;width=260&amp;action=like&amp;colorscheme=light' scrolling='no' frameborder='0' allowTransparency='true' style='border:none; overflow:hidden; width:260px; height:26px'></iframe></p><p> 	After having to use this again to get info on a clients server (nope unfortunately not all my clients host with me) I thought I would share for those who are not familiar with the use of it</p>
<p>Because every system is setup differently, phpinfo() is commonly used to check<br />
configuration settings and for available predefined variables on a given system. Also, phpinfo() is a valuable debugging tool as it contains all EGPCS (Environment, GET, POST, Cookie, Server) data. </p>
<p>drop the following in to a blank <a href="http://www.php.net" class="ubernym uttInitialism" onmouseover="domTT_activate(this, event, 'content', 'PHP: Hypertext Preprocessor' );"><abbr class="uttInitialism">php</abbr></a> file  and name it as you choose such as phpinfo.php and upload to your server.  Call this file from your browser yourdomain.com/phpinfo.php to get the results.  You can see mine <a href="http://www.graphic-horizons.com/info.php">here</a></p>
<p><code>&lt;?php</p>
<p>phpinfo() </p>
<p>?></code></p>]]></content:encoded>
			<wfw:commentRss>http://www.heathersblog.com/2006/phpinfo/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>PHP on the brain</title>
		<link>http://www.heathersblog.com/2006/php-on-the-brain/</link>
		<comments>http://www.heathersblog.com/2006/php-on-the-brain/#comments</comments>
		<pubDate>Fri, 20 Jan 2006 03:29:23 +0000</pubDate>
		<dc:creator>Heather</dc:creator>
				<category><![CDATA[The Geek in me!]]></category>
		<category><![CDATA[Funny]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.heathersblog.com/2006/php-on-the-brain/</guid>
		<description><![CDATA[This is stuff that you come up with when you work with code to much. You talk with your friends online like this echo 'Hey how ya doing'; instead of just Hey how ya doing... Or you feel the need to use &#8220;&#60;br /> tags instead of just hitting enter You find yourself &#8220;adding quotes&#8221; [...]]]></description>
			<content:encoded><![CDATA[<p class='fb-like'><iframe src='http://www.facebook.com/plugins/like.php?href=http://www.heathersblog.com/2006/php-on-the-brain/&amp;layout=button_count&amp;show_faces=true&amp;width=260&amp;action=like&amp;colorscheme=light' scrolling='no' frameborder='0' allowTransparency='true' style='border:none; overflow:hidden; width:260px; height:26px'></iframe></p><p> 	This is stuff that you come up with when you work with code to much.  </p>
<p>You talk with your friends online like this<br />
<code><br />
echo 'Hey how ya doing';<br />
instead of just Hey how ya doing...<br />
</code><br />
Or you feel the need to use &#8220;&lt;br /> tags instead of just hitting enter </p>
<p>You find yourself &#8220;adding quotes&#8221; around things for no reason</p>
<p>You ask a question and automatically type ?> instead of just ?</p>
<p>Here is some more&#8230;. </p>
<p><a href="http://www.whereisjennifer.com"><a target="_blank" href="http://www.whereisjennifer.com"><span class="ubernym uttAbbreviation" onmouseover="domTT_activate(this, event, 'content', 'A True Travel Diva','caption', 'One of my best friends' );"><abbr class="uttAbbreviation">Jeni</abbr></span></a> </a>could you imagine if i wrote my emails to you like this<br />
<code><br />
&lt;?php<br />
$to = '<span class="ubernym uttAbbreviation" onmouseover="domTT_activate(this, event, 'content', 'A True Travel Diva','caption', 'One of my best friends' );"><abbr class="uttAbbreviation">Jeni</abbr></span>';<br />
$from = 'Heather';<br />
echo date("F j, Y");<br />
echo "&lt;br />&lt;br />Dear $to, &lt;br />";<br />
echo "How are you doing these days? &lt;br />";<br />
echo "&lt;br />With Love,&lt;br /> $from";<br />
?></code><br />
You can see the output of the above <a href="http://www.heathersblog.com/letter.php">here </a></p>
<p>This is pretty funny <a href="http://www.php.net" class="ubernym uttInitialism" onmouseover="domTT_activate(this, event, 'content', 'PHP: Hypertext Preprocessor' );"><abbr class="uttInitialism">php</abbr></a> humor here but please be warned the follow is not really appropriate &#8230;</p>
<p>First one real basic<br />
<code> if($coding >= $good_sex)<br />
{<br />
        $you = 'nerd';<br />
}<br />
</code></p>
<p>Then you have stuff like this</p>
<p><code> $name = 'Heather';<br />
if($name == 'Balagh')<br />
{<br />
        $nerd = true;<br />
}<br />
else if($name = 'Heather')<br />
{<br />
        $time['food'] = 1;<br />
        $time['sex'] = 2;<br />
        $time['coding'] = 3; </p>
<p>        asort($time); </p>
<p>        $c = 0;<br />
        foreach($time AS $preference)<br />
        {<br />
                $c++;<br />
                echo 'PREFERENCE (IN ORDER)<br />';<br />
                echo $c . '/ ' . $preference;<br />
        } </p>
<p>        $nerd = false;<br />
}  </code></p>
<p>Then you can get a little more nasty with this </p>
<p><code>foreach ($thrust as $sounds)<br />
{<br />
    $DB_site->query("INSERT INTO woman (`item`) VALUES<br />
         ('male_genitalia'),<br />
         ('dildo'),<br />
         ('other_toys'),<br />
         ('fingers')<br />
     ");<br />
     echo $sounds;<br />
}  </code></p>]]></content:encoded>
			<wfw:commentRss>http://www.heathersblog.com/2006/php-on-the-brain/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>My list of must have programs</title>
		<link>http://www.heathersblog.com/2006/my-list-of-must-have-programs/</link>
		<comments>http://www.heathersblog.com/2006/my-list-of-must-have-programs/#comments</comments>
		<pubDate>Sat, 14 Jan 2006 18:02:01 +0000</pubDate>
		<dc:creator>Heather</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Browsers]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Dreamweaver]]></category>
		<category><![CDATA[FTP]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Programs]]></category>

		<guid isPermaLink="false">http://www.heathersblog.com/2006/my-list-of-must-have-programs/</guid>
		<description><![CDATA[Here is my list of MUST HAVE programs as a designer/programmer Macromedia Dreamweaver (not in designer view lol) Macromedia Flash Araxis Merge (great for code comparison) Antechinus JavaScript (a great javascrpt editor) Topstyle (great for CSS (Cascading Style Sheets)) FileZilla (or any decent ftp client) All Internet Browsers ( Mainly IE, Firefox, Opera) Photoshop Illustrator [...]]]></description>
			<content:encoded><![CDATA[<p class='fb-like'><iframe src='http://www.facebook.com/plugins/like.php?href=http://www.heathersblog.com/2006/my-list-of-must-have-programs/&amp;layout=button_count&amp;show_faces=true&amp;width=260&amp;action=like&amp;colorscheme=light' scrolling='no' frameborder='0' allowTransparency='true' style='border:none; overflow:hidden; width:260px; height:26px'></iframe></p><p> 	Here is my list of MUST HAVE programs as a designer/programmer</p>
<p>Macromedia Dreamweaver (not in designer view lol)<br />
Macromedia Flash<br />
Araxis Merge (great for code comparison)<br />
Antechinus JavaScript (a great javascrpt editor)<br />
Topstyle (great for <span class="ubernym uttInitialism" onmouseover="domTT_activate(this, event, 'content', 'Cascading Style Sheets (&lt;a href=&quot;http://www.w3.org/Style/CSS/&quot;&gt;link&lt;/a&gt;)' );"><abbr class="uttInitialism">CSS</abbr></span> (Cascading Style Sheets))<br />
FileZilla (or any decent ftp client)<br />
All Internet Browsers ( Mainly IE, Firefox, Opera)<br />
Photoshop<br />
Illustrator</p>
<p>And of course the most important  a great media player with lots of tunes with lots of coffee, sugar and creamer at your side to keep yourself going&#8230;</p>
<p>Know of a great program for me to check out, leave me a comment</p>]]></content:encoded>
			<wfw:commentRss>http://www.heathersblog.com/2006/my-list-of-must-have-programs/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>In one years time&#8230;</title>
		<link>http://www.heathersblog.com/2006/in-one-years-time/</link>
		<comments>http://www.heathersblog.com/2006/in-one-years-time/#comments</comments>
		<pubDate>Mon, 02 Jan 2006 06:10:38 +0000</pubDate>
		<dc:creator>Heather</dc:creator>
				<category><![CDATA[Work]]></category>
		<category><![CDATA[Database]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[Dreamweaver]]></category>
		<category><![CDATA[Frontpage]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.heathersblog.com/?p=5</guid>
		<description><![CDATA[In December of 2004 I started to play around with a forum.  At the time I knew nothing about how to install them or anything related to them.  I barely knew how to use them.  Shortly after using an automatic feature to install my forum.  I had people tell me that I should convert my forum to a [...]]]></description>
			<content:encoded><![CDATA[<p class='fb-like'><iframe src='http://www.facebook.com/plugins/like.php?href=http://www.heathersblog.com/2006/in-one-years-time/&amp;layout=button_count&amp;show_faces=true&amp;width=260&amp;action=like&amp;colorscheme=light' scrolling='no' frameborder='0' allowTransparency='true' style='border:none; overflow:hidden; width:260px; height:26px'></iframe></p><p> 	In December of 2004 I started to play around with a forum.  At the time I knew nothing about how to install them or anything related to them.  I barely knew how to use them. </p>
<p>Shortly after using an automatic feature to install my forum.  I had people tell me that I should convert my forum to a better script (forum).  I had no idea what to do.  I read the instructions but it totally confused the heck out of me.  I finally got it done, and it shocked the heck out of me.  Then I had people saying that I should install modifications to the forum to give it extra features.  That is what really confused me.  It was a totally different language for me.  Yes it tells you in the modifications to look for this and add or replace with that.  But I still just didn&#8217;t get it.</p>
<p>I then met a guy from Canada on phpbb.com named <a target="_blank" href="http://www.indie.cc">Indie</a> (David).  He was nice enough to try to explain it to me but I still  could not grasp it.  He then went ahead and installed the modifications working hours with me on things.  After hours of talking to him, asking a billion and one questions and looking at what he did I slowly started to understand the process of adding modifications to forums, even though I still didn&#8217;t understand how the code worked.  Anyhow it became very addicting, I was always on the endless search for the coolest and newest mods.</p>
<p>I soon started to learn how to install scripts on my own.  And after hours and hours of staring at the <a href="http://www.php.net" class="ubernym uttInitialism" onmouseover="domTT_activate(this, event, 'content', 'PHP: Hypertext Preprocessor' );"><abbr class="uttInitialism">PHP</abbr></a> Language it started to make since to me.  Something that before looked like alot of numbers, odd characters, and unknown words all now automatically gets translated in my head.</p>
<p>So in one years time I went from using MS Frontpage WYSWYG (what you see what you get) editor to design websites (im so ashamed of my self for using it), not knowing anything about <a href="http://www.php.net" class="ubernym uttInitialism" onmouseover="domTT_activate(this, event, 'content', 'PHP: Hypertext Preprocessor' );"><abbr class="uttInitialism">php</abbr></a> or databases.  To creating/writing websites in code view with Dreamweaver and editing just about any <a href="http://www.php.net" class="ubernym uttInitialism" onmouseover="domTT_activate(this, event, 'content', 'PHP: Hypertext Preprocessor' );"><abbr class="uttInitialism">php</abbr></a> script to do what i want.  Of course some still requires the assistance of my friend <a target="_blank" href="http://www.indie.cc">Indie</a>.</p>
<p>I have total faith in my self that in another year I will be creating my own scripts and databases from scratch.  Ohh yea if your wondering about <a target="_blank" href="http://www.indie.cc">Indie</a>, he is now one of my best friends online.  We talk just about everyday for hours&#8230;..Thanks <a target="_blank" href="http://www.indie.cc">Indie</a>&#8230;.</p>
<p>And of course I say thanks to my husband for him dealing with my obsession to learn this and letting me be online constantly.  I love you..</p>]]></content:encoded>
			<wfw:commentRss>http://www.heathersblog.com/2006/in-one-years-time/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
