Mobile_Chat_v1_Xhtml1.0 (Very New)

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

    Mobile_Chat_v1_Xhtml1.0 (Very New)

    /**
    * @Author Ghost (Xhtml Creator, Wml Major Updater) - (Fully Taken Over)
    * @PreviousAuthor Deviance Aka Wappy - (Retired Wml Creator/Updater) - (Gone)
    * @Copyright 2012 - Mobile Chat Xhtml
    * @Version 1.0
    * @Description Flat File Xhtml Chat With Sessions And Encrypted Passwords
    * @Description (Should Be Working On All Servers)
    * @HTMLVersion Xhtml 1.0 Transitional EN
    */

    ================
    CHANGES IN v1
    ================
    (NEW)
    1. Rewrote from wml to xhtml

    (NEW)
    2. uses sessions to stay logged in

    3. recoded staffroom folder / staff only files etc.
    (due to sessions being added, entering these pages as a non)
    (staff member was possible by entering address in url, so had to)
    (put measures in place to stop this activity.)

    4. ripped out all password checks throughout all files except login/registeration etc.
    (due to sessions now checking for validation after these pages.)
    (this had to be done. php checks was conflicting with session checks)
    (and showing both logged in and logged out signs at same time.)

    5. rewrote ALOT of the code/files to perform better.


    6. fix all $_REQUEST variables to their respective/proper $_GET/$_POST variables.


    7. Finally fixed an on going error in rss new feeds.
    (may still have issues with 1 rss feed, (latest published stoires))


    8. removed jump boxes in avatar/smiley pages. still have: Prev | Next links.
    (these was causing some conflictions for the time being so removed for now)


    (NEW)
    9. Dark Skin Smiley Pack. (great for black or white backgrounds)
    (replaced old mini pack due to white outlines appearing around smileys when)
    (using dark skins such as black.)


    10. has a stylesheet for using css.


    11. basically the whole script has been changed. obviously.
    and there is too much for me to list in full here.
    so im sure youll notice everything thats been done (So Far)
    when you go through the script yourself.

    =====================

    What You Can Do For Me:
    i need testers.
    i need comments.
    i need feedback.
    i need examples (if got an idea to improve something)

    without all this there really isn't anyway i will know on what i did wrong
    or what needs improving on. this is still my FIRST attempt at xhtml/sessions.
    so im expecting there should be alot i can improve on in the future with all your help.

    =======================

    thanks and likes are welcome.

    =======================
    Demo: Mobile Chat Xhtml v1
    Attached Files
    Last edited by Ghost; 03.06.12, 01:35. Reason: new demo link
    <?php
    include ('Ghost');
    if ($Post == true) {
    echo '

    sigpic
    alt='coding-talk.com!!' />';
    echo 'Sharing Is Caring!';
    } else {
    echo '

    alt='the username GHOST has been comprimised!' />';
    echo 'OMG SOMEBODY HELP ME!!';
    }
    ?>

    #2
    nice upgrades thnx to share in forum

    Added after 9 minutes:

    really nice share bhai
    Last edited by icedroplet1987; 23.05.12, 22:51.

    Comment


      #3
      rep

      Already said br0... nice share...
      ImPoSsIbLe iS nOthInG aS ImPoSsible ItSelF SaYs "I M POSSIBLE"

      Comment


        #4
        As I have mentioned before great work done mate as 1 of the only people that knows from what the script came from and how it worked always used it now its just better.
        My site: http://mimobifunclub.tk
        sigpic

        Comment


          #5
          I just had a quick look. Consider this,

          This is deprecated $PHP_SELF and see this about it
          http://coding-talk.com/f19/why-is-_s...for-use-13998/

          Change all like this
          PHP Code:
          $name $_POST['name']; 
          with
          PHP Code:
          $name = empty($_POST['name']) ? '' htmlentities($_POST['name'], ENT_QUOTES'UTF-8'); 
          Should convert and validate those first, ua is user input
          PHP Code:
          $user explode ('/'$_SERVER['HTTP_USER_AGENT']);
          $ip = ($_SERVER['REMOTE_ADDR']); 
          <!DOCTYPE html PUBLIC "-//WAPFORUM.RS

          Comment


            #6
            Originally posted by arnage View Post
            I just had a quick look. Consider this,

            This is deprecated $PHP_SELF and see this about it
            http://coding-talk.com/f19/why-is-_s...for-use-13998/

            Change all like this
            PHP Code:
            $name $_POST['name']; 
            with
            PHP Code:
            $name = empty($_POST['name']) ? '' htmlentities($_POST['name'], ENT_QUOTES'UTF-8'); 
            Should convert and validate those first, ua is user input
            PHP Code:
            $user explode ('/'$_SERVER['HTTP_USER_AGENT']);
            $ip = ($_SERVER['REMOTE_ADDR']); 

            thank you for your feedback and examples. i will defo look into this.
            ive been away for so long now its nice to have fresh eyes helping out.
            <?php
            include ('Ghost');
            if ($Post == true) {
            echo '

            sigpic
            alt='coding-talk.com!!' />';
            echo 'Sharing Is Caring!';
            } else {
            echo '

            alt='the username GHOST has been comprimised!' />';
            echo 'OMG SOMEBODY HELP ME!!';
            }
            ?>

            Comment


              #7
              You are welcome.
              <!DOCTYPE html PUBLIC "-//WAPFORUM.RS

              Comment


                #8
                Just tested the script on byethost.com hosting where the wml version never used to work on. Its working now without any problems and without having to set permissions just uploaded script to server and used ir righ away
                My site: http://mimobifunclub.tk
                sigpic

                Comment


                  #9
                  Originally posted by mobidev View Post
                  Just tested the script on byethost.com hosting where the wml version never used to work on. Its working now without any problems and without having to set permissions just uploaded script to server and used ir righ away
                  great news.. did you try the wml v3 on that server to? i would of thought that would of possibly worked as that was the very last one i did and has almost same structure as this xhtml one. except the fact this is sessions also.

                  though to be honest i put alot more thought behind this version than i did the wml one.
                  <?php
                  include ('Ghost');
                  if ($Post == true) {
                  echo '

                  sigpic
                  alt='coding-talk.com!!' />';
                  echo 'Sharing Is Caring!';
                  } else {
                  echo '

                  alt='the username GHOST has been comprimised!' />';
                  echo 'OMG SOMEBODY HELP ME!!';
                  }
                  ?>

                  Comment


                    #10
                    found syntax error.

                    as im now starting to work on putting new implements into the script i noticed i accidently didnt change
                    the format from wml to html on

                    guestbook/write.php

                    end of file shows.

                    PHP Code:
                    echo "</small>";
                    echo 
                    "</p>";
                    echo 
                    "</card>";
                    echo 
                    "</wml>"
                    it should be html.

                    PHP Code:
                    echo "</div>";
                        echo 
                    "</body>\n";
                    echo 
                    "</html>\n"
                    obviously this will be fixed by next release. but until now you can make the change yourselves simply enough..
                    <?php
                    include ('Ghost');
                    if ($Post == true) {
                    echo '

                    sigpic
                    alt='coding-talk.com!!' />';
                    echo 'Sharing Is Caring!';
                    } else {
                    echo '

                    alt='the username GHOST has been comprimised!' />';
                    echo 'OMG SOMEBODY HELP ME!!';
                    }
                    ?>

                    Comment


                      #11
                      Thx mate I will change it. I wondered why the guestbook redirected to another page if I click on a username. Byet redirect anything in wml to a hosting site or something
                      My site: http://mimobifunclub.tk
                      sigpic

                      Comment


                        #12
                        thanks awes0me scripting

                        Comment

                        Working...
                        X