Mobile_chat_2.0.1_wml1.1en

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

  • Ghost
    replied
    Originally posted by razib View Post
    Hello Ghost,

    Thanks for your reply i have created a .htaccess file n put php_flag register_globals on but still I m getting same error
    a/w i am trying this script on hostgator, maybe bad luck can't use it,
    I m searching a normal Chat script w/o database problem

    its working on the host > Free Web Hosting with PHP, MySQL and cPanel, No Ads
    using the .htaccess file to manipulate register_globals

    maybe you may consider joining them. it seems to be running the chat script fine
    if you (once registered with them) goto > 000webhost.com Members Area
    enter your new details there and turn off analytic tracking code, if its not turned off it breaks
    your script. other than that the server works perfect except the fact its not allowing the rss feeds
    to appear. ive asked the hosts about this and they would look into it. as i know the feeds are working
    on 6te.net

    i have been told that it is also working on 6te.net but atm ive not had success.
    granted the rss feeds seem to work fine there but the chat script seems to keep telling me in banned lol.

    anyway. i wont go on any longer. try Free Web Hosting with PHP, MySQL and cPanel, No Ads if your looking to have the chat **** working regardless
    of rss feeds not appearing. that file/folder can easily be hidden just by removing/commenting out the link pointing to it.

    here is a demo of the script working. although this is the multi-room version.
    everything is set up for testers to try reg/log/chat.

    DEMO: http://mobile-chat.uk.to/demos/multi-room/index.php

    hope this helps.


    P.S. before you do decide to change hosts. rather than using the
    PHP Code:
    php_flag register_globals on 
    function in .htaccess

    try the code from my actual .htaccess file.

    PHP Code:
    # Do not remove this line, otherwise mod_rewrite rules will stop working
    RewriteBase /

    IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*

    <Limit GET POST>
    order deny,allow
    deny from all
    allow from all
    </Limit>

    <
    Limit PUT DELETE>
    order deny,allow
    deny from all
    </Limit>

    php_value register_globals 1
    DirectoryIndex index
    .php

    <Files *.txt>
    order deny,allow
    deny from all
    </Files>

    RewriteEngine On
    RewriteCond 
    %{QUERY_STRINGmosConfig_[a-zA-Z_]{1,21}(=|\%3D) [OR]
    RewriteCond %{QUERY_STRINGbase64_encode.*\(.*\) [OR]
    RewriteCond %{QUERY_STRING} (\<|%3C).*script.*(\>|%3E) [NC,OR]
    RewriteCond %{QUERY_STRINGGLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]
    RewriteCond %{QUERY_STRING_REQUEST(=|\[|\%[0-9A-Z]{0,2})
    RewriteRule ^(.*)$ index.php [F,L

    this uses the
    PHP Code:
    php_value register_globals 1 
    rather than

    PHP Code:
    php_flag register_globals on 
    Last edited by Ghost; 21.04.12, 18:23. Reason: More Details.

    Leave a comment:


  • razib
    replied
    Hello Ghost,

    Thanks for your reply i have created a .htaccess file n put php_flag register_globals on but still I m getting same error
    a/w i am trying this script on hostgator, maybe bad luck can't use it,
    I m searching a normal Chat script w/o database problem

    Leave a comment:


  • Ghost
    replied
    Originally posted by razib View Post
    i m getting 500 Internal Server Error
    you will now, its a very old script that requires register_globals to be turned on.
    so its only working now on servers that provide this or provide the use of .htaccess files
    which ive added one to the script which will manipulate the server into putting register_globals on.
    this file can be put into your public_html folder, which will then turn register globals on for the server account you run.
    or it can be put into only the folder your running script from and only manipulate that section/folder/subfolders of the account,

    if for some reason you cant do either of these options (have register_globals on, or manipulate it with .htaccess.
    then there maybe one final solution which i havent actually tried yet,

    its seems pretty crude to do it this way but hey if it works it works right,

    now i dont claim to have written this code in any way shape or form,
    and has already stated i aint tried it personally, but i came across this code some time back,
    but always found i was able to use .htaccess to do my manipulating in the past.

    Ruquay K Calloway 01-Apr-2008 05:59
    While we all appreciate the many helpful posts to get rid of register_globals, maybe you're one of those who just loves it. More likely, your boss says you just have to live with it because he thinks it's a great feature.

    No problem, just call (below defined):

    <?php register_globals(); ?>

    anywhere, as often as you want. Or update your scripts!

    <?php
    /**
    * function to emulate the register_globals setting in PHP
    * for all of those diehard fans of possibly harmful PHP settings :-)
    * @author Ruquay K Calloway
    * @param string $order order in which to register the globals, e.g. 'egpcs' for default
    */
    function register_globals($order = 'egpcs')
    {
    // define a subroutine
    if(!function_exists('register_global_array'))
    {
    function register_global_array(array $superglobal)
    {
    foreach($superglobal as $varname => $value)
    {
    global $$varname;
    $$varname = $value;
    }
    }
    }

    $order = explode("\r\n", trim(chunk_split($order, 1)));
    foreach($order as $k)
    {
    switch(strtolower($k))
    {
    case 'e': register_global_array($_ENV); break;
    case 'g': register_global_array($_GET); break;
    case 'p': register_global_array($_POST); break;
    case 'c': register_global_array($_COOKIE); break;
    case 's': register_global_array($_SERVER); break;
    }
    }
    }
    ?>
    if this works out, then in theory all you'd need to do is add this to almost every page in script,
    and then change the variables in the register_global_array to match your variables in use.
    (theoretically speaking that is!)

    Leave a comment:


  • razib
    replied
    i m getting 500 Internal Server Error

    Leave a comment:


  • mobidev
    replied
    I will try this thx ghost

    Leave a comment:


  • Ghost
    replied
    Originally posted by mobidev View Post
    Ya I had the same thing with the analitics code the first time around like 3yrs ago so I opened a support ticket. Their reply was that I can remove it in my admin panel on 000webhost. I had their whole email pasted on wappys code forum before it closed down. Anyway it only screws up script with wml and not html or xhtml. Only problem I have ever had is on any host after a couple of days or weeks a $nimi [usd] is registered or shows up as a registered member or just logged into the chat but with no user details even in the text files I think its maybe with the hosts
    thats probably more to do with someone trying to force their way into the script using variables.

    there is an array to try and stop such thing which puts [usd] / [and]
    as the users username instead of the variable they was hoping for.

    PHP Code:
      $swe_from = array("","","","","","","$","&"); 
    $swe_to = array("""""""""""","[usd]","[and]"); 
    $nimi str_replace ("
    "
    "enter"$nimi);
    $nimi str_replace ("_DEMOTED""nicetrylol"$nimi);
    $nimi str_replace (" ""space"$nimi);
    $nimi str_replace ("""sym"$nimi); 
    lol thought the code cut off. but the box is just awkward looking for small snips of text.
    Last edited by Ghost; 21.04.12, 04:33. Reason: some code cut off.

    Leave a comment:


  • mobidev
    replied
    Ya I had the same thing with the analitics code the first time around like 3yrs ago so I opened a support ticket. Their reply was that I can remove it in my admin panel on 000webhost. I had their whole email pasted on wappys code forum before it closed down. Anyway it only screws up script with wml and not html or xhtml. Only problem I have ever had is on any host after a couple of days or weeks a $nimi [usd] is registered or shows up as a registered member or just logged into the chat but with no user details even in the text files I think its maybe with the hosts

    Leave a comment:


  • Ghost
    replied
    Originally posted by something else View Post
    I would :D ... so use to seeing swf with that avatar its confusing seeing 2 lol
    will see what other avatars i got. i just use to always use this one lol.


    on a brighter note. solved my parsing issue.

    000webhost sticks Analytics code at end of all your scripts.

    with some detective work i found this
    000webhost.com Members Area
    which lets you disable the tracking code on your domain. so now i can see the script again i can try work with it lol.

    Leave a comment:


  • something else
    replied
    Originally posted by Ghost View Post
    lol would you prefere i changed it?
    I would :D ... so use to seeing swf with that avatar its confusing seeing 2 lol

    Leave a comment:


  • Ghost
    replied
    000webhost.com

    Originally posted by softwarefreak View Post
    @ghost, My avatar in animated version
    lol would you prefere i changed it?
    i could go avatar hunting after all if its a problem lol.

    Added after 44 minutes:

    It Would seem 000webhost.com is having some coding issues of there own!
    which is preventing the script from parsing and running properly.

    im guessing this is part of their forced analysis code for tracking.
    problem is it seems its been put in at the end of script outside of main tags.

    XML parsing failed

    XML parsing failed: syntax error (Line: 25, Character: 0)

    Reparse document as HTML
    Error:
    unexpected start-tag (root element already specified)
    Specification: Extensible Markup Language (XML) 1.0 (Fifth Edition)

    22: </wml>
    23:
    24: <!-- Free Web Hosting with PHP, MySQL and cPanel, No Ads Analytics Code -->
    25: <script type="text/javascript" src="http://analytics.hosting24.com/count.php"></script>
    26: <noscript><a href="http://www.hosting24.com/"><img src="http://analytics.hosting24.com/count.php" alt="web hosting" /></a></noscript>
    27: <!-- End Of Analytics Code -->
    Last edited by Ghost; 19.04.12, 23:15.

    Leave a comment:


  • softwarefreak
    replied
    @ghost, My avatar in animated version

    Leave a comment:


  • amylee
    replied
    blast from the past lol

    Leave a comment:


  • Ghost
    replied
    Originally posted by metulj View Post
    i dont think post count got anything to do with status...
    your post cont went backwards cos i've cleaned few old topics
    so there were your replies.. nothing drastic i believe
    ahh. cool got a little panicky lol thought may of been some sort of problem after gums merged this old account with the new one i made yesterday lol. ive already took my avatar down and will find a new one now, as ive found softwarefreak to also have the avatar i use lol.
    so will go avatar hunting next i guess lol.

    i may actually even keep mine as i did. my avatar moves his doesnt lol ;)
    Last edited by Ghost; 19.04.12, 19:40.

    Leave a comment:


  • metulj
    replied
    Originally posted by Ghost View Post
    lol thank you

    i aint seen or heard from him since i had to leave.

    weird thing is happening though lol

    i had to get gumslone to help me recover my old account or id have to had started with new name.
    now everytime i post a comment my post count goes backwards lol. had over 45+ posts earlier.
    not much i know but if it keeps going backwards much more im sure my status will go lower too.

    lol i maybe seeing things. but this post it went up lol. :s
    i dont think post count got anything to do with status...
    your post cont went backwards cos i've cleaned few old topics
    so there were your replies.. nothing drastic i believe

    Leave a comment:


  • Ghost
    replied
    Originally posted by laro696 View Post
    If only wappy could come back then everything would be great! Good to have you back
    lol thank you

    i aint seen or heard from him since i had to leave.

    weird thing is happening though lol

    i had to get gumslone to help me recover my old account or id have to had started with new name.
    now everytime i post a comment my post count goes backwards lol. had over 45+ posts earlier.
    not much i know but if it keeps going backwards much more im sure my status will go lower too.

    lol i maybe seeing things. but this post it went up lol. :s

    Leave a comment:

Working...
X