Current location: Hot Scripts Forums » Programming Languages » PHP » Account Reload Method


Account Reload Method

Reply
  #1 (permalink)  
Old 12-27-08, 02:56 AM
Anise Verona's Avatar
Anise Verona Anise Verona is offline
New Member
 
Join Date: Dec 2008
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Account Reload Method

First, I have created a website using PHP, MySQL,and Apache where people could register to create account and sign in.

Second, I have successfully created a database to store a list of 16 digits number.
To use the account, user needs to buy a reload coupon which consists of 16 digits number.

After that, he will need to send the series of number through mobile phone to the server and if the 16digits number matches the one in the database, money will be credited to the his account.

Could anyone tell me whether this task could be perform by using PHP? or I have to use other languages.

Thank you,

~Anise~
Reply With Quote
  #2 (permalink)  
Old 12-27-08, 08:34 AM
End User's Avatar
End User End User is offline
Level II Curmudgeon
 
Join Date: Dec 2004
Posts: 3,027
Thanks: 14
Thanked 35 Times in 33 Posts
Yes, this can be done via PHP. It would work exactly the same as if this had been built for a browser except that the user would be accessing the pages through a phone instead. The only real difference you may want to take into consideration is that they'll be using a smaller screen to view the pages.



Quote:
Originally Posted by Anise Verona View Post
First, I have created a website using PHP, MySQL,and Apache where people could register to create account and sign in.

Second, I have successfully created a database to store a list of 16 digits number.
To use the account, user needs to buy a reload coupon which consists of 16 digits number.

After that, he will need to send the series of number through mobile phone to the server and if the 16digits number matches the one in the database, money will be credited to the his account.

Could anyone tell me whether this task could be perform by using PHP? or I have to use other languages.
__________________
I don't live on the edge, but sometimes I go there to visit.
-------------------------------------------------------------------------
Sanitize Your Data | Oracle Date & Substring Functions | Code Snippet Library | [url=http://www.codmb.com/Call Of Duty[/url]
Reply With Quote
  #3 (permalink)  
Old 12-27-08, 08:48 AM
Anise Verona's Avatar
Anise Verona Anise Verona is offline
New Member
 
Join Date: Dec 2008
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Yes, this can be done via PHP. It would work exactly the same as if this had been built for a browser except that the user would be accessing the pages through a phone instead. The only real difference you may want to take into consideration is that they'll be using a smaller screen to view the pages.
No, I don't mean the user will be accessing the page through a mobile phone.

He will send an SMS to the server ( I am using GSM Module to manage the SMS).

For example : he will send " 1111 2222 3333 4444" to 89898.

so, the GSM should be able to extract the 16 digits out from the SMS and compare it with the database.

Can you give advice on what language should I use to do this? PHP might be one of them I suppose.

Thanks a heap in advance.

~Anise~
Reply With Quote
  #4 (permalink)  
Old 12-27-08, 08:55 AM
End User's Avatar
End User End User is offline
Level II Curmudgeon
 
Join Date: Dec 2004
Posts: 3,027
Thanks: 14
Thanked 35 Times in 33 Posts
Quote:
Originally Posted by Anise Verona View Post
so, the GSM should be able to extract the 16 digits out from the SMS and compare it with the database.

Can you give advice on what language should I use to do this? PHP might be one of them I suppose.
PHP would be what I would use and what I'd recommend.
__________________
I don't live on the edge, but sometimes I go there to visit.
-------------------------------------------------------------------------
Sanitize Your Data | Oracle Date & Substring Functions | Code Snippet Library | [url=http://www.codmb.com/Call Of Duty[/url]
Reply With Quote
  #5 (permalink)  
Old 12-27-08, 09:04 AM
DAL's Avatar
DAL DAL is offline
Code Master
 
Join Date: Jun 2003
Location: North East England/UK
Posts: 874
Thanks: 0
Thanked 0 Times in 0 Posts
You know I keep seeing more and more plug-ins for php, didnt realise that there was a SMS handler (or GSM) - It's all very exciting stuff, I can hardly contain myself!

Like End User says Anise, PHP is brilliant and I'd also highly recommend it!

Cheers
Dal
__________________
"once upon a midnight dreary, while i pron surfed, weak and weary, over many a strange and spurious site of 'hot xxx galore'. While i clicked my fav'rite bookmark, suddenly there came a warning, and my heart was filled with mourning, mourning for my dear amour," 'Tis not possible!", i muttered, "give me back my free hardcore!" quoth the server, 404."
Reply With Quote
  #6 (permalink)  
Old 12-27-08, 12:12 PM
landing's Avatar
landing landing is offline
Coding Addict
 
Join Date: Jul 2006
Location: Scotland
Posts: 302
Thanks: 0
Thanked 0 Times in 0 Posts
pHP Sauce!
__________________
Always sanitise your data


Best regards
Reply With Quote
  #7 (permalink)  
Old 12-27-08, 12:15 PM
DAL's Avatar
DAL DAL is offline
Code Master
 
Join Date: Jun 2003
Location: North East England/UK
Posts: 874
Thanks: 0
Thanked 0 Times in 0 Posts
what? I must have missed something but what did you mean by that
__________________
"once upon a midnight dreary, while i pron surfed, weak and weary, over many a strange and spurious site of 'hot xxx galore'. While i clicked my fav'rite bookmark, suddenly there came a warning, and my heart was filled with mourning, mourning for my dear amour," 'Tis not possible!", i muttered, "give me back my free hardcore!" quoth the server, 404."
Reply With Quote
  #8 (permalink)  
Old 12-27-08, 12:24 PM
Anise Verona's Avatar
Anise Verona Anise Verona is offline
New Member
 
Join Date: Dec 2008
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Thanks guys

Hey..thanks for the advice..really appreciate it..
I'll give it a try.

Quote:
Today 02:12 AM
landing pHP Sauce!
ya, i don't understand what you mean by this, landing.
Reply With Quote
  #9 (permalink)  
Old 12-27-08, 12:33 PM
landing's Avatar
landing landing is offline
Coding Addict
 
Join Date: Jul 2006
Location: Scotland
Posts: 302
Thanks: 0
Thanked 0 Times in 0 Posts
haha, sorry. Possibly a (rubbish) private joke. I love PHP so much that I have it on my chips

pHP Sauce
__________________
Always sanitise your data


Best regards
Reply With Quote
  #10 (permalink)  
Old 12-27-08, 12:44 PM
DAL's Avatar
DAL DAL is offline
Code Master
 
Join Date: Jun 2003
Location: North East England/UK
Posts: 874
Thanks: 0
Thanked 0 Times in 0 Posts
oh I see - I missed the casing of HP Doh!
__________________
"once upon a midnight dreary, while i pron surfed, weak and weary, over many a strange and spurious site of 'hot xxx galore'. While i clicked my fav'rite bookmark, suddenly there came a warning, and my heart was filled with mourning, mourning for my dear amour," 'Tis not possible!", i muttered, "give me back my free hardcore!" quoth the server, 404."
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
PHP5 Hosting account for FREE w/ any purchase! mxhub General Advertisements 0 10-07-04 11:52 AM


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