Current location: Hot Scripts Forums » Programming Languages » PHP » woof ruff (i'm new with a few questions)


woof ruff (i'm new with a few questions)

Reply
  #1 (permalink)  
Old 07-21-03, 09:46 PM
APuppyDog APuppyDog is offline
Newbie Coder
 
Join Date: Jul 2003
Posts: 71
Thanks: 0
Thanked 0 Times in 0 Posts
Cool woof ruff (i'm new with a few questions)

Hi guys!

I'm new to this forum, and to PHP. I just purchased a web dating application in php and thought I'd sign up here to get educated on some of the things that can't be answered elsewhere.

I know raw html, and know how to edit code by looking at the structure so i am not a total dunce in programming.. just need a little guidance on what to do and where to do it.

That said, I hope to gain some knowledge by the gurus in PHP at this board. Thanks for a great and FREE resource!

I have 2 questions to start off with, I don't know how simple or complex they are.. and please do tell me where i should post these questions to get a faster response, thanks in advance!

1. Is it possible to use the same user database for different applications so people don't have to sign up on the same site for different services. For example, people create a username and password on the dating service, and i want this same username and password automatically used for forums (such as vbulletin or PHPbb) of course, the dating site is restricted to people over 18 so the authorization should work with people over 18. If a 16 year old signs up for the forums, their id should not be also created in the dating database.

2. I would like to offer phone cards for my visitors so this is what I would like to be able to do. Have an admin section where I can enter pincodes (to a database). The user enters their credit card number on my site and are directed to a page that pulls a number from the database of numbers i created. It displays the number on screen, and emails them the same number, and it removes it from the database, so the next person who buys it does not get a pin number that is already been used.

Thats a start for me.. I really don't know how hard that is so please don't yell at me for asking something very hard as my first post. I could really use some help. Will be picking a guide this week on PHP. thanks in advance!
Reply With Quote
  #2 (permalink)  
Old 07-22-03, 02:02 AM
Ryan's Avatar
Ryan Ryan is offline
Coding Addict
 
Join Date: May 2003
Location: Virginia
Posts: 391
Thanks: 0
Thanked 8 Times in 3 Posts
Hi and welcome. I should direct you to read this. However I'm going to move this for you. Next time please read the rules. Thanks.
__________________
Ryan Huff
iNET Interactive, LLC

http://www.inetinteractive.com
Reply With Quote
  #3 (permalink)  
Old 07-22-03, 10:51 AM
BradC BradC is offline
Newbie Coder
 
Join Date: Jul 2003
Location: Indianapolis, IN
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Welcome to the board, as you can tell I don't post much myself

Your first question about using one database or table to perform as a main login point so that your users do not have to re-register is possible. There is a few ways you can do this, you will want to make one of the scripts the main one with the main table. Vbulletin works great for this, or has in the past for me when I was working on a project for someone. You can use some joining statements to combine the tables of vbulletin and your dating script. Because the dating script will have some fields that no other table will have (yes you can add these fields to any table you wish).

This one is not all that tough but will take some time to get it all working correctly but to answer the question it can be done. If you look into one of the book and also look at how the code is structed you can figure out how to do some joins... of the databases, you just have to have some common fields that are the same. Username, a specific ID field or something to link them together.

As for your 2nd question, you might be able to get by, by using a credit card processing script, creating a simple database with admin controls and a user front, that can process and verify the card then pull the pin from the database and delete or move it to a "used pins" table for archiving.

Brad
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Two questions (in one thread, what a deal!) G M Morris PHP 5 10-03-03 05:53 AM


All times are GMT -5. The time now is 10:37 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.