Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.albasani.net!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail From: Arno Welzel Newsgroups: comp.lang.php Subject: Re: This is a total php newbie question Date: Fri, 14 Oct 2011 09:27:51 +0200 Organization: A noiseless patient Spider Lines: 31 Message-ID: <4E97E477.6000908@arnowelzel.de> References: <4b9df8e1-d651-4058-9cd9-a7e3c2231725@e37g2000yqa.googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Injection-Info: mx04.eternal-september.org; posting-host="KSNaR21y99BgGFPoSQKzUg"; logging-data="23299"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/j96bQaJqgL4jh1ZJcom1gHU6JaYzPenc=" User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1 In-Reply-To: <4b9df8e1-d651-4058-9cd9-a7e3c2231725@e37g2000yqa.googlegroups.com> Cancel-Lock: sha1:xYwi9a8Um889ScD9lGbiTCpMQsc= Xref: x330-a1.tempe.blueboxinc.net comp.lang.php:3408 justaguy, 2011-10-14 02:58: > Sorry, Jerry, you missed my question. > > Send the form to PayPay is to interface with PayPal's API > with the form's ACTION line. > And since it's an API, PayPal has a way to let the user click on > "Return to bla bla". > > In essence, the task will accomplish two things: > A) link the user/buyer to PayPal to make a payment > B) back to my site with a special URL that give the buyer the info > including the software download link (but this link would expire in 24 > hours). > > Absolutely no need whatsoever with a database for this, it would be > totally overkill. And how can you be sure, that the "special URL" is valid? If there is no database with verified payments, *everybody* can use generated URLs to fake valid payments. Better you look for a provider, who handles payments and downloads for you - since it seems you neither have experience with PHP nor with selling stuff online. -- Arno Welzel http://arnowelzel.de http://de-rec-fahrrad.de