| | |
Perl question
Please support our Perl advertiser: Programming Forums - DaniWeb Sister Site
![]() |
•
•
Join Date: Dec 2006
Posts: 13
Reputation:
Solved Threads: 0
Hello,
I have a question about perl I wanna connect a program for example a login/user creation to a website It a program That once you make an Account it sends that account to the game server which requires login to play And once you make that Account you can Online. So What I want to do to is have a program where you can create ur account and it sends it to The game server so then you can login
I have a question about perl I wanna connect a program for example a login/user creation to a website It a program That once you make an Account it sends that account to the game server which requires login to play And once you make that Account you can Online. So What I want to do to is have a program where you can create ur account and it sends it to The game server so then you can login
•
•
Join Date: Dec 2006
Posts: 13
Reputation:
Solved Threads: 0
Ok take a look at this source http://www.prodigywow.info/register.php
It a private Server for WoW I dont play on it just found that When you register it sends it to a folder on the server And there u go u can play Basicly What I want is U go to the site you register it sends it automaticlly to the folder and there u go U go an account is there anyway I can do that?
It a private Server for WoW I dont play on it just found that When you register it sends it to a folder on the server And there u go u can play Basicly What I want is U go to the site you register it sends it automaticlly to the folder and there u go U go an account is there anyway I can do that?
•
•
Join Date: Dec 2006
Posts: 13
Reputation:
Solved Threads: 0
I dont know if that Was good enough to explain
Ok I have a game lets pretend Its a mmorpg Heh
It requires login to play...
What you do is you go online you agree to the stuff you type in a code Its correct you move foward to the accout creation page
Your there you type in ur name and password... You hit accept it sends it to the account folder where all the acounts are and its now a Txt file which when you try to login it searches for it and ur on!
Ok I have a game lets pretend Its a mmorpg Heh
It requires login to play...
What you do is you go online you agree to the stuff you type in a code Its correct you move foward to the accout creation page
Your there you type in ur name and password... You hit accept it sends it to the account folder where all the acounts are and its now a Txt file which when you try to login it searches for it and ur on!
It sounds like what you are asking for is bascially a robot that automatically signs you up, and most servers hate people that do that because 999 out of a 1000 times it would be used for some type of abuse. I personally have no interest in helping you with this question besides what I already said, look into WWW::Mechanize (perl).
So search for some Auth module on CPAN/ActiveState that might help you. There are lots of them.
Java Programmer and Sun Systems Administrator
----------------------------------------------
Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.
--Brian Kernighan
----------------------------------------------
Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.
--Brian Kernighan
•
•
Join Date: Dec 2006
Posts: 13
Reputation:
Solved Threads: 0
Uhhh I dont know didnt really look at it what I am saying is this... I have a "Game" That I want your to LOGIN for the game. You need to create a account on my games website... You clik the link you Put in your information, you click "Submit" Then it sends that information DIRECTLY to the the server. Do I need to have the game make a little site login thing with the port 80 at the end for example http://Thecoolestfp.com:8080 ? Or can I just add something on my website like a script program something...
You don't need to deal with ports or FTP to do this. What you require can be done with a form on your website and a Perl script to process the form on the server. There may be open source scripts that can fill your requirements already out there (try HTadmin). However, if you want / need to implement your own solution you need to first assess your requirements. The script will need to do the following things:
1. Validate and process the submitted registration forms.
2. Update a record of registered users, using either a text file or a real database.
3. Process login forms and check username / password details against your database / text file.
4. Serve "members only" pages to those who submit the correct details.
If you do take this approach, look into cgi-lib. It's a Perl library that will make processing forms easier. Also, be sure to check your code is secure before putting it on your website or you might get hacked into. I think your best bet though is to search for existing scripts on Google. Good luck.
Steven.
1. Validate and process the submitted registration forms.
2. Update a record of registered users, using either a text file or a real database.
3. Process login forms and check username / password details against your database / text file.
4. Serve "members only" pages to those who submit the correct details.
If you do take this approach, look into cgi-lib. It's a Perl library that will make processing forms easier. Also, be sure to check your code is secure before putting it on your website or you might get hacked into. I think your best bet though is to search for existing scripts on Google. Good luck.
Steven.
![]() |
Similar Threads
- Win32 Perl - CreateProcess (Perl)
Other Threads in the Perl Forum
- Previous Thread: dynamic "use"
- Next Thread: Perl 6 and Haskell
Views: 2827 | Replies: 13
| Thread Tools | Search this Thread |
Tag cloud for Perl






