Jump to content

Pay per download?


thyphen

Recommended Posts

Most people don't have any professional training with PHP...

 

 

Anyways, I would give them a username and password that would work for like 48 hours after they paid.  This would work by the username and password being put into a database... Then the database would be cleaned out every now and then and it would delete the old names, thus deactivating them.  As far as money handling goes, I've never messed with that, and I would be of no help.

Link to comment
https://forums.phpfreaks.com/topic/37420-pay-per-download/#findComment-178894
Share on other sites

most of us don't have any professional training. in fact, i would say somewhere like 95% of us don't have professional training. we learn by exposing ourselves to new projects, just like you. i think you're going to need to get into apache, and maybe mod_perl for this particular endeavor. altho php will play a major role.

 

i think your question is more along the lines of 'how would i allow access to a certain person to download a certain file? a session? do i make the access temporary? through an email? how do i know they are only downloading one file? how do i know they're not going to look at other stuff on my servers if i let them see a single file?'

 

am i right?

Link to comment
https://forums.phpfreaks.com/topic/37420-pay-per-download/#findComment-178897
Share on other sites

well I was thinking Have an account system and people can purchase some sort of points and then the different files are worth a certain amount of points...so like one file would cost 100points and 100points cost  $10 but the problem I'm still facing is how do i know that the person actually payed...is there a way I can automatically check if a payment came in or what?

Link to comment
https://forums.phpfreaks.com/topic/37420-pay-per-download/#findComment-178904
Share on other sites

i dont like money handling with php. i have never tried it and i plan not to. i am going to make people pay with paypal or some other secure website, then when i receive there email i would create there account manually. but you probably could make a script that would check for emails, i havnt explored that part of php as of yet.

Link to comment
https://forums.phpfreaks.com/topic/37420-pay-per-download/#findComment-178907
Share on other sites

there are many ways of securing and confirming an online transaction. as projectfear said, i wouldn't advise doing this in php, altho it is fully capable. i'd much rather use an already developed, already secure online transaction API, and integrate their software into my site, if i were you. paypal has many different levels of integration. it's called opening a gateway. check into it, but take my advice, do your research. you will get a LOT of different opinions and information from people who work for the same company. so make sure you read a lot of documentation, and ask for all kinds of it.

Link to comment
https://forums.phpfreaks.com/topic/37420-pay-per-download/#findComment-178913
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.