chat

7 příspěvků

Archiv diskusního fóra

Fórum je uzavřené a slouží pouze ke čtení. Některé informace mohou být zastaralé.

  1. Warning: mysql_pconnect(): Access denied for user: 'nobody@81.31.7.162' (Using password: NO) in /3w/webzdarma.cz/p/pechac/chat_head.php on line 17 Warning: mysql_select_db(): Access denied for user: 'nobody@81.31.7.162' (Using password: NO) in /3w/webzdarma.cz/p/pechac/chat_head.php on line 18 Warning: mysql_select_db(): A link to the server could not be established in /3w/webzdarma.cz/p/pechac/chat_head.php on line 18 Warning: mysql_query(): Access denied for user: 'nobody@81.31.7.162' (Using password: NO) in /3w/webzdarma.cz/p/pechac/chat.php on line 89 Warning: mysql_query(): A link to the server could not be established in /3w/webzdarma.cz/p/pechac/chat.php on line 89 Kde je chyba ? chatovací program z knihy od J.Brázy-PHP 4 -PRAKTICKé PŘíKLADY
  2. Spatne prihlaseni k DB.
  3. <HTML>mysql_pconnect(); nestaci.... musis vyplnit server, jmeno a heslo k DB serveru.. (jeste podotknu ze pconnect je na wz totozna jako connect / persistent off)</HTML>
  4. potreboval by som presnú syntax k mysql _pconnect() ! server je http://www.webzdarma.cz ? Data treba oddeliť čiarkou,dať do uvodzoviek ?
  5. Má to byť takto ? MySQL_pconnect("http://www.webzdarma.cz","pechac","heslo")
  6. <?php /* Úvodní include soubor - start sessions - nastavení proměnných - přihlá?ení k databázi */ $chat_home = "chat.php"; $chat_chat = "chatwindow.php"; $chat_main = "main.php"; $chat_stat = "stats.php"; $chat_actiontime = 900; // 15 minut, ne? bude u?ivatel odhlá?en $chat_lifespan = 36000; // příspěvky jsou mazány po 10 hodinách session_start(); if (strpos($PHP_SELF, $chat_home) === false && !$_SESSION["username"]) Header("Location: $chat_home"); mysql_pconnect("http://www.mysql.webzdarma.cz ","pechac","HESLO"); mysql_select_db("pechac"); ?> KDE JE CHYBA ?
  7. http://www.webzdarma.cz/forum/read.php?f=5&i=4386&t=4386

← Zpět na všechna témata