|
|
|
|
![]() ![]() |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members
Posts: 206 Joined: 6-October 09 From: somewhere where arent others Member No.: 89,308 myCENT:81.53 |
Post
#1
Oct 7 2009, 01:51 PM
I want to show you my new project,chatting.I am sorry because it is on Macedonian but the idea is that what i want to show you. I haven't domain so i needed to use free-frame domain www.ndvf.tk The script is working on this way: 1.First JavaScript need to use AJAX to connect with PHP.Then PHP checks how much chat is written.If there are more then 10 lines it starts new page,to prevent scrolling. 2.If PHP checks that there aren't 10 lines it shows everything what is stored in one file with the chatting history. 3.When you click on the button to write message JavaScripts send the username and message to PHP 4.PHP is storing the message to the file with history. This project is open-source and you can see the script for ajax in the ajax.js file.Remember all that 200 lines aren't written by me,that 200 lines are to make AJAX working.Last lines,with comment //zapocnuvanje na chatot (starting chat) are written by me.The PHP script is not open-source and its hidden.If some user wants it,i will give him |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members
Posts: 1,138 Joined: 23-January 05 From: Valley of Darkness Member No.: 3,388 myCENT:92.80 |
Post
#2
Oct 7 2009, 02:47 PM
Why don't you give your chat programs URL ? Is it not hosted on any free server yet ? Try uploading it on some free hosting sites. We'll give you feedback if you give us URL of chat program. and almost forgot, welcome to TP17.
|
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members
Posts: 206 Joined: 6-October 09 From: somewhere where arent others Member No.: 89,308 myCENT:81.53 |
Post
#3
Oct 8 2009, 03:20 PM
Why don't you give your chat programs URL ? Is it not hosted on any free server yet ? Try uploading it on some free hosting sites. We'll give you feedback if you give us URL of chat program. and almost forgot, welcome to TP17. You didn't see the link www.ndvf.tk?If not read again |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Post
#4
Oct 8 2009, 03:57 PM
I just tested your chat box. First thing is you haven't make good interface. you should make table or something to make a sofisticated interface and secondly you need to use pagination to show history after 10 posts. there are many ways for the pagination. the simplest way is use some classes widely available on different website.
|
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members
Posts: 206 Joined: 6-October 09 From: somewhere where arent others Member No.: 89,308 myCENT:81.53 |
Post
#5
Oct 8 2009, 04:22 PM
I just tested your chat box. First thing is you haven't make good interface. you should make table or something to make a sofisticated interface and secondly you need to use pagination to show history after 10 posts. there are many ways for the pagination. the simplest way is use some classes widely available on different website. Sorry i removed that 5 php lines that make history dissapear.After you post i added the code and it works now...For the design i know.I am not good with that thing but i don't want to use free css html templates because my web-site will be the same like others with that template.This wasn't to show you my design skills it was to show you my php chat program.If somebody wants to give him the script i will add new features and admin panel.This was just a project to show that AJAX can make connection with PHP and that PHP chat can work without refreshing site,without forms submiting |
![]() ![]() |
Similar Topics
| Topic Title | Replies | Topic Starter | Views | Last Action | |||
|---|---|---|---|---|---|---|---|
![]() |
45 | jacob | 17,495 | 5th November 2009 - 05:00 AM Last post by: Soviet Rathe |
|||
![]() |
1 | SamiFX | 1,144 | 6th May 2007 - 06:03 PM Last post by: hitmanblood |
|||
![]() |
10 | wassie | 6,241 | 16th June 2006 - 05:04 AM Last post by: OpaQue |
|||
![]() |
4 | spyshow | 6,578 | 21st September 2004 - 03:19 AM Last post by: Spectre |
|||
![]() |
13 | spyshow | 7,282 | 29th September 2004 - 10:40 PM Last post by: odomike |
|||
![]() |
4 | Saint_Michael | 3,941 | 29th September 2004 - 08:52 PM Last post by: alperuzi |
|||
![]() |
2 | 2091 | 4,066 | 9th October 2004 - 08:13 AM Last post by: 2091 |
|||
![]() |
24 | mayank | 3,128 | 5th September 2009 - 04:19 PM Last post by: iG-Jeff |
|||
![]() |
227 | nicky1 | 53,322 | 2nd April 2009 - 10:19 AM Last post by: random truth |
|||
![]() |
20 | Travis18520 | 7,493 | 5th May 2009 - 04:46 PM Last post by: iG-GenerationGirl |
|||
![]() |
11 | cse-icons | 16,245 | 12th July 2008 - 07:55 PM Last post by: iGuest-Giri |
|||
![]() |
1 | Bullseye | 3,183 | 6th November 2004 - 04:04 PM Last post by: Bullseye |
|||
![]() |
3 | -Dex- | 2,376 | 13th November 2004 - 10:11 AM Last post by: -Dex- |
|||
![]() |
0 | winsonfeel | 2,046 | 4th December 2004 - 07:44 PM Last post by: winsonfeel |
|||
![]() |
1 | khmerneed | 2,672 | 15th December 2004 - 04:23 PM Last post by: krap |
|||
|
Open Discussion | Time is now: 24th November 2009 - 09:24 PM |
Web Hosting Powered by ComputingHost.com.