| Welcome to Chibiwolf. We hope you enjoy your visit. You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free. Join our community! If you're already a member please log in to your account to access all of our features: |
| Simple Gallery Script - Php | |
|---|---|
| Topic Started: Jun 18 2008, 01:31 AM (39 Views) | |
| MusicUploader | Jun 18 2008, 01:31 AM Post #1 |
![]()
The Ownager
![]() ![]() ![]() ![]() ![]() ![]()
|
Well first, i'm going to create one folder called images and set it's CHMOD to 777. Then i'll make a index file into it because i don't want that some quests are browsing this folder. Now let's go back to our main directory and let's start with our gallery script. If you want to create a category, then just make a folder into your /images/ folder and name it to "nature" (for example). Now let's make our category list and let's show how much files are in those categories:
Now we can see all our categories and how many files are in those categories. Now we should make a function what will display our images what are in those categories.
Now your simple gallery is done. Here is our full script:
I hope it helped. Enjoy. |
|
I Loved Her So Much I Saw A Chance And Missed It Now Im Broken ┏┫ | | ┣┓ ┏┓ ┗┫━━ ┃ ━━┣┛ ┣┫ ┃ ━━━━━ ┃ ┏┳┫┣┳┓ ┗━━┳━┳━━┛ ┃ ┃ ━━━━┃ ┃ ┗━┳┳━┛ ━━━━┃ ┗━━━━━━┛┃
| |
![]() |
|
| DarkCannon | Jun 18 2008, 05:23 PM Post #2 |
![]()
Willy Wolf
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
OMG! Chibi we need this on our site! A gallery! |
| [size=14]I AM A BUNNY! FEAR ME! I SHALL NIBBLE ON YOUR CARROTS! RAWR![/size] | |
![]() |
|
| MusicUploader | Jun 30 2008, 10:36 PM Post #3 |
![]()
The Ownager
![]() ![]() ![]() ![]() ![]() ![]()
|
lol he could use if he wants lol |
|
I Loved Her So Much I Saw A Chance And Missed It Now Im Broken ┏┫ | | ┣┓ ┏┓ ┗┫━━ ┃ ━━┣┛ ┣┫ ┃ ━━━━━ ┃ ┏┳┫┣┳┓ ┗━━┳━┳━━┛ ┃ ┃ ━━━━┃ ┃ ┗━┳┳━┛ ━━━━┃ ┗━━━━━━┛┃
| |
![]() |
|
| Chibi | Jun 30 2008, 10:39 PM Post #4 |
![]()
Shmell mah finger
![]()
|
Were would it go? Footer? |
![]() "I'd kill the Jews." -glare- "I'd not kill the Jews, no. I'd toss in a penny and watch them fight to the death. -snickering- I did the same with two Catholic priests but I tossed in a small boy!! And the winner, had to fight Michael Jackson!"%mh%-100%mh% | |
![]() |
|
| DarkCannon | Jul 3 2008, 12:10 PM Post #5 |
![]()
Willy Wolf
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Most likely above <% BOARD %> |
| [size=14]I AM A BUNNY! FEAR ME! I SHALL NIBBLE ON YOUR CARROTS! RAWR![/size] | |
![]() |
|
| Chibi | Jul 3 2008, 03:31 PM Post #6 |
![]()
Shmell mah finger
![]()
|
But you never used IF DC >> How would you know? |
![]() "I'd kill the Jews." -glare- "I'd not kill the Jews, no. I'd toss in a penny and watch them fight to the death. -snickering- I did the same with two Catholic priests but I tossed in a small boy!! And the winner, had to fight Michael Jackson!"%mh%-100%mh% | |
![]() |
|
| « Previous Topic · Computer Talk · Next Topic » |






![]](http://209.85.48.18/static/1/pip_r.png)







3:47 AM Nov 27