1. PHP / Говнокод #7967

    +164

    1. 01
    2. 02
    3. 03
    4. 04
    5. 05
    6. 06
    7. 07
    8. 08
    9. 09
    10. 10
    11. 11
    12. 12
    13. 13
    14. 14
    15. 15
    16. 16
    17. 17
    18. 18
    19. 19
    20. 20
    21. 21
    22. 22
    <?php 
    include "dbconfig.php"; 
    $db = mysql_connect("$dbhost","$dbuser","$dbpass");
    mysql_select_db("$dbname",$db);
    
    
    $mysqlsite = mysql_query("SELECT * FROM site WHERE id='1'");
    $site = mysql_fetch_array($mysqlsite);
    
    $titlesite = $site['title'];
    $titlesite = iconv("CP1251", "UTF-8", "$titlesite");
    
    $descriptionsite = $site['description'];
    $descriptionsite = iconv("CP1251", "UTF-8", "$descriptionsite");
    
    $keywordssite = $site['keywords'];
    $keywordssite = iconv("CP1251", "UTF-8", "$keywordssite");
    
    
    $contsite = $site['cont'];
    $contsite = iconv("CP1251", "UTF-8", "$contsite");
    ?>

    "CMS" Хостинг провайдера ultrahost.com.ua D

    Запостил: SaNcHeS, 24 Сентября 2011

    Комментарии (8) RSS

    Добавить комментарий