Java + Login

free web hosting
Open Discussion > CONTRIBUTE > The Internet > Web Design

Java + Login

pikaz
How well does java script work with a mysql databse for gaming and such? if not, then what would you recommend for logging in and storing information for an online game and does anyone have links to simple scripts and/or tutorials?

Reply

beeseven
First, Java != Javascript.
Second, PHP is the best language for dealing with mySQL and it's also really easy to learn.
php.net is a really good resource, and there are some tutorials here in the tutorial section.

Reply

karlo
QUOTE(beeseven @ Apr 5 2005, 09:27 AM)
First, Java != Javascript.
Second, PHP is the best language for dealing with mySQL and it's also really easy to learn.
php.net is a really good resource, and there are some tutorials here in the tutorial section.
*


PHP is really the best language. It's the first web-programming language that i learned. And I don't want to learn any other language! I just love PHP! Every one has PHP!

Reply

pikaz
the mian problem i have come across with php is that it actually doesn't have alot of real time functionability like java does. I like php and all, but I think I want to actually end up using both. But does java have another form of databasing that is easier then?

Reply

ostgur
<script language="Java Script">
if (document.formname.gap_name == 'LOGIN' && document.form_name.gap_name.value == '123456789'){
window.open("page_after_check.htm");
}
</script>

Reply

Spectre
JavaScript is client side only. It has no way of interacting with the server other than retrieving documents from it as a web browser would.

If you want to use MySQL, you are going to need to use a server-side language such as PHP or Perl. As has been mentioned, PHP is easier to learn, and has great MySQL functionality.

In theory, you could have JavaScript submit information to a script located on the server that would then process the information accordingly; however, this would open up all sorts of security issues and is most definately not a good idea.

Reply

vitrus
Depends on what kind of game you are running but I sincerely suggest you use PHP and mySQL. Even if your game is a flashgame, the trouble will than be how to build a link between the flash (actionscript 2.0) and php...

Maybe actionscript can connect to mySQL itself these days?

Reply



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.


*RANDOM STUFF*





*SIMILAR VIDEOS*
Searching Video's for java, login

*MORE FROM TRAP17.COM*
advertisement



Java + Login



 

 

 

 

ADD REPLY / Got an Opinion! a humble request :-) RAPID SEARCH! Free Hosting [X]
Express your Opinions, Thoughts or Contribute your information that might help someone here.
Ask your Doubts & Queries to get answers.. "Together, We enlight each other!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE