PHP/Java Question

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

CrazyPHPMan wrote:Well see php only way you can make refresh page is if you put a html tag in there to refresh it...
So you are sending information to the browser? If you are, then use HTML meta redirects. They are fast, simple and supported by almost all browsers.
CrazyPHPMan
Forum Newbie
Posts: 12
Joined: Sat Aug 12, 2006 4:14 pm

Post by CrazyPHPMan »

yes i know they are supported and all but see The Ninja Space Goat said why not put it all in php well i dont like to see the page refresh every 5 seconds see the browser refresh in java they have a script that make it where you dont see the page refresh it will refresh on its own inside the applet the java will only be for the fight part of the script which will be the bottom of the page and the chat will be right above it now like i said i would like to do it all in java but i cant find a chat room tutorial that would help me make it.
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

Well then, I think the only thing to do would to use AJAX. Applets are slow and can have undesired results in some cases. And if you don't actully want to see the refresh, then AJAX is the only way to go.
User avatar
christian_phpbeginner
Forum Contributor
Posts: 136
Joined: Sat Jun 03, 2006 2:43 pm
Location: Java

Post by christian_phpbeginner »

CrazyPHPMan wrote:now like i said i would like to do it all in java but i cant find a chat room tutorial that would help me make it.
What kind of tutorials do you mean ? The one that create a chat room ? Do you actually understand NETWORKING in Java ? You don't need any kind of tutorials to create a chat room in Java, IF you understand Java NETWORKING......
CrazyPHPMan
Forum Newbie
Posts: 12
Joined: Sat Aug 12, 2006 4:14 pm

Post by CrazyPHPMan »

no i dont understand Java Networking and yes i do need java chat room tutorials to understand Java chat room im not a complete smarty pants here.
User avatar
christian_phpbeginner
Forum Contributor
Posts: 136
Joined: Sat Jun 03, 2006 2:43 pm
Location: Java

Post by christian_phpbeginner »

CrazyPHPMan wrote:no i dont understand Java Networking and yes i do need java chat room tutorials to understand Java chat room im not a complete smarty pants here.
One can be smart if he/she gives his/her best !

I've searched google, and walaaaah.......there are bunch of sites which offer tutorials on Java Chat Room !....
Post Reply