/    Sign up×
Community /Pin to ProfileBookmark

purchase and download script

I am very new to php script…I created my site in notepad with html code. I sell designs for the comuterized embroidery machine I already have shopping cart in place and have been sending computerized embroidery designs via e-mail once purchased. I would like my customers to purchase and download immediately. Can someone tell me the script to do this. I am a fast learner.
Sincerely

to post a comment
PHP

11 Comments(s)

Copy linkTweet thisAlerts:
@eomerOct 25.2003 — Would be glad to help. However we do need a bit more detail. For example: Do you want to email these pics to the customer (via the server) or do you want them to download them in the browser? Would you like this to work in conjunction with the shopping cart?

Sorry for needing more detail, but I am just a bit confused.
Copy linkTweet thisAlerts:
@jazzy1028authorOct 25.2003 — Would be glad to help. However we do need a bit more detail. For example: Do you want to email these pics to the customer (via the server)>>>>

I am currently emailing the customer's purchase via outlook express as soon as I receive Instant Notification from Paypal>>>

or do you want them to download them in the browser?>>>>Yes!!! That's the ticket!

Would you like this to work in conjunction with the shopping cart? >>>Yes! Yes! Yes!....ggggg..(me smiling estatically)

jeez I'm easy to please...smile

I feel that I don't need to learn ASP...because I just don't have time and only need this one ity bittiy script...and also need to know where to insert it.

Is HTML and ASP really that different? Do I need a special software to input this Active Server Page script that I need...

Bless You!
Copy linkTweet thisAlerts:
@pyroOct 25.2003 — ASP? Aren't we talking PHP here?
Copy linkTweet thisAlerts:
@jazzy1028authorOct 25.2003 — forgot to mention/ask

I am assuming that I will need to place all designs in my alloted storage and the script will point to designs when purchased?
Copy linkTweet thisAlerts:
@jazzy1028authorOct 25.2003 — ASP? Aren't we talking PHP here?>>>

ggggggg (me giggling)

whatever works! i'm game....
Copy linkTweet thisAlerts:
@eomerOct 25.2003 — Yeah this list is php rather then asp, and it will matter considering serval things. One whether your server is configured for php or asp. Assuming since it sounds as if you have been using asp it very likely is not. Two both are a good bit different then html. html is a markup langauge that simply makes the page look pretty (or ugly in my case?:eek: ). Php & Asp both are designed to do actual programming of a page for database functionality and things like your talking about.

Yes you will need a space on your server for those pics, and then point the script towards that directory. What is the shopping cart program coded in, because it will make a big difference on which you need to choose as far as asp and php.
Copy linkTweet thisAlerts:
@jazzy1028authorOct 25.2003 — Php & Asp both are designed to do actual programming of a page for database functionality and things like your talking about. >>>

I am currently not using either. I use cedant web hosting and I was over at the control panel and noticed MySQL is available to me....I read a little about it...I know its an open source database...Is this something I can use for the purposes I need?
>>>
Yes you will need a space on your server for those pics, and then point the script towards that directory. What is the shopping cart program coded in, because it will make a big difference on which you need to choose as far as asp and php>>>>>

I just called paypal to ask that question but tech support won't be available until Monday. Could/Should I post a sample of my shopping cart here?
Copy linkTweet thisAlerts:
@eomerOct 25.2003 — Ok...well if you have mysql you very likely will have php. So to see if you do and which version you have paste this code into a file and then access it:
[code=php]<?
phpinfo();
?>[/code]


This will simply print out all of the php info and the variables for php. Right at the top it will show which version. IF php is not installed on the server it will spit out the above code in text.

Hmmm, paypal used that once. I think if memory serves that they run the majority of the actual shopping cart from their server. I.e. You link something like 'Buy Now' and it goes to their site. I think. May get somewhat complicated. Let me do some googling and I'll let you know.

EDIT: [I]Mysql can definitely be used for this sort of thing.[/I]
Copy linkTweet thisAlerts:
@eomerOct 25.2003 — I assume that your shopping cart looks something like this?

<form name="_xclick" target="paypal" action="https://www.paypal.com" method="post">

<input type="hidden" name="cmd" value="_
cart">

<input type="hidden" name="business" value="[email protected]">

<input type="hidden" name="item_name" value="HTML book">

<input type="hidden" name="amount" value="24.99">

<input type="image" src="http://www.paypal.com/en_US/i/btn/sc-but-01.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">

<input type="hidden" name="add" value="1"> </form>[/QUOTE]


This is taken off of the paypal website. It's the technical details of the shopping cart. If it is using the action up there that redirects it to paypal.com then you do not have to worry about if it is coded in php or asp. I'm not really sure if they offer any other services in which they give you more code....but I seriously doubt it.
Copy linkTweet thisAlerts:
@jazzy1028authorOct 25.2003 — paste this code into a file and then access it:

okie...which file? any file? Am I going to create a file, place mentioned code in and place it in so I can access this file from MYSQL???

Can we say illeterate boys and girls...

gggg
Copy linkTweet thisAlerts:
@jazzy1028authorOct 25.2003 — I'm not really sure if they offer any other services in which they give you more code....but I seriously doubt it.>>>

I asked, and no they don't.

I appreciate how you are trying to help me...and I realize that I am silly to think I can cram all the knowledge you took years to master, into one weekend...but such is the nature of this beast....I am begiining to think I should let sleeping dogs lie....smile...When I think of the over 800 designs I would have to tag with ac ode.....even copy/paste does not console me....yet...if It can be done...I shall go forth and do it....
×

Success!

Help @jazzy1028 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.1,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,
)...