Jump to content

birbal

Members
  • Posts

    2,543
  • Joined

  • Last visited

Posts posted by birbal

  1. It could be your setting "output buffering" ON which could implicitly start buffering your output and try to flush it at the end of the script or certain amount of bytes.

  2. any server side language can do these things. PHP would be good choice as most of webhost supports it and it is quite popular. so it is also increase chances of getting help from peers and third party libraries. In this forum most of people use PHP.If you are not already in PHP best would be starts from the basic from w3schools site and php.net site.

  3. echo "<script>\n";        echo 'var str = \"download\"' . "\n";        echo "document.write(str.link(\"http://www.myshedplans.com/12BY8SHED.pdf\"));\n";        echo "</script>\n";

    will be

    echo "<script type='text/javascript>\n";        echo 'var str = \"download\"' . "\n";        echo "document.write(str.link(\"http://www.myshedplans.com/12BY8SHED.pdf\"));\n";        echo "</script>\n";

  4. As already being said It is not crucial but it is to make things prettier. You can still make a fully functional website or application without them.Mod rewrite comes along with a module of apache. Mod rewrite also involved with regular expression. that is what you would like to learn first. Regular expression is also used in other context like php and JS. so it worths learning it. Being a designer you will hardly interact these backend stuff. but if you plan to do backend development you will need to use them so often.

  5. you can make and table for message and put a field as flag to mark them as read-unread. when user send an query you save the data to that table and mark that flag as unread. Now on employee script get all message where that column is unread. in this part you can use ajax to get periodic request to it to get unread message. All employee will be updated by any new unread message. when you pull data from the table for your employee to get it read you set the read-unread column to "read". if uou want to that your user also can read the sent message just dont set the read column when they read it. do it only for your employee.

    • Like 1
×
×
  • Create New...