<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1032890" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1032890</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/how-sell-download#comment-1192681</link>
    <description> &lt;p&gt;Also be sure to put a watermark (like &#039;sample&#039;) across your image or you may not get paid&lt;/p&gt;
 </description>
     <pubDate>Mon, 06 Feb 2006 09:40:24 +0000</pubDate>
 <dc:creator>Busy</dc:creator>
 <guid isPermaLink="false">comment 1192681 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/how-sell-download#comment-1192671</link>
    <description> &lt;p&gt;When your customer clicks &#039;Continue&#039; on the last page of their paypal transaction the IPN script on paypal.com sends your chosen webpage (&lt;a href=&quot;http://www.yoursite.com/yourpage.php&quot; class=&quot;bb-url&quot;&gt;yoursite.com/yourpage.php&lt;/a&gt;) the word FAILED or SUCCESS along with all the data of the transaction (amount payed, buyers email/country/state, etc).&lt;/p&gt;
&lt;p&gt;You then use that information to do something. For example if they&#039;ve payed $2 you give them access to the download twice, if they&#039;ve payed $4 you give them access 4 times, whatever.&lt;/p&gt;
&lt;p&gt;In my example I say issue a random password to the user. Keep this password along with their username in your database and allow access to the file for that user/pass.&lt;/p&gt;
 </description>
     <pubDate>Mon, 06 Feb 2006 02:39:33 +0000</pubDate>
 <dc:creator>Dux0r</dc:creator>
 <guid isPermaLink="false">comment 1192671 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/how-sell-download#comment-1192380</link>
    <description> &lt;p&gt;Okay, all of that I can figure out with the exception of the paypal IPN.  Would paypal send this information directly to the customer in an email?  I&#039;m assuming the IPN has some way of responding to a script on my server telling it that the charge went through????&lt;/p&gt;
 </description>
     <pubDate>Thu, 02 Feb 2006 16:54:40 +0000</pubDate>
 <dc:creator>raymondh</dc:creator>
 <guid isPermaLink="false">comment 1192380 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/how-sell-download#comment-1192379</link>
    <description> &lt;p&gt;There are numerous ways you could accomplish this.&lt;/p&gt;
&lt;p&gt;Being a PHP buff, I&#039;ll tell you how I&#039;d do it.&lt;/p&gt;
&lt;p&gt;Have the photos uploaded to a specific directory.&lt;br /&gt;
Block direct access to this directory via chmod or .htacess.&lt;br /&gt;
Have a PHP file in the same directory which can access the files, then re-generate them.&lt;br /&gt;
Require a password/access code to the PHP file (issued by PayPal IPN).&lt;/p&gt;
&lt;p&gt;After reviewing what I&#039;ve written, that seems overly complicated. Hopefully someone else will have a much simpler approach.&lt;/p&gt;
 </description>
     <pubDate>Thu, 02 Feb 2006 16:50:59 +0000</pubDate>
 <dc:creator>Dux0r</dc:creator>
 <guid isPermaLink="false">comment 1192379 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
