pikaz
Apr 4 2005, 07:52 PM
| | 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
Apr 5 2005, 01: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.
Reply
karlo
Apr 5 2005, 11:01 AM
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
Apr 6 2005, 12:38 PM
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
Apr 20 2005, 01:19 PM
<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
Apr 20 2005, 03:15 PM
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
Oct 8 2005, 03:26 PM
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
Similar Topics
Keywords : java, login
- Call Pdf995 From Java
(0)
Can't Login To Any Software On My Site
anyone know how to fix? (3) In a subdomain of my site I have an installation of MediaWiki, and until now it's been working
fine. But today I've been having trouble with it. Previously, whenever I logged into MediaWiki
it worked first time and I would stay logged in for about an hour, even without the "Remember Me"
option checked. But I tried logging in now, and after logging me in, the next page I went to showed
me as "not logged in". I cleared the cache as I know this has been a problem before, and then tried
logging in again, but it still said I was not logged in! So I tried one more ....
I Need Help With Setting Up My Site, Made Using Java
any help would be appreciated (5) I just got web hosting approved and I want to host the site I created using Struts framework.
I'm a complete newb when it comes to web hosting, so I need a little help. Is there a tutorial
that covers this subject? I apologize in advance if this question was already answered, but
I've been unable to find the answer anywhere. One thing I have to note is that I need to know
absolute address of the uploaded files in order for my application to work. Is this even allowed?
Any help with hosting of Java applications will be appreciated.....
[chsupport #ecn-115724]: Ftp/cpanel Login Problem
(7) Please take a look at this. Ticket ID: ECN-115724 Subject: FTP/Cpanel Login Problem Department: CH
Support Thanks.....
Java Game
(2) Hi, I'm interested in game creation on websites. The game should be playable via web browser.
I'm not new in programing, I know C++, C# and OpenGL api. But I'm new on Java. So I have
some questions I want to ask You: Will I'l be able to create simple 2d game with java which
would be playable via web browser? Simple 2d game means: timers, images, animated sprites, in game
font. Will I'l be able to use OpenGL? Or I should use something different? Does Trap17 suports
java graphics features I want? Thank You for Your time and answers.....
Learn Java Programming Language Online Step By Step
(0) I had found this site >> http://learnjava.awardspace.com This website is for people who want
to learn Java Programming Language step by step. This website also includes JAVA lessons from the
beginning to advanced level. So this site appropriates for the beginner of Java programmer language
or non-basic Java Programming Language. The lessons are easy to follow and understand starting
from how to get your PC JAVA ready, the fundamental programming concept and creating the real
application. Moreover, the working examples are also included. Please enjoy the les....
Cant Login To Cpanel On A Just Made Account O_o
(2) yes,i cant login i can login to normal panel but not to cpanel i get an error every time i login i
created a ticket some days ago and im not getting a responce please help me ThePro....
Java Object[][] Help
(2) I'm having some issues with working with objects . I get an index out of bounds ex.
Exception in thread "AWT-EventQueue-0" java.lang.ArrayIndexOutOfBoundsException: 0 heres how
I'm using it ---------------------------- Object contestants = new Object {}; contestants
= "test"; any ideas appreciated. Do I need to specify the initial size on creation or something?
It seems I answered my own question I gave it an inital size then I was able to add things. But is
there a way I can add to it on the fly without knowing its require maximum size?....
Free Java Hosting?
(2) Hii.. just want to know if Trap17 provides the java(jdk)/jdbc/mysql as free hosting?? In case, it
doesn't provide these. Can anyone guide me to a free java host? Thanks. Manu....
Java Vs Javascript
(11) I thought they were completely different things. Surely javascript should be seperated from the rest....
Apache Tomcat And Java
Will they run on package1/2 (0) Hi, Ive made a couple of Java servlets for a website and was wondering if it is possible to use them
w/ the free hosting package is an application environment such as Tomcat? Dunk....
Cpanel Help, Trouble Logging In.
Cannot login as it states "Login Attempt Failed!" (4) Before I was able to login within my Cpanel without problem but now I try to login and it states
"Login Attempt Failed!" which makes no sense. I made sure nothing was written incorrectly within
the fields but yet I get this error. ;-; I hope I wasn't hacked or anything.... anyone has any
idea of what this could mean?....
Java Or C++
(2) Many having tell me to make my MMORPG in java leads me to agree, But I'm not sure truly is it
not yet easier, but yet the outcome of programming an MMORPG in java will make it fail or succeed
more then one in C+= I've learned a lot of variables in javascript, and I don't think that
java would be too bad either. My true question is, is those who use these languages, which seems
to give better outcome, and which seems to be more in ease. Regards -PCessna....
Budding Java Game Developers?
Ever wanted to make your own java web-based game, but not had the time (8) Right, this is the first post of hopefully many in this thread. Basically the idea is to get many
developers together to share ideas and knowledge to create our very own game. First we'll be
asking for is any ideas of what kind of game everybody would like to make, and then we'll set
about assigning tasks depending on everybodies skills. We will need programmers, artists,
web-designers, even admin and marketing. This will be freeware, but the experience will be great.
So, ideas anyone?....
Wysiwyg Jscript Editor
I need a good Java Script Editor (3) Can any of you guys give me a good Java Script Editor. I really need one badly. I make Java Script
goodies as an addon for my web site but it really takes a lot of my time to type all those similar
code blocks over & over again, Could any one please provide me such an editor as Microsoft Visual
Basic or Visual C++. I mean the IDE shold have similar features. ****Above all it should be a free
one**** Thanks in adv. Dave....
I Have Install Windows 2003 Server
I want multiple user to login my server (4) I have install windows 2003 server and some application like iis, share point, etc.my development
time want remote desktop for few user so I want multiple user to login my server but I have not
install active directory and I don’t want to install so tell me the best way to resolved the problem....
Jsp Or Java Chat Script Like Mig33
(4) so most of you guys know mig33. its a wap application,probaly java.most kindly to be java. does
anyone have java knowlege or knows where i can get a chat script like mig33? i also know this server
supports jsp so im planing to use it for my application. i was hosted here last year but moved
because i found a better host. now im back just to use the jsp on this server. Im planing to run
chat applictions so if any one wants to help me in my project let me know.....
The Power Of Java
the best application that shows java features (14) Java technology has various usage from mobile applications to Enterprise applications. I think the
power of Java technology in web applications and applets is showed in "meez.com" where u can create
your own 3d avatars. /rolleyes.gif" style="vertical-align:middle" emoid=":rolleyes:" border="0"
alt="rolleyes.gif" />....
Innovative Login System
A new way to login to a website (17) Hi, I came across this website www.planmylifestyle.com which offers an innovative login system. In
the traditional login system, a user is asked to enter a username and password besides many other
personal information. In this website, to register the site creates an ID file that the user can
download to the local hard drive. After registration, to login to the website, the user has to
simply upload the registered ID file (browser and select ID file from local hard drive) and click on
the Login Button. The user is then taken to the website which seems to be a searc....
Flatfile User Login/signup
Uses text files only (compatable with forums and message system) (24) With this tutorial, you will learn how to create a textfile login script. This user membership
script is for use also with my forums and message system scripts. I will also give you the scripts
to make it so that people can change their profiles. Ok, The first thing we need to do is make the
database. To do this, create a blank text file called 'userdata.txt' , make sure it is ALL
LOWER-CASE. Edit this file and put
'**username|##|password|##|email|##|rank|##|userid|##|name|##|picture**'. This will not be
used, however it will give you an idea of how the....
Computer Admin Login With Lost Password?
Hack my own comp. (15) Im trying to fix some things on my acount but, i hava to be able to log into my Admin. acount. my
dad had the comp. before me and he forget the password to get into the acount. how do i hack into my
own computer to get the password, or is there any way of defragging my comp. without being a admin?....
Java Helpdesk
All your queries regarding Java Programming goes here. (8) Hellow friends, I am creating this thread for all queries and suggestions related to java coding. If
you face any problem, post it here, and others who have a solution can post the reply here. Hope it
helps the users.....
Hotspot Virtual Machine Exception_access_violation
conflict between Sun Java and Windows (4) i was just messing around as usual on the net, and when i was closing everything down, i noticed
this file on my desktop 'hs_err_pid3672' its a text file, i have no idea what it is and cant
understand anything in it, but its kinda freakin me out, so i would appreciate anything you guys
have to say about it CODE # # An unexpected error has been detected by HotSpot Virtual
Machine: # # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x7c9010f3, pid=3672,
tid=1928 # # Java VM: Java HotSpot(TM) Client VM (1.5.0_06-b05 mixed mode, shar....
How To Create Java Button Or Frame
to be customized (12) hi to all!!!! just like to ask if it would be possible if i could make a custom
button or frame in java. i got tired of using the build infeatures in java. i would like to create
my own dessign of button or frame.. can it be possible!!! /biggrin.gif' border='0'
style='vertical-align:middle' alt='biggrin.gif' /> thank!!!! /laugh.gif'
border='0' style='vertical-align:middle' alt='laugh.gif' /> New Help In! is NOT a descriptive
topic title. Next time you decide not to follow the posting rules, you will be issued a w....
User Login And Tracking
(4) know vba with MSAccess but need to create a web app of an MS Access App. I need to make it multi
user with the user only being able to see and edit his own data. The db is quite simple and could
have only a single table, but could divide into one main table with a couple of relational tables.
I need the user to be able to login in and create his own password. I would want the user to have to
validate (e-mail) simular to registering for this forum. I noticed that this forum is PHP driven. I
thought that might be a better solution but a higher learning curve from vba t....
[help] Java Script: Window.open
Works with Firefox, not IE (8) CODE <HEAD> var popUpWin=0; function popUpWindow(URLStr) {
if(popUpWin) { if(!popUpWin.closed) popUpWin.close(); }
popUpWin = open(URLStr, 'GunBound Tactics: Screenshots',
'width=820,height=550,menubar=no,resizable=yes,scrollbars=yes,toolbar=no,top=90,left=90')
;; } </HEAD> <BODY> <a
href="javascript:popUpWindow('/f11/clipped.php');"><b>Clips&
#60;/b></a> This is a script for opening a new window. It works ....
How To Put A Phpbb Login Box On Your Main Site.
Code and .php included!!! (18) I have included my coded file with this... Ok here is the code. CODE // //Create login area,
replace the phpBB2 in /phpBB2/login.php with your forum's //directory // <form
action="/phpBB2/login.php" method="post" target="_top"> <table
width="25%" cellspacing="2" cellpadding="2" border="0"
align="center"> <tr> <td align="left"
class="nav"><a href="/phpBB2/index.php" class="nav">Prank Place
Forum Index</a></td>....
Java Script Drop Down Menu With Css
- a full code for a dynamic drop down (2) Introduction This is a code that I use to dynamically create the drop down menus. First, you have
to edit the following code and put it in your Javascript. Notice : /*** SET BUTTON'S FOLDER HERE
***/. Edit that to your folder. Also, the /*** SET BUTTONS' FILENAMES HERE ***/. This creates a
mouseover when the drop down is activated. Put all your onmouseover images under: oversources = new
array; and your onmouseout images under : upsources. Be sure to set your on and out images above
each other. CODE /*** SET BUTTON'S FOLDER HERE ***/ var buttonFold....
Complete Login System
With PHP + MYSQL (56) Its an complete login sistem made and tested by me and I think itwill be very usefull for people who
are tryn to learn PHP. First, let's make register.php: CODE <?
include("conn.php"); // create a file with all the database connections
if($do_register){ // if the submit button were clicked if((!$name)
|| (!$email) || (!$age) || (!$login) ||
(!$password) || (!$password2)){ print "You can't let
any fields in blank....
Auto Run Java Program
Run Java program on double click (11) Some of the installables in java comes in form of .jar file, one has to just double click or type
"java -jar file.jar", and it starts executing. The reason for this is a line appended in the
MANIFEST.MF file of that jar file. For writing a similar jar file of your own, just write your java
file, then compile the same and create a jar file. Create a MANIFEST.MF file and the content should
have the followings: CODE Manifest-Version: 1.0 Created-By: xyz Main-Class:
xyz.MainClass Here xyz.MainClass is the main class. Now create a jar file with the man....
Looking for java, login
|
|
Searching Video's for java, login
|
advertisement
|
|