Current time: 02-27-2017, 04:09 PM Hello There, Guest! (LoginRegister)

paypal and htaccess
03-01-2006, 10:39 AM
Post: #1
paypal and htaccess
I'm not so good at the web stuff, but what I've done is set up a paypal button that lets people specify a username and password and pay $5. Then I go in and manually add their username/password to the htaccess file when I get around to it, and delete it when I get around to it. Anyone know a simple to semi-simple way to integrate these two things, such that the paypal payment will autogenerate a new htaccess file with the new username/password sepcified. I've seen some software which claims to do this for a fee. Does dreamhost or the opensource community have a free solution?

Find all posts by this user
03-01-2006, 09:46 PM
Post: #2
paypal and htaccess
With php you can create files on your domain. However, it would have to be checked over to make sure there is no way a malicious person or script does not take over the creation of the htaccess file.
Visit this user's website Find all posts by this user
03-02-2006, 07:58 AM
Post: #3
paypal and htaccess
Thanks for the reply.

I've set up php/htaccess member areas before, but it was always a situation where anyone could sign up and I just wanted to protect one free member from another. I guess my new question is, I'm not sure how to integrate that with the paypal process so that only people who paid can set up an account. I'm sure it has something to do with php on the "successful payment" url. I probably just need to learn a little more about how the paypal shopping cart works.

Find all posts by this user
03-02-2006, 12:00 PM
Post: #4
paypal and htaccess
PayPal has an integration option where you get a "return confirmation" back from it and send the customer wherever you want.

The other option is to buy a php membership management system that handles all this for you and more.


What plan is best for you? Compare from this list and select the best plan
Find all posts by this user
03-02-2006, 02:32 PM
Post: #5
paypal and htaccess
Paypal has something called "Instant Payment Notification" that's included on all the free shopping carts, etc. What it does is sends a script request to a URL on your server during the checkout process so you can double check everything and process the order on your end.

For example, this is where I would send out a personal email to the customer with instructions on how to retrive their order. You could use that script to add their paypal id to your .htaccess file so they are up and running right away.

There are details on PayPal's site on how to set it up.
Find all posts by this user
03-06-2006, 08:45 AM
Post: #6
paypal and htaccess
bobsammer, don't reinvent the wheel. Use CMS to manage your users. There are good php/mysql based cms that offer subscription and other ecommerce type modules. My personal favorite is Drupal but I know joomla (which is a one-click install btw) has ecommerce modules as well. If you want to install joomla, this site will help you out with it. If you want to see other cms portals, has a demo section of them.

The Insane Cabbit
My Blog
My web store:
Send me a pm if you want cms or forum software installed (for a fee)
Visit this user's website Find all posts by this user

Forum Jump: