
vrnagy
-
Pontszám
145 -
Csatlakozott
-
Utoljára itt járt
Tartalom típusa
Profiles
Fórumok
Articles
Posts posted by vrnagy
-
-
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.
-
Admin felületet csak akkor tudsz ha PHP-s az oldalad és fájlt vagy adatbázist használ adatok tárolására
-
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.
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.
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.
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.
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.
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.
-
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.
-
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.
-
online.php
Hidden Content
-
Give reaction or reply to this topic to see the hidden content.
Létre kell hoznod a log.txt-t
-
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.
használat
Hidden Content
-
Give reaction or reply to this topic to see the hidden content.
-
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.
-
Hidden Content
-
Give reaction or reply to this topic to see the hidden content.
-
Számológép
in PHP
Hidden Content
-
Give reaction or reply to this topic to see the hidden content.
-
weboldaladba illeszthető kód szöveghez
Hidden Content
-
Give reaction or reply to this topic to see the hidden content.
képhez
Hidden Content
-
Give reaction or reply to this topic to see the hidden content.
-
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.
-
remélem sikerül
-
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.
-
Statisztika
in PHP
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.
-
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.
-
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.
-
Én csak annyit fűznék hozzá hogy a jó öreg Format C: mindig beválik
-
ja az tök egyszerű, CJB-nélk viszont ha úgy csinálod h oldalad.cjb.hu/index2.php/html akkor alapból nem teszi rá a reklámot
-
$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
-
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
-
senkinek nincs vbéleménye?
-
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.
-
de ha kicsit feltuningolod a vízhűtést több áramot kinyerhetsz
Fórum
in Kérdezz-Felelünk
Posted
A legújabb IPB-k is mennek inygenes tárakon csak egy kis módosítás kell bele és kész