Current location: Hot Scripts Forums » General Community » Script Requests » how do i do this


how do i do this

Reply
  #1 (permalink)  
Old 08-01-03, 11:45 PM
Henry's Avatar
Henry Henry is offline
Wannabe Coder
 
Join Date: Jul 2003
Location: Brisbane, Australia
Posts: 218
Thanks: 0
Thanked 0 Times in 0 Posts
how do i do this

ok ill make it short and sweet

does anyone know where i can get a javascript shout box or is it just not possible
__________________
henerz
Reply With Quote
  #2 (permalink)  
Old 08-03-03, 08:56 AM
Caimin Caimin is offline
Newbie Coder
 
Join Date: Jul 2003
Location: Rome, Italy.
Posts: 91
Thanks: 0
Thanked 0 Times in 0 Posts
You'll need a bit more than just Javascript because you need to store the messages somewhere. That means using something like PHP to save the messages in a file on the server, or in a database.
__________________
Caimin Jones
Freelance Flash, web + games developer
Reply With Quote
  #3 (permalink)  
Old 08-04-03, 05:01 AM
Henry's Avatar
Henry Henry is offline
Wannabe Coder
 
Join Date: Jul 2003
Location: Brisbane, Australia
Posts: 218
Thanks: 0
Thanked 0 Times in 0 Posts
ive seen it done with a simple text file but that used both javascript and php and because i know absolutely no php and my computer doesnt support it im just desperate to use java script but in the future i will get a half deasent computer and use php so thanks for ur response and yeah can u use a text file?
__________________
henerz
Reply With Quote
  #4 (permalink)  
Old 08-04-03, 08:25 AM
Caimin Caimin is offline
Newbie Coder
 
Join Date: Jul 2003
Location: Rome, Italy.
Posts: 91
Thanks: 0
Thanked 0 Times in 0 Posts
You only need use PHP to store and display the messages from a text file - there's no reason to use Javascript for this unless you want to.

The PHP functions you'll need to use are fopen() to open a file and fwrite() to write a file.
__________________
Caimin Jones
Freelance Flash, web + games developer
Reply With Quote
  #5 (permalink)  
Old 08-05-03, 01:38 AM
Henry's Avatar
Henry Henry is offline
Wannabe Coder
 
Join Date: Jul 2003
Location: Brisbane, Australia
Posts: 218
Thanks: 0
Thanked 0 Times in 0 Posts
cool thanks
__________________
henerz
Reply With Quote
  #6 (permalink)  
Old 08-05-03, 02:06 AM
MadDog MadDog is offline
Code Master
 
Join Date: Aug 2003
Posts: 935
Thanks: 0
Thanked 0 Times in 0 Posts
ya man, your gonna have to use php or something to write to a text file or database.

plain old javascript wont cut it for something like this.
__________________
Drew Gauderman
ASP - MSSQL Coder / Buisness Owner / Coder for Hire!
MSN-ICQ-AIM-YIM in Profile

http://www.iportalx.net an easy ASP portal system.
Reply With Quote
  #7 (permalink)  
Old 08-05-03, 07:38 PM
Asim's Avatar
Asim Asim is offline
Newbie Coder
 
Join Date: Aug 2003
Location: Lahore
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
u'll have to use some server side programming language that can get the msgz from the client side and store them in a database.

JavaScript cannot do this.
__________________
Asim Zeeshan, asim333 (at) gmail (dot) com
Reply With Quote
  #8 (permalink)  
Old 08-05-03, 07:39 PM
Asim's Avatar
Asim Asim is offline
Newbie Coder
 
Join Date: Aug 2003
Location: Lahore
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
and I'll prefer using php with mySQL
__________________
Asim Zeeshan, asim333 (at) gmail (dot) com
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump


All times are GMT -5. The time now is 10:48 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.