could you please give me your email.php file. I'll replace it to my one.
mobilechat_v1.2 help
Collapse
X
-
Guest -
mobix -
Guest
I got this error in some chat php files. What shoud i do for this ?
Cannot modify header information - headers already sent by (output started at /home/asiri/public_html/asiri/wap/mchat/help.php:1) in /home/asiri/public_html/asiri/wap/mchat/help.php on line 3
Warning: Cannot modify header information - headers already sent by (output started at /home/asiri/public_html/asiri/wap/mchat/help.php:1) in /home/asiri/public_html/asiri/wap/mchat/help.php on line 3
Warning: Cannot modify header information - headers already sent by (output started at /home/asiri/public_html/asiri/wap/mchat/profile.php:1) in /home/asiri/public_html/asiri/wap/mchat/profile.php on line 3
Warning: Cannot modify header information - headers already sent by (output started at /home/asiri/public_html/asiri/wap/mchat/setup.php:1) in /home/asiri/public_html/asiri/wap/mchat/setup.php on line 3
Comment
-
mobix
The PHP saying that you twice send header information but in orginal script it not hapen. Mayby you edit not write? Atach your help.php file here and let me see it
Comment
-
Guest
It is here !
<?php
//посылаем загововки
header ("Content-type:text/vnd.wap.wml; charset=utf-8");
//начало страницы
print "<?xml version=\"1.0\" encoding=\"utf-8\"?>";
print '<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN"'.
' "http://www.wapforum.org/DTD/wml_1.1.xml">'.
'<wml><head><meta
http-equiv="Cache-Control" content="no-cache" forua="true"/></head>';
//включаем конфигурационный файл
include "./ini.php";
//продолжаем вывод в браузер
print '<card title="'.$lang['help'].'">'.
'
';
//авторизируемся
$login = autorize();
if($login) {//автризация выполнена
switch($mod) {
//режим правил
case 'rules':
print 'First, in a chat should not be mata! Any curses! Want bespredelit, for you there is spets a room! Secondly, do not draw much smajlov in one message! Thirdly, not fludite! It is not necessary to litter a chat with any dust! And in general, behave decently, do not look the blockhead! )';
break;
//режим buyjh
case 'ignor':
print 'Ignor is very useful thing! If the user is in ignore its messages are not displayed. For addition in ignor, it is necessary to press on nik the user and to choose " in ignor ". For removal, it is necessary to come in "Prihozhej" into "?????-leaf" and simply to press on nik!';
break;
//режим статусы
case 'statusy':
//печатаем страницу статусы
print "Statuses are given at a set of the certain quantity of posts. The post is the message left by you in a chat. The highest status enables you to draw more advanced smajly and to be the honourable and dear user of a chat! The list of statuses:
";
print "0 - Прохожий
100 - Новичок
500 - Пользователь
1000 - Продвинутый
3000 - Чаттер
5000 - Тусовщик
7000 - Почетный
10000 - Можно попросить админа дать отличительный статус
";
break;
//режим приват
case 'privat':
print 'Privat is when the message from the user is seen only by you and the one who has sent it. Others do not see it. In a chat it is realized two kinds privata. One is when near nika the user there is this symbol: [!]. The second are you can enter in privat, having pressed button " ????? ". As a result of this action you will see only privat and any other messages! For updating page privata it is necessary to press the same button.';
break;
//режим транслит
case 'translit':
//печатаем правила транслита
print "Транслит - это такая вещь, когда вы пишете на латинице, а все написанное переводится на кирилицу! Правила транслита:
А а - A a
Б б - B b
В в - V v
G g - G g
Д д - D d
Е е - E e
Ё ё - Yo yo
Ж ж - Zh zh
З з - Z z
И и - I i
Й й - J j
К к - K k
Л л - L l
М м - M m
Н н - N n
О о - O o
П п - P p
Р р - R r
С с - S s
Т т - T t
У у - U u
Ф ф - F f
Х х - H h
Ц ц - C c
Ч ч - Ch ch
Ш ш - Sh sh
Щ щ - Shc shc
ъ - ''
Ы ы - Y y
ь - '
Э э - Ye ye
Ю ю - Yu yu
Я я - Ya ya";
break;
//режим помощи о викторине
case 'vict':
//печатаем правила транслита
print 'The quiz is a place where you can oprobyvat the knowledge! progrmnym the question on which it is necessary to answer as soon as possible is by deduced. If in current of 2 minutes anybody correctly will not answer, will be asked a new question. To write answers it is necessary in Russian! If your phone does not support a writing on kirilitse, take advantage of a transliteration from a Latin in kirilitsu. Read through rules translita!';
break;
//по умолчанию
default:
//печатаем ссылки на помощь
print "<a href=\"help.php?id=$id&pass=$pass&mod=rule s\">".$lang['rules']."</a>
";
print "<a href=\"help.php?id=$id&pass=$pass&mod=vict \">".$lang['vict']."</a>
";
print "<a href=\"help.php?id=$id&pass=$pass&mod=tran slit\">".$lang['translit']."</a>
";
print "<a href=\"help.php?id=$id&pass=$pass&mod=stat usy\">".$lang['ranks']."</a>
";
print "<a href=\"help.php?id=$id&pass=$pass&mod=priv at\">".$lang['privat']."</a>
";
print "<a href=\"help.php?id=$id&pass=$pass&mod=igno r\">".$lang['ign']."</a>
";
print "<a href=\"./sm/index.php?id=$id&pass=$pass&mod=smiles\">" .$lang['smiles']."</a>
";
break; }
if($mod)
print "
<a href=\"help.php?id=$id&pass=$pass\">".$lang['help']."</a>";
print "
<a href=\"./enter.php?id=$id&pass=$pass\">".$lang['holl']."</a>
";
} else { print $lang['not_loged']; }
print '</p>'.
'</card>'.
'</wml>';
ob_end_flush();
//разрываем соединение с бд
@mysql_close();
?>
Comment
-
mobix
hmmm realy i don't now becouse i don't had that error
what good you got in ini.php? Maby there something not write
Comment
-
Guest
Mobix, i replaced all php's to orginal ones and it fixed the error.
I tried to remove the translit option and it makes some errors.
Could you please reply me with php files that are translit option removed !.
Comment
-
mobix -
easy...
download this script >>>> http://ravingwap.net/dancefiles/noChat.zip
thats the mobiilichat update, beter than the versrion u have... and english
then in chat.php do a string search and replace all the names dj.dance by your registered name... you are now admin... in chat type -delchat to wipe all public messages, and -delprivate to wipe all private messages
8th wonder of the world
Comment
-
Guest
hey, help me to adjust the time using this script !
How do i set my country time to this.
my time zone is gmt +6
or
server time + 8 hours and 20 mins
////////////////////////////////////////////////////////////
function gettime()
{
$part_time = explode(' ', microtime());
$real_time = $part_time[1].substr($part_time[0], 1);
return $real_time;
}
////////////////////////////////////////////////////////////
Please help me !
Comment
-
lamar-wap
Comment