Log in

View Full Version : autresponder password



ham
10-22-2006, 07:19 AM
i am a newbie with webdesigning. read different discussions on autoresponder but was unusuccessful to find answers to my questions:

How do i create an autoresponder that sends a unique password per request? Is it also possible to send multiple passwords (in one email) per request?

djr33
10-22-2006, 08:21 AM
What are you talking about?

What language are you using? PHP?

What is "send".... email? text on the next page? Text that pops up on the same page?

Who are you sending it to? How is it requested?


Generally, I'd guess you're talking about email, and would suggest looking into PHP for this.

What's a 'unique password' and what does this relate to?

With any programming language.... javascript, php, etc. you can create a random string (set of characters... something like a word, but doesn't have to be just letters... a string is basically just a 'string' of text characters....).

If you want specified passwords, not random passwords, then you could also use those. Store them in a database or list or something, then have the "autoresponder" send it out from that list/database/etc.

Then how do you plan to store this password? Database? What would it access?
Do you need it to also be added to another list so it would work?


Everything above, all versions, is possible with php. (And not many other languages, but depends on what, exactly, you need.)


The simple answer-- YES! It's easy to send multiple passwords. Use a function (or just a loop)...... repeat the process for creating the random 'password' then send two, using whatever method you are using.


Please give more information.

Also, the only time I have ever heard 'autoresponder' used is for email. It's what you set to send a message if you are away. Something like: "Hi. I'm on vacation, so I won't be able to reply for the next few weeks."
I assume you aren't talking about this because programming it would be very complex and, at that point, I'd assume you'd already know about this type of thing because it is far easier than programming your own email program.
If you are, then the answer is very different from what I said above.

ham
10-22-2006, 09:11 PM
I am sorry for the confusion. PASSWORD is the PRODUCT that the buyers are purchasing. They will not use these passwords to access the website. They can buy multiple passwords in one transaction.

To clarify, this is the process I have in mind:

When a buyer checks out with his/her purchase, I will send the password or passwords through email .I can send it to the buyer manually, but that won’t be a good idea. Coz I will have to sit in my computer to wait for purchases. So I’m researching on how I could make it work more efficiently.

I am looking into PHP right now? Where can I find the best self study guide to address my specific goal (the process of automatically sending password or passwords, which are alphanumeric text, through email. A password can only be sent once. I will include in the email text on how to use the passwords.)? Is there such thing as a user friendly PHP program? :D Where can I get it?

Lastly, will MS Access work as a storage for passwords. Can the passwords be retrieved automatically from MS Access? How can I integrate it with PHP?

djr33
10-22-2006, 11:12 PM
I would assume that MS Access would be fine. However, the common database for PHP integration is MySQL. That's what I use, what most people use, and, most importantly, what will likely have more support/tutorials available. You can use what you want, but I would say, if you're just learning, to stick with something that is easy to get a tutorial for.

This how I learned:
http://php-mysql-tutorial.com

Simple, to the point, and pretty easy to follow. It focuses on mysql integration/control through php, but it also starts with a php intro. Look at that, even if you don't use mysql in the end.

The password allows the buyer to access a product? I assume it's a filename/url?
Interesting.

You could do it better than that, though.

You could use php to send a "password" like:
http://yoursite.com/download.php?pass=sfkljfsadjkl
And that would, though php, retrieve the record matching that password, and output the file, which could be hidden in a secure directory and only accessible when the php outputs it.
(The advantage to this is that you could make the database record for that password outdated, so it won't work after, maybe 2 downloads, or you could do 24 hours, etc. That would stop the possibility of distribution of the link.)

This is a little complex, so just start learning php and how all of this works.

I understand about not emailing manually. That makes sense.

However, if there is actual money being exchanged, you still might want to keep an eye on things. PHP would be hard to code to check the validity of credit card numbers, etc.

It sounds like you're on the right track.

Just start learning php. Pick a database in a bit, then start learning that as well. DBs aren't that complex, really. They're new and weird, but there's not much to using them once you get the general idea.

ham
10-23-2006, 12:30 AM
What do you mean with DB? Is that the MySQL?

I downloaded the installer and will start learning it. I will post a message when I encounter challenges using it. This is a new journey for me, but I surely will enjoy it. Thank you for the help.







May the products of my mind bear significant fruits in the near future.

djr33
10-23-2006, 12:53 AM
DB = database. Sorry.

Alright, well, enjoy. MySQL isn't too complex. PHP isn't either, if you've had other programming experience. Good luck.

tech_support
10-23-2006, 07:26 AM
What do you mean with DB? Is that the MySQL?

I downloaded the installer and will start learning it. I will post a message when I encounter challenges using it. This is a new journey for me, but I surely will enjoy it. Thank you for the help.







May the products of my mind bear significant fruits in the near future.
Note: Please don't use too much line breaks. It just clogs up the topic.