<?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>withinweb &#187; PHP-KeyCodes</title>
	<atom:link href="http://www.withinweb.com/info/category/php-keycodes/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.withinweb.com/info</link>
	<description>Information and support for products of withinweb.com</description>
	<lastBuildDate>Sun, 11 Dec 2011 09:05:21 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>EasyPHP on Windows 7</title>
		<link>http://www.withinweb.com/info/2011/11/07/easyphp-on-windows-7-4/</link>
		<comments>http://www.withinweb.com/info/2011/11/07/easyphp-on-windows-7-4/#comments</comments>
		<pubDate>Mon, 07 Nov 2011 07:09:55 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[General PHP]]></category>
		<category><![CDATA[PHP-KeyCodes]]></category>
		<category><![CDATA[PHP-SecureArea]]></category>
		<category><![CDATA[PHP-eSeller]]></category>

		<guid isPermaLink="false">http://www.withinweb.com/info/?p=602</guid>
		<description><![CDATA[EasyPHP is an application that you install on your Windows computer which you can use as a development system for PHP / Apache and mySQL databases.
It can be downloaded form http://www.easyphp.org/ and I find it a very good way to develop applications using PHP on my Windows computer.
EasyPHP contains a single exectuable which when run, [...]]]></description>
			<content:encoded><![CDATA[<p>EasyPHP is an application that you install on your Windows computer which you can use as a development system for PHP / Apache and mySQL databases.</p>
<p>It can be downloaded form http://www.easyphp.org/ and I find it a very good way to develop applications using PHP on my Windows computer.</p>
<p>EasyPHP contains a single exectuable which when run, installs PHP, Apache web server and a mySQL database onto your Windows computer.  All very neat and convenient to use.</p>
<p>However, when I tried to install on Windows 7 I came across a number of issues with Apache and with mySQL.</p>
<p>When I launched the software, Apache wouldn’t start.  Here is the error :</p>
<p>Apache cannot run: another Web server is using the Web port or port is blocked by firewall.</p>
<p>To overcome this issue :</p>
<p>1. Click the EasyPHP icon beside the “Apache” button.<br />
2. Click “Configure” then click “EasyPHP“.<br />
3. Uncheck “Check server’s TCP port before starting” then click “Apply” button and then “Close” button.<br />
4. Click “Apache” button and then click “Start“.</p>
<p>That fixes the “Apache cannot run…” problem.</p>
<p>The above gets the Apache server to work but after I closed EasyPHP and ran it again, I got this second error message :</p>
<p>Unexpected end of MySql&#8230; See log file?</p>
<p>This is a mySQL error message and is actually a file permission problem.</p>
<p>So I changed the user permission for the EasyPHP directory and mySQL correctly started.</p>
<p>To set your permissions this is what you do :</p>
<p>1. Open and view Drive C using the windows explorer, then double click “Program Files&#8221; assuming that you installed EasyPHP in that folder.<br />
2. Right click on the folder where you installed EasyPHP then click “Properties“.<br />
3. On “Security” tab click “Edit…” button.<br />
4. Select the user that you are currently using.  This will probably be something like &#8220;Users (computer name)&#8221;<br />
5. Under “Permissions for Users” box, tick “Full control” on “Allow” column.<br />
6. And then click “OK” button to apply the changes.</p>
<p>Now you should be able to start mySQL server by clicking “mySQL” button on EasyPHP dialog and then click “Start“.  Or shut down EasyPHP and restart it again.</p>
<p>Hopefully that will solve issues when working with Windows 7 and EasyPHP.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.withinweb.com/info/2011/11/07/easyphp-on-windows-7-4/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using different currencies in PayPal</title>
		<link>http://www.withinweb.com/info/2011/11/04/using-different-currencies-in-paypal/</link>
		<comments>http://www.withinweb.com/info/2011/11/04/using-different-currencies-in-paypal/#comments</comments>
		<pubDate>Fri, 04 Nov 2011 13:20:02 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP-KeyCodes]]></category>
		<category><![CDATA[PHP-SecureArea]]></category>
		<category><![CDATA[PHP-eSeller]]></category>
		<category><![CDATA[SOE]]></category>

		<guid isPermaLink="false">http://www.withinweb.com/info/?p=587</guid>
		<description><![CDATA[What currency should you sell your products in ? 
PayPal is able to handle quite a wide range of currencies and you have to descide which currency you should sell your products in. 
I guess the question really is &#8220;are you selling to the world or are you expecting payments from customers who are based in your [...]]]></description>
			<content:encoded><![CDATA[<p>What currency should you sell your products in ? </p>
<p>PayPal is able to handle quite a wide range of currencies and you have to descide which currency you should sell your products in. </p>
<p>I guess the question really is &#8220;are you selling to the world or are you expecting payments from customers who are based in your locality ?&#8221;  This will depend on the type of products you are selling.  Digital products have the advantage that you have no shipping to worry about so you can choose whatever currency you want. </p>
<p>The only issue that I have discovered with selling in different currencies is to do with the set up of your associated PayPal account. If your &#8216;native&#8217; PayPal currency is GPB and you want to sell in Euros, you have to tell PayPal to automatically accept &#8216;foreign&#8217; currency transactions (the default is to ask).  If you do not do this and you receive a purchase through your shopping cart you will receive an email saying something like &#8220;PayPal purchase verified and order is waiting to be processed&#8221; with body text of :  &#8220;Unknown pending reason was received.&#8221;<br />
 <br />
Telling PayPal to accept all currencies and convert them to GPB resolves the issue.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.withinweb.com/info/2011/11/04/using-different-currencies-in-paypal/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Restoring Your mySQL Database From Backup using phpMyAdmin</title>
		<link>http://www.withinweb.com/info/2010/01/25/restoring-your-mysql-database-from-backup-using-phpmyadmin/</link>
		<comments>http://www.withinweb.com/info/2010/01/25/restoring-your-mysql-database-from-backup-using-phpmyadmin/#comments</comments>
		<pubDate>Mon, 25 Jan 2010 21:34:42 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP-KeyCodes]]></category>
		<category><![CDATA[PHP-SecureArea]]></category>
		<category><![CDATA[PHP-eSeller]]></category>
		<category><![CDATA[SQL databases]]></category>

		<guid isPermaLink="false">http://www.withinweb.com/info/?p=444</guid>
		<description><![CDATA[phpMyAdmin is a program used to manipulate databases remotely through a web interface. A good hosting package will have this included.

 Login to phpMyAdmin.
Create a new blank database first.
 Click databases, and select the database that you will be importing your data into.
 Across the top of the screen will be a row of tabs. [...]]]></description>
			<content:encoded><![CDATA[<p>phpMyAdmin is a program used to manipulate databases remotely through a web interface. A good hosting package will have this included.</p>
<ol>
<li> Login to phpMyAdmin.</li>
<li>Create a new blank database first.</li>
<li> Click databases, and select the database that you will be importing your data into.</li>
<li> Across the top of the screen will be a row of tabs.  Click the <strong>Import</strong> tab.</li>
<li> On the next screen will be a Location of Text File box, and next to that a button named <strong>Browse</strong>.</li>
<li> Click <strong>Browse</strong>.  Locate the backup file stored on your computer.</li>
<li> Make sure the <strong>SQL</strong> radio button is checked.</li>
<li> Click the <strong>Go</strong> button.</li>
</ol>
<p>Eventually you will see a success screen.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.withinweb.com/info/2010/01/25/restoring-your-mysql-database-from-backup-using-phpmyadmin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Backing up a database using phpMyAdmin</title>
		<link>http://www.withinweb.com/info/2010/01/25/backing-up-a-database-using-phpmyadmin/</link>
		<comments>http://www.withinweb.com/info/2010/01/25/backing-up-a-database-using-phpmyadmin/#comments</comments>
		<pubDate>Mon, 25 Jan 2010 21:30:19 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP-KeyCodes]]></category>
		<category><![CDATA[PHP-SecureArea]]></category>
		<category><![CDATA[PHP-eSeller]]></category>
		<category><![CDATA[SQL databases]]></category>

		<guid isPermaLink="false">http://www.withinweb.com/info/?p=409</guid>
		<description><![CDATA[This desciption is applicable to all the applications PHP-eSeller, PHP-SecureArea and PHP-KeyCodes.
You should backup your database at regular intervals. You will then be able to restore the database if something goes wrong.
phpMyAdmin is the name of the program that you can use to manipulate databases.  It is usually provided as part of you control panel [...]]]></description>
			<content:encoded><![CDATA[<p>This desciption is applicable to all the applications PHP-eSeller, PHP-SecureArea and PHP-KeyCodes.</p>
<p>You should backup your database at regular intervals. You will then be able to restore the database if something goes wrong.</p>
<p>phpMyAdmin is the name of the program that you can use to manipulate databases.  It is usually provided as part of you control panel from your hosting company.</p>
<p>1.  Log into your web server control panel to access phpMyAdmin</p>
<p>2. Select &#8216;Databases&#8217;</p>
<p><img src="/graphics/wordpress/backupandrestore/backup_1.jpg" alt="Backup 1" /></p>
<p>3. Now click the name of your database.</p>
<p><img src="/graphics/wordpress/backupandrestore/backup_2.jpg" alt="Backup 2" /></p>
<p>4. The next screen will show you all the tables inside your database.  Click the &#8216;Export&#8217; tab on the top set of tabs.</p>
<p><img src="/graphics/wordpress/backupandrestore/backup_3.jpg" alt="Backup 3" /></p>
<p>5. Look at the left box at the top of the Export section. All the tables in the database you selected are in that box.</p>
<p><img src="/graphics/wordpress/backupandrestore/backup_4.jpg" alt="Backup 4" /></p>
<p>* If you have other programs that use the database, then choose only those tables that correspond to your install. In the case of PHP-eSeller, they will be the ones with that start with &#8220;ipn_&#8221;, with PHP-SecureArea they are the ones that start with &#8220;sec_&#8221; and with PHP-KeyCodes, they are the ones that start with &#8220;key_&#8221;<br />
* If the database is being used only by the one program, then, leave it as is (or click &#8216;Select All&#8217; if you changed the selection)<br />
* Ensure that SQL is checked.</p>
<p>6. In the SQL section, tick the following boxes:</p>
<p>* &#8216;Structure&#8217;<br />
* &#8216;Add DROP TABLE&#8217;<br />
* &#8216;Add AUTO_INCREMENT&#8217; and<br />
* &#8216;Enclose table and field names with backquotes&#8217;</p>
<p>7. In the DATA section, leave the boxes inside this section unticked, but make sure to keep the checkbox next to the &#8220;DATA&#8221; heading checked.</p>
<p><img src="/graphics/wordpress/backupandrestore/backup_5.png" alt="Backup 4" /></p>
<p>8.  Tick the &#8216;Save as file&#8217; option, and leave the template name as is.</p>
<p><img src="/graphics/wordpress/backupandrestore/backup_6.jpg" alt="Backup 5" /></p>
<p>9. Now click &#8216;Go&#8217; and you should be prompted for a file to download. Save the file to your computer.  Depending on the database size, this may take a few moments.</p>
<p>10. You have now backed up your database.   If you wanted, you could download a backup in each of the compression formats. Your choice. For example: <strong>None</strong> and &#8220;<strong>zipped</strong>&#8221;</p>
<p>Remember : You have not backed up your files or images.  Only the database itself.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.withinweb.com/info/2010/01/25/backing-up-a-database-using-phpmyadmin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP 5.3 and Depreciated Functions</title>
		<link>http://www.withinweb.com/info/2010/01/09/php-53-and-depreciated-functions/</link>
		<comments>http://www.withinweb.com/info/2010/01/09/php-53-and-depreciated-functions/#comments</comments>
		<pubDate>Sat, 09 Jan 2010 13:20:26 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP-KeyCodes]]></category>
		<category><![CDATA[PHP-SecureArea]]></category>
		<category><![CDATA[PHP-eSeller]]></category>

		<guid isPermaLink="false">http://www.withinweb.com/info/?p=403</guid>
		<description><![CDATA[Version PHP 5.3 has a number of functions that are depreciated and earlier versions of PHPeSeller, PHPSecureArea and PHPKeyCodes will display warning messages identifying those depreciated functions when installed on PHP 5.3.  It will still work as the functions are still there although they will be removed in PHP 6
To overcome this for earlier versions of the applications, in the [...]]]></description>
			<content:encoded><![CDATA[<p>Version PHP 5.3 has a number of functions that are depreciated and earlier versions of PHPeSeller, PHPSecureArea and PHPKeyCodes will display warning messages identifying those depreciated functions when installed on PHP 5.3.  It will still work as the functions are still there although they will be removed in PHP 6</p>
<p>To overcome this for earlier versions of the applications, in the error.php file just use</p>
<p>error_reporting(E_ALL &amp; ~E_NOTICE &amp; ~E_DEPRECATED);</p>
<p>This will stop the depreciated warning messages being displayed.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.withinweb.com/info/2010/01/09/php-53-and-depreciated-functions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google checkout Oops! There was an error processing your request.</title>
		<link>http://www.withinweb.com/info/2009/12/18/google-checkout-oops-there-was-an-error-processing-your-request/</link>
		<comments>http://www.withinweb.com/info/2009/12/18/google-checkout-oops-there-was-an-error-processing-your-request/#comments</comments>
		<pubDate>Fri, 18 Dec 2009 19:10:09 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP-KeyCodes]]></category>

		<guid isPermaLink="false">http://www.withinweb.com/info/?p=390</guid>
		<description><![CDATA[Error when using PHP Google Demo Code.
Apparantly this error can occur with certain web servers which have a PHP bug.
It can be fixed as explained at :
http://code.google.com/p/google-checkout-php-sample-code/issues/detail?id=37
]]></description>
			<content:encoded><![CDATA[<p>Error when using PHP Google Demo Code.</p>
<p>Apparantly this error can occur with certain web servers which have a PHP bug.</p>
<p>It can be fixed as explained at :</p>
<p>http://code.google.com/p/google-checkout-php-sample-code/issues/detail?id=37</p>
]]></content:encoded>
			<wfw:commentRss>http://www.withinweb.com/info/2009/12/18/google-checkout-oops-there-was-an-error-processing-your-request/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sell software licence codes with PHP-KeyCodes</title>
		<link>http://www.withinweb.com/info/2009/12/03/sell-software-licence-codes-with-php-keycodes/</link>
		<comments>http://www.withinweb.com/info/2009/12/03/sell-software-licence-codes-with-php-keycodes/#comments</comments>
		<pubDate>Thu, 03 Dec 2009 20:16:27 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP-KeyCodes]]></category>

		<guid isPermaLink="false">http://www.withinweb.com/info/?p=360</guid>
		<description><![CDATA[PHP-KeyCodes is a is used to sell software key codes or pin numbers using PayPal or Google Checkout.  The key codes are entered into the item details and when a customer makes a purchase, the first key code is removed and sent by email to the customer. This leaves the next key code ready for [...]]]></description>
			<content:encoded><![CDATA[<p><a href="../../phpkeycodes">PHP-KeyCodes</a> is a is used to sell software key codes or pin numbers using PayPal or Google Checkout.  The key codes are entered into the item details and when a customer makes a purchase, the first key code is removed and sent by email to the customer. This leaves the next key code ready for the next purchase. When the number of codes reach a lower limit, an email is sent to the site administrator.  This functionality can be changed because code hooks are available.</p>
<p>The PayPal and Google Checkout ‘buy now’ buttons can be displayed in the admin interface and then copied on to your web pages.</p>
<p><a href="../../phpkeycodes">PHP-KeyCodes</a> is based on <a href="../../phpeseller">PHP-eSeller</a> and includes many of its features including transaction list, sales reports and email newsletter facility.</p>
<p>For details refer to <a href="../../phpkeycodes/">http://www.withinweb.com/phpkeycodes/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.withinweb.com/info/2009/12/03/sell-software-licence-codes-with-php-keycodes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to set up an external smtp service</title>
		<link>http://www.withinweb.com/info/2009/11/28/how-to-set-up-an-external-smtp-service/</link>
		<comments>http://www.withinweb.com/info/2009/11/28/how-to-set-up-an-external-smtp-service/#comments</comments>
		<pubDate>Sat, 28 Nov 2009 22:14:58 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP-KeyCodes]]></category>
		<category><![CDATA[PHP-SecureArea]]></category>
		<category><![CDATA[PHP-eSeller]]></category>

		<guid isPermaLink="false">http://www.withinweb.com/info/?p=328</guid>
		<description><![CDATA[This describes how to set up the SMTP email for use with PHP-eSeller, PHP-SecureArea, PHP-KeyCodes.
You may find that you web server is not sending out emails as well as you would like.  Shared web servers sometimes have issues with how quickly the email is sent out and the headers in the emails.
To use an external [...]]]></description>
			<content:encoded><![CDATA[<p>This describes how to set up the SMTP email for use with PHP-eSeller, PHP-SecureArea, PHP-KeyCodes.</p>
<p>You may find that you web server is not sending out emails as well as you would like.  Shared web servers sometimes have issues with how quickly the email is sent out and the headers in the emails.</p>
<p>To use an external SMPT service all you have to do is change the config.php file.</p>
<p>If you look at the config.php file there are some settings near the bottom of the page which should explain it.</p>
<p>$smtpuse    =     false;                                     //set to true if you are going to use smtp<br />
$smtphost    =    &#8220;smtp_server_host_here&#8221;;    //The smtp host that you are using<br />
$smtpusername     =     &#8220;smtp_user_name_here&#8221;;        //Your smtp username<br />
$smtppassword    =    &#8220;smtp_passord_here&#8221;;             //Your smtp password</p>
<p>You change the smtpuser to true and you need a host name, username and password for the SMTP service.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.withinweb.com/info/2009/11/28/how-to-set-up-an-external-smtp-service/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Withinweb is now on Twitter</title>
		<link>http://www.withinweb.com/info/2009/09/14/withinweb-is-now-on-twitter/</link>
		<comments>http://www.withinweb.com/info/2009/09/14/withinweb-is-now-on-twitter/#comments</comments>
		<pubDate>Mon, 14 Sep 2009 12:37:01 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP-KeyCodes]]></category>
		<category><![CDATA[PHP-SecureArea]]></category>
		<category><![CDATA[PHP-eSeller]]></category>

		<guid isPermaLink="false">http://www.withinweb.com/info/?p=300</guid>
		<description><![CDATA[Follow withinweb on Twitter http://twitter.com/WithinWeb
]]></description>
			<content:encoded><![CDATA[<p>Follow withinweb on Twitter <a href="http://twitter.com/WithinWeb">http://twitter.com/WithinWeb</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.withinweb.com/info/2009/09/14/withinweb-is-now-on-twitter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP-Keycodes now with Google</title>
		<link>http://www.withinweb.com/info/2009/09/05/phpkeycodes-now-with-google/</link>
		<comments>http://www.withinweb.com/info/2009/09/05/phpkeycodes-now-with-google/#comments</comments>
		<pubDate>Sat, 05 Sep 2009 09:18:51 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP-KeyCodes]]></category>

		<guid isPermaLink="false">http://www.withinweb.com/info/?p=252</guid>
		<description><![CDATA[PHP-KeyCodes is now able to use Google checkout as well as PayPal. 
In some ways Google checkout provides a better user experience than PayPal as the key code can be displayed to the customer on their Google checkout page. 
PHP-Keycodes can be used with a response handler (the code that monitors the transaction returned from Google checkout) [...]]]></description>
			<content:encoded><![CDATA[<p>PHP-KeyCodes is now able to use Google checkout as well as PayPal. </p>
<p>In some ways Google checkout provides a better user experience than PayPal as the key code can be displayed to the customer on their Google checkout page. </p>
<p>PHP-Keycodes can be used with a response handler (the code that monitors the transaction returned from Google checkout) but this requires SSL (a site that has https) or it can be used without the response handler and so your web site does not require SSL to handle the return data from Google.  Without a response handler you do not get the updates of Google sales back at your web site, but otherwise it operates in the same way.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.withinweb.com/info/2009/09/05/phpkeycodes-now-with-google/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

