razib wrote:
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_flag register_globals on
function in .htaccess
try the code from my actual .htaccess file.
# 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_STRING} mosConfig_[a-zA-Z_]{1,21}(=|\%3D) [OR]
RewriteCond %{QUERY_STRING} base64_encode.*\(.*\) [OR]
RewriteCond %{QUERY_STRING} (\<|%3C).*script.*(\>|%3E) [NC,OR]
RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]
RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2})
RewriteRule ^(.*)$ index.php [F,L]
this uses the
php_value register_globals 1
rather than
php_flag register_globals on