Anime, manga és LN
Jelentkezz be a hozzászóláshoz.
http://www.lohere.net - a MagyarChan
(Már feltéve, hogy jó helyre raktam be, mert mint írottam volt: "nem, még mindig nem értek a PHP-hez".)
Last night, when I was alone in my room, from out of nowhere, I smelled a fart that wasn\'t mine! -Osaka http://www.spore.com/view/profile/Hmuda XBL: Hmuda Hun
Last night, when I was alone in my room, from out of nowhere, I smelled a fart that wasn\'t mine! -Osaka http://www.spore.com/view/profile/Hmuda XBL: Hmuda Hun
asszem
http://www.lohere.net - a MagyarChan
Ezt a scriptet kellene úgy átírni, hogy a jelenlegi könyvtárban keressen.
(És nem, még mindig nem értek a PHP-hez, szóval még mindig nem kell szakzsargonnal jönni. :-) )<?php
//Képek felsorolva...
$images = array("flcl001.jpg", "azu004.jpg", "azu005.jpg", "stell001.jpg", "stell002.jpg", "wolf01.jpg", "flcl002.jpg", "crom001.jpg", "gits001.jpg", "haruhi001.jpg", "nge001.jpg", "bleach2.png", "fumoffu.jpg", "yasha.jpg", "hana.jpg", "spiral.jpg", "nge002.jpg", "bleach4.png", "bleach5.png", "bers.jpg", "onepiece1.png", "yaiba1.png", "sr001.jpg", "azu001.jpg", "azu002.jpg", "azu003.jpg", "cb001.jpg", "chob002.jpg", "gits002.jpg", "gsblitz.jpg", "kenshin.jpg", "samch.jpg", "scrpri.jpg", "bleach3.png", "gslacus.jpg", "sgmete.jpg", "tenjou.jpg", "cb002.jpg", "haruhi002.jpg", "jinroh001.jpg", "lh001.jpg", "lh002.jpg", "cb003.jpg", "chob001.jpg", "excel001.jpg");
//Cache
header("Cache-Control: no-store, no-cache, must-revalidate");
header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache");
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
//Kimenet
header("Content-type: image/png");
readfile($images);
?>
Last night, when I was alone in my room, from out of nowhere, I smelled a fart that wasn\'t mine! -Osaka http://www.spore.com/view/profile/Hmuda XBL: Hmuda Hun
Ráadásul mintha gyorsabb lenne.
Szerk: de úgylátszik azzal nincs kibékülve ha máshová linkelik...
Last night, when I was alone in my room, from out of nowhere, I smelled a fart that wasn\'t mine! -Osaka http://www.spore.com/view/profile/Hmuda XBL: Hmuda Hun
http://www.lohere.net - a MagyarChan
Csak annyit kellene módosítani, hogy ne egy adott könyvtárban keressen, hanem ott ahol maga a PHP file van.
Last night, when I was alone in my room, from out of nowhere, I smelled a fart that wasn\'t mine! -Osaka http://www.spore.com/view/profile/Hmuda XBL: Hmuda Hun
http://www.lohere.net - a MagyarChan
remélem tetszik
SATA ANDAGI
http://www.lohere.net - a MagyarChan
Relaks: jah, megnéztem mit tud. Szépen kilistázta az összes képet. :-)
Last night, when I was alone in my room, from out of nowhere, I smelled a fart that wasn\'t mine! -Osaka http://www.spore.com/view/profile/Hmuda XBL: Hmuda Hun
<?php
#########################################################
# RandoMage #
#########################################################
# #
# #
# This script was created by: #
# #
# PHPLabs Web Development Division. #
# http://www.phplabs.com/ #
# #
# This script and all included modules, lists or #
# images, documentation are copyright 2002 #
# PHPLabs (http://www.phplabs.com/) unless #
# otherwise stated in the script. #
# #
# Purchasers are granted rights to use this script #
# on any site they own. There is no individual site #
# license needed per site. #
# #
# Any copying, distribution, modification with #
# intent to distribute as new code will result #
# in immediate loss of your rights to use this #
# program as well as possible legal action. #
# #
# This and many other fine scripts are available at #
# the above website or by emailing the authors at #
# [email protected] or [email protected] #
# #
#########################################################
#randomage.php RandoMage rev1 Bulworth 10/10/2002 #
# #
#RandoMage is a random image generator. It supports 4 #
#graphics types, .bmp, .png, .gif, and .jpg. It finds a #
#random image from your images directory and then #
#displays the picture. All automatically! #
#########################################################
#Set the following configuration variable
#$imagedir is the directory that holds your images.
#Be SURE to include the trailing slash in the name.
$imagedir = "img/";
#########################################################
#Editing below is not required. #
#########################################################
$images = array();
#Locate and all of the existing images
$directory = opendir($imagedir);
while($filename = readdir($directory)){
if(strlen($filename) > 2){ #ignore . and ..
$localext = substr($filename, -3);
if(!((strcasecmp($localext, "gif") == 0) || (strcasecmp($localext, "jpg") == 0) || (strcasecmp($localext, "bmp") == 0) || (strcasecmp($localext, "png") == 0)))
continue;
array_push($images, $filename);
}
}
#choose a random image from the array
srand((double)microtime() * 1000000);
$selection = $images
#display the imaeg
echo "<img src=\"$imagedir$selection \" alt=\"$selection (" . filesize("$imagedir/$selection") . " bytes)\">";
?>
Itthagytam a forumot! Ne irj privatot!
sg discord: https://discord.gg/ezkyQvNE
Akkor ezt nagyjából rákenhetem a hajamra, ha csak kiindulásnak jó és nem a kész script. :-)
Last night, when I was alone in my room, from out of nowhere, I smelled a fart that wasn\'t mine! -Osaka http://www.spore.com/view/profile/Hmuda XBL: Hmuda Hun
<html>
<body>
<?php
$kategoria='.';
if (!file_exists($kategoria))
{
print '<font color=red>.-:: HIBÁS KÖNYVTÁRNÉV!!! ::-.</font>';
return 0;
}
$DirSmilie = opendir($kategoria);
while ( gettype( $fajl = readdir( $DirSmilie )) != boolean )
{
if ( $fajl!='.' && $fajl!='..')
{
if ( is_file("$kategoria/$fajl"))
{
if (strlen($fajl)>4 && (substr($fajl,-3)=='gif'||substr($fajl,-3)=='png'||substr($fajl,-3)=='jpg'))
{
print '<nobr>http://relaks.uw.hu/kepek/'.$fajl." : <img align=middle src=$kategoria/$fajl > </nobr><br>";
}
}
}
}
closedir($DirSmilie);
?>
</body>
</html>
Ez azt csinálja, hogy a saját maga körül lévõ képfájlokat kirakja az oldalra. Ebbõl már ki lehet indulni, de lusta vagyok gondolkodni 😊
sg discord: https://discord.gg/ezkyQvNE
Last night, when I was alone in my room, from out of nowhere, I smelled a fart that wasn\'t mine! -Osaka http://www.spore.com/view/profile/Hmuda XBL: Hmuda Hun
A #12466-os scriptbõl hogyan csináljak olyat, hogy az adott könyvtár minden képfile-jét nézze és ne kelljen egyenként bemásolgatni?
Ne gyertek nekem extra magyarázattal, mert PHP-hez nem értek. <#idiota>#idiota>
Last night, when I was alone in my room, from out of nowhere, I smelled a fart that wasn\'t mine! -Osaka http://www.spore.com/view/profile/Hmuda XBL: Hmuda Hun
Asztali számítógép. Egér. Billenyt?zet. Hangfal. SHARP számológép. Heil Sogron!
De ha olyan egyszerû marhaságot csinálsz, hogy a képek neve pl banner###.jpg, ahol a ### helyén egy szám van, amik folyamatosan növekszenek kihagyás nélkül, akkor máris csak a max számot kell a scripttel tudatni ^^
sg discord: https://discord.gg/ezkyQvNE

Last night, when I was alone in my room, from out of nowhere, I smelled a fart that wasn\'t mine! -Osaka http://www.spore.com/view/profile/Hmuda XBL: Hmuda Hun
$kep=$kep_tomb<$rand>$rand>;
?
http://www.lohere.net - a MagyarChan
Last night, when I was alone in my room, from out of nowhere, I smelled a fart that wasn\'t mine! -Osaka http://www.spore.com/view/profile/Hmuda XBL: Hmuda Hun
sg discord: https://discord.gg/ezkyQvNE
Last night, when I was alone in my room, from out of nowhere, I smelled a fart that wasn\'t mine! -Osaka http://www.spore.com/view/profile/Hmuda XBL: Hmuda Hun
http://www.lohere.net - a MagyarChan
Asztali számítógép. Egér. Billenyt?zet. Hangfal. SHARP számológép. Heil Sogron!

Last night, when I was alone in my room, from out of nowhere, I smelled a fart that wasn\'t mine! -Osaka http://www.spore.com/view/profile/Hmuda XBL: Hmuda Hun

Asztali számítógép. Egér. Billenyt?zet. Hangfal. SHARP számológép. Heil Sogron!
Asztali számítógép. Egér. Billenyt?zet. Hangfal. SHARP számológép. Heil Sogron!
Last night, when I was alone in my room, from out of nowhere, I smelled a fart that wasn\'t mine! -Osaka http://www.spore.com/view/profile/Hmuda XBL: Hmuda Hun
Last night, when I was alone in my room, from out of nowhere, I smelled a fart that wasn\'t mine! -Osaka http://www.spore.com/view/profile/Hmuda XBL: Hmuda Hun

Last night, when I was alone in my room, from out of nowhere, I smelled a fart that wasn\'t mine! -Osaka http://www.spore.com/view/profile/Hmuda XBL: Hmuda Hun
Last night, when I was alone in my room, from out of nowhere, I smelled a fart that wasn\'t mine! -Osaka http://www.spore.com/view/profile/Hmuda XBL: Hmuda Hun
Last night, when I was alone in my room, from out of nowhere, I smelled a fart that wasn\'t mine! -Osaka http://www.spore.com/view/profile/Hmuda XBL: Hmuda Hun

