Jump to content
PirateClub.hu

vrnagy

Admin
  • Pontszám

    145
  • Csatlakozott

  • Utoljára itt járt

Posts posted by vrnagy

  1. A PHP-Nuke rendszer megy minden magyar szerveren. Nem a szerverek miatt nem mehet egy oldal én rengeteg szerverre tettem már fel és a fordításával is foglalkozok. A Magyar csapattal arra törekszünk h minden magyar szerveren menjen és ezt sikerült is elérni. A telepítésnél lehet valami gond, mert ATW-n és UW-n is megy rendesen.

  2. Apache 2 telepítése:

    Töltsd le az Apache webszervert a

    Hidden Content

      Give reaction or reply to this topic to see the hidden content.
    linkről! A "Win32 Binary (MSI Installer)"-t töltsd le!

    A telepítés során kérhet beállításokat. Ezek a következők:

    Hidden Content

      Give reaction or reply to this topic to see the hidden content.

    Apache_1.png

    Alap esetben a "c:/program files/Apeche Group/Apache2" mappába került az Apache

    Teszteljük le a szervert! Írjuk be a böngészőnkbe a következő címet: http://localhost vagy http://127.0.0.1.

    Ha itt "Test Page for Apache Installation" jön be akkor sikeresen telepítetted az Apache webszervert. Már csak 1 dolgunk maradt beállítani a weboldalak mappáját. Hozz létre a C meghajtón egy WWW mappát. Nyisd meg a C:\Program Files\Apache Group\Apache2\httpd.conf fájlt jegyzettömbbel és cseréld le ezt a sort:

    Hidden Content

      Give reaction or reply to this topic to see the hidden content.

    erre:

    Hidden Content

      Give reaction or reply to this topic to see the hidden content.

     

    PHP 5 Telepítése:

    Töltsd le a PHP-t a

    Hidden Content

      Give reaction or reply to this topic to see the hidden content.
    címről. (zip package). A ZIP fájl tartalmát tömörítsd ki a "C:\php" mappába! Nevezd át a "c:\php\php.ini-dist" fájlt "c:\php\php.ini"-re. Nyisd meg a php.ini-t és keresd meg a következő sort: "doc_root" cseréld le erre

    Hidden Content

      Give reaction or reply to this topic to see the hidden content.

    Ezt a sort

    Hidden Content

      Give reaction or reply to this topic to see the hidden content.

    cseréld erre

    Hidden Content

      Give reaction or reply to this topic to see the hidden content.

    Keresd meg a "session.save_path"-ot és cserél erre

    Hidden Content

      Give reaction or reply to this topic to see the hidden content.

    Ezt a sort

    Hidden Content

      Give reaction or reply to this topic to see the hidden content.

    cseréld erre

    Hidden Content

      Give reaction or reply to this topic to see the hidden content.

    Nyisd meg a C:\Program Files\Apache Group\Apache2\httpd.conf fájlt jegyzettömbbel és szúrd bele ezeket a sorokat:

    Hidden Content

      Give reaction or reply to this topic to see the hidden content.

    cseréld ezt

    Hidden Content

      Give reaction or reply to this topic to see the hidden content.

    erre:

    Hidden Content

      Give reaction or reply to this topic to see the hidden content.

    A C:\php\php-ini-t másold be a

    Hidden Content

      Give reaction or reply to this topic to see the hidden content.

    Indítsd újra az Apache Webszervert!

    Hidden Content

      Give reaction or reply to this topic to see the hidden content.

    A C:\WWW mappában hozd létre a phpinfo.php fájlt

    Hidden Content

      Give reaction or reply to this topic to see the hidden content.

    A böngésződbe írd be: http://localhost/phpinfo.php! Ha kijön egy oldal és adatokat ír ki akkor sikeresen telepítetted a PHP-t

     

    MySQL 4 Telepítése:

    Töltsd le a MySQL-t a

    Hidden Content

      Give reaction or reply to this topic to see the hidden content.
    címről (Windows (x86)). Indítsd el a telepítőt a következő beállításokkal

    Hidden Content

      Give reaction or reply to this topic to see the hidden content.

    A C:\php\libmysql.dll-t másold be a

    Hidden Content

      Give reaction or reply to this topic to see the hidden content.

    nyisd meg a "C:\Windows\"-be vagy WinNt alatt: "C:\WinNT\" php.ini- fájlod és szerkeszd át! a következő sor elől

    Hidden Content

      Give reaction or reply to this topic to see the hidden content.

    vedd ki a ";"-t!

    Indítsd Újra az Apache webszervert!

     

    Ha kell telepíthetsz PHPMyAdmin-t.

    PHPMyAdmin Telepítése:

    Töltsd le a PHPMyAdmin-t a

    Hidden Content

      Give reaction or reply to this topic to see the hidden content.
    címről (zip file). Tömörítsd ki a "C:\WWW" mappába a kitömörített mappát nevezd át "phpmyadmin"-ra. Nyisd meg a "config.inc.php"-t. Keresd meg ezt a sort

    Hidden Content

      Give reaction or reply to this topic to see the hidden content.

    és cseréld erre

    Hidden Content

      Give reaction or reply to this topic to see the hidden content.

    Ha adtál meg jeroot jelszót a telepítésnél akkor cseréld le ezt a sort

    Hidden Content

      Give reaction or reply to this topic to see the hidden content.

    erre

    Hidden Content

      Give reaction or reply to this topic to see the hidden content.

     

    Cseréld le ezt

    Hidden Content

      Give reaction or reply to this topic to see the hidden content.

    erre

    Hidden Content

      Give reaction or reply to this topic to see the hidden content.

    Ha akarsz bejelentkező képernyőt akkor cseréld le ezt

    Hidden Content

      Give reaction or reply to this topic to see the hidden content.

    erre

    Hidden Content

      Give reaction or reply to this topic to see the hidden content.

     

    Ezzel készen is volnánk.

  3. upload.php

    Hidden Content

      Give reaction or reply to this topic to see the hidden content.

     

    index.php

    Hidden Content

      Give reaction or reply to this topic to see the hidden content.

  4. Figyelem sok ingyenes tárhelyen tiltva van az fsockopen függvény!!!

     

    Hidden Content

      Give reaction or reply to this topic to see the hidden content.

     

    verify.php

    Hidden Content

      Give reaction or reply to this topic to see the hidden content.

  5. ban.php

    Hidden Content

      Give reaction or reply to this topic to see the hidden content.

    a

    Hidden Content

      Give reaction or reply to this topic to see the hidden content.
    linket kicserélheted amire akarod és a tiltott IP-n böngésző erre az oldalra fog eljutni

     

    használat

    Hidden Content

      Give reaction or reply to this topic to see the hidden content.

  6. Funkció

    Hidden Content

      Give reaction or reply to this topic to see the hidden content.

     

    Használat

    Hidden Content

      Give reaction or reply to this topic to see the hidden content.

     

    Eredmény

    Hidden Content

      Give reaction or reply to this topic to see the hidden content.

  7. functions.php

    Hidden Content

      Give reaction or reply to this topic to see the hidden content.

     

    weboldaladba beillesztendő kód

    Hidden Content

      Give reaction or reply to this topic to see the hidden content.

  8. Ezt a kódot rakd az oldal legelejére:

    Hidden Content

      Give reaction or reply to this topic to see the hidden content.

    Ezt az oldal legaljára:

    Hidden Content

      Give reaction or reply to this topic to see the hidden content.

  9. Hajtsd végre a kódot a phpMyAdmin segítségével!

    Hidden Content

      Give reaction or reply to this topic to see the hidden content.

     

    stats.php

    Hidden Content

      Give reaction or reply to this topic to see the hidden content.

     

    Ha egy oldalon meg akarod jeleníteni szúrd be ezt a kódot:

    Hidden Content

      Give reaction or reply to this topic to see the hidden content.

  10. 1. rész :: Az adatbázis és a táblák létrehozása (News_sql.sql)

    Hajtsd végre a kódot a phpMyAdmin segítségével!

    Hidden Content

      Give reaction or reply to this topic to see the hidden content.

    2. rész :: Csatlakozás a MySQL adatbázishoz (config.php)

    Hidden Content

      Give reaction or reply to this topic to see the hidden content.

    $dbhost változó, írj localhost-ot vagy add meg a szerver nevét!

    $dbusername, változó, add meg a felhasználónevét!

    $dbpassword változó, add meg a felhasználónévhez tartozó jelszót!

    $dbname változó, az adatbázisod neve!

    $connect = változó, ezzel kapcsolódsz az adatbázishoz!

     

    3. rész :: Hír hozzáadása a MySQL adatbázishoz (add_news.php)

    Hidden Content

      Give reaction or reply to this topic to see the hidden content.

    4. rész :: A- Hírek a főoldalon (index.php)

    Hidden Content

      Give reaction or reply to this topic to see the hidden content.

    4. rész :: B- A teljes hír megjelenítése (read_more.php)

    Hidden Content

      Give reaction or reply to this topic to see the hidden content.

    5. rész :: Hír szerkesztése (edit_news.php)

    Hidden Content

      Give reaction or reply to this topic to see the hidden content.

    6. rész :: Hír törlése (delete_news.php)

    Hidden Content

      Give reaction or reply to this topic to see the hidden content.

    Hidden Content

      Give reaction or reply to this topic to see the hidden content.

  11. $keszit = ImageCreateFromJPEG("http://izebigyo.atw.hu/winampsig/sig.jpg");

     

    ebben az a baj hogy HTTP linket adsz meg, a kódnak nem HTTP-s elérés kell

     

    $keszit = ImageCreateFromJPEG("sig.jpg"); így menni fog

  12. a kódodban van a hiba

    ImageCreateFromJPEG("http://http://xster.cobraweb.hu/radiX/system/images/sig.jpg");

    itt nem HTTP link kell hanem a winampsig mappán belül a kép elérési útja

  13. Követelmények:

    * PHP futtatás a szerveren

    * CHMOD állítási jog

    * Winamp 2.0 vagy 5.0.

     

     

     

    1,

    Hidden Content

      Give reaction or reply to this topic to see the hidden content.

     

    2,

    Tömörítsd ki a DLL-t a Winamp Plugin mappájába (alap: C:\Program Files\Winamp\plugins)

     

    3,

    Indítsd el a Winampot menj a Tulajdonságokba (Prefrences), Bővítmények (Plugins), Általános célú (General Purpose) és nézd meg h felrakta-e a plugint ("Luke's Info Sender").

     

    4,

    Csinálj egy "winampsig" nevű könyvtárat a szerveren

    Töltsd fel,

    This File

    Az "index.php" tartalma legyen a következő:

     

     

    <?php

    function inkort($txt, $length) { if(strlen($txt) > $length) { $txt = substr($txt, 0, $length)."..."; } return $txt; }

     

    $content = $_GET[szam];

    if($content) {

    $szoveg = "Ide írhatsz vmit amit akarsz, ezután a szöveg után lesz kiírva a szám címe".$content;

    $felirat = stripslashes(inkort($szoveg, 30));

    header("Content-type: image/JPEG");

    $keszit = ImageCreateFromJPEG("sig.jpg");

    $feher = Imagecolorallocate($keszit, 255, 255, 255);

    $fekete = ImageColorAllocate($keszit, 0, 0, 0);

    imagestring($keszit, 3, 70, 6, $felirat, $fekete);

    ImageJPEG($keszit, "winamp.jpg", 100);

    ImageDestroy($keszit);

    }

    ?>

     

    5,

    Állítsd át a "winampsig" mappa és a fájlok CHMOD-ját "777" "(rwxrwxrwx)"-re.

     

    6,

    Menj vissza a Winamp Bővítményeihez, kattints 2x a "Luke's Info Sender"-re és írd be az index.php URL-jét "http://www.teneved.hu/winampsig/index.php?szam="

     

    Jelöld be az 'Enable'-t és kattints az OK-ra.

     

    7,

    Indítsd újra a Winampot, indítsd el a lejátszást, várj 10-20 másodpercet és utána menj a következő linkre

    Hidden Content

      Give reaction or reply to this topic to see the hidden content.

    Hidden Content

      Give reaction or reply to this topic to see the hidden content.

×
×
  • Create New...