Web Analytics Made Easy -
StatCounter Live chat script - CodingForum

Announcement

Collapse
No announcement yet.

Live chat script

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Live chat script

    I am trying to create a live chat script. I know there are ALOT about and for free, but I'd like a go at developing my own. I have the form etc but I have two main questions:

    Is the form action '_SELF' or something similar?
    How do I save the input text to a remote file to call back later as the output?

    Thanks, help greatly appreciated

    Dave
    Dave

  • #2
    write to file:
    PHP Code:
    <?php
    $file 
    fopen($my_file,"w");
    fputs ($file$_POST["data"]);
    fclose($file);
    ?>
    PHP Code:
    <?php $PHP_SELF?>
    -Celt

    ps. those are down and dirty, not including error checking, etc.

    Comment


    • #3
      thanks alot, cheers
      Dave

      Comment

      Working...
      X