473,225 Members | 1,317 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,225 software developers and data experts.

mrwhois

G'day

Just purchased Mrwhois and noticed he fell short of creating a simple cart
for the selected domains.

You would think it would be simple to create a shopping cart showing the
selected domains with a checkout button going to Paypal, however my knowlage
is limited in creating PHP from scratch, even when he gave me a sample
page....

PHP:
------------------------------------------------------------------------------
<?
// This is a sample domain names processing file. You can modify this file
or you can replace it with your own.
// The aim of this file is to show how domain names can be processed -
according to your needs.
// PLEASE NOTE: I do not provide any support for processing. You should be
either PHP familiar and
// make all modifications yourself or hire a PHP developer to make all
changes for you.
// sample of FORM/POST output - usefull when you want to add multiple
domains to the shopping cart

echo '
<p>This is a sample file where all necessary variables are parsed. You may
process those variables
anyway you like, for example - add to a shopping cart.</p>
';

reset($_POST);
while (list($key, $val) = each($_POST)) {
echo "$key => $val<br>";
}

// sample of link/GET output - usefull when you want to redirect your
visitor to the next page
// for example - choosing a domain name for a hosting account

reset($_GET);
while (list($key, $val) = each($_GET)) {
echo "$key => $val<br>";
}

?>
------------------------------------------------------------------------------

Anyway is there anyone out there who has been down this path or know of a
simple solution, I've searched for days now and cant find a thing.

Cheers
Jul 17 '05 #1
0 1148

This thread has been closed and replies have been disabled. Please start a new discussion.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.