dag_10 Posted April 2, 2006 Share Posted April 2, 2006 Hi! I know HTML but not php.I don't know if I should learn php because I don't know what is all that can be done with it. I was wondering, is it possible to make a chatroom with just php and HTML? Do I have to know another code also? Does it cose money? I hope someone can help. Thanks.--Drew Link to comment Share on other sites More sharing options...
umekille78 Posted April 3, 2006 Share Posted April 3, 2006 Hi Drew!As far as I know PHP is free to use. You need a PHP program on the webb server to be able to use PHP in your HTML code.Building a chatroom can be done whit HTML and PHP but its easyer to get it nice and functional if you use JavaScript as well.PHP is a server side SCRIPT language and JS is a user side script language.If you give me your email I can send you a working chat-room in HTMP/PHP/JS. Its as easy as you can emagin but it works. You probably need to rewright it to get it to work as you like but its a start anyway./Per Link to comment Share on other sites More sharing options...
real_illusions Posted April 3, 2006 Share Posted April 3, 2006 If you give me your email I can send you a working chat-room in HTMP/PHP/JS. <{POST_SNAPBACK}> why not post it here for everyone to learn from? Link to comment Share on other sites More sharing options...
umekille78 Posted April 3, 2006 Share Posted April 3, 2006 why not post it here for everyone to learn from?<{POST_SNAPBACK}> Becouse its written in 3 different files and its alots of code. Thats why!! Link to comment Share on other sites More sharing options...
real_illusions Posted April 3, 2006 Share Posted April 3, 2006 ah..well..if you could attach files..then you could post it here.or make one really looooooooooooooooooooooong post Link to comment Share on other sites More sharing options...
calvin182 Posted April 3, 2006 Share Posted April 3, 2006 yea if you could post it that would be cool. just use codeboxes to separate into different files if you do. Link to comment Share on other sites More sharing options...
reportingsjr Posted April 5, 2006 Share Posted April 5, 2006 That would be nice, but can we set the server and port? (I need a chatroom for a server that already has a bunch of stuff). Link to comment Share on other sites More sharing options...
yoshida Posted April 6, 2006 Share Posted April 6, 2006 The way I see it, using a php chatroom would also require MySQL, it would look like a forum except each person's text is chunked as one big heap. And the page would have to refresh every two seconds (requiring you to work with frames if you want to enable the user to type properly).But that's just my guess. JS is a ######, but still one of the best ways to tackle this thing.EDIT: I love the auto-censor thingy on these forums! Wonder what happens if I wrap 'the word' in code tags... Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now