Reply
Very Cool Script - I Can't Figure it Out!
Old 11-21-2007, 11:31 AM Very Cool Script - I Can't Figure it Out!
Junior Talker

Posts: 2
Hello everyone,

I just found a web site running a really cool script but I can't figure out how they do it.

The script is located at http://www.smalltime.com/Anonymous

Can someone help me figure out how it is coded? I'm "OK" with PHP but could be a lot better. Know what I mean?

Thanks for your help!

Brandon
successfirst is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
Old 11-21-2007, 11:41 AM Re: Very Cool Script - I Can't Figure it Out!
hamesy's Avatar
PR is NOT important!!!!

Posts: 575
Name: Steve
Location: Birmingham, England
Off the top of my head, you can store the message in a table within a DB. All you need is one field to store the message.

When the user clicks on the "Fire Away!" button, the previous message is pulled from the database and stored in a variable. The new message is then inserted into the database, and then the contents of the variable is displayed on the screen.

However, I don't see the point in the script. No offense but it's probably one of the lamest things I've seen on the Internet.
__________________
Hamesy
Affordable and Reliable Hosting: Pastilles Networks
Jay Jay Marine: Sail into your dreams...

Last edited by hamesy : 11-21-2007 at 11:42 AM.
hamesy is offline
Reply With Quote
View Public Profile Visit hamesy's homepage!
 
Old 11-21-2007, 04:23 PM Re: Very Cool Script - I Can't Figure it Out!
Skilled Talker

Posts: 73
Name: Mattias Nordahl
Location: Sweden
Or you could simply read the content from a file (previous message) and display it. And in the process you would replace the content with the new one, written in the form field.
lizciz is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Very Cool Script - I Can't Figure it Out!
 

Thread Tools

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

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




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.13025 seconds with 12 queries