Artifacts Gallery Guilds Search Wiki Login Register

Welcome, Guest. Please login or register. - Thinking of joining?
a Summer night - @805.96
Activity rating: Four Stars Posts & Arts: 76/1k.beats Random | Recent Posts | Guild Recents
News: It's the silly things you'll remember :trash: Guild Events: There are no events!

+  MelonLand Forum
|-+  Life & The Web
| |-+  ✁ ∙ Web Crafting
| | |-+  I wrote a very basic guestbook


« previous next »
Pages: [1] Print Embed
Author Topic: I wrote a very basic guestbook  (Read 221 times)
citizenalex
Casual Poster ⚓︎
*
View Profile WWWArt


⛺︎ My Room
StatusCafe: citizenalex
Matrix: Chat!

Guild Memberships:
Artifacts:
Joined 2026!
« on: a Summer day » Embed

I created my own (very basic) guestbook by writing my very first cgi script. It's so rudimentary but I'm please because of what I learned. citizenAlex's guestbook

It's just web form that writes the data to a "moderation" text file so that I can review comments. I then manually prepend non-obscene comments to the actual guestbook file, which is then linked on my site.

Logged


Artifact Swap: Opal
jjanzen
Casual Poster ⚓︎
*
View Profile WWW


⛺︎ My Room
Itch.io: My Games
RSS: RSS

Guild Memberships:
Artifacts:
Visited on Melon's 10th Anniversary!Joined 2026!
« Reply #1 on: a Summer day » Embed

Writing a guestbook from scratch is a really fun project! I like the simplicity of your implementation! :ozwomp: In my personal guestbook, I ended up creating a moderation front-end which ended up needing password protection and session cookie management and a real database. It was a good time, but just writing to a text file would have made things easier for sure. I also ended up needing to implement spam prevention because bots started finding my site and attempting to advertise in my guestbook. :sad: It was easy enough to stop spammers by including a field hidden by CSS that if filled rejects the POST request fortunately. I haven't had any since implementing that.

Logged

https://jjanzen.ca/images/jjanzen-button.gif
citizenalex
Casual Poster ⚓︎
*
View Profile WWWArt


⛺︎ My Room
StatusCafe: citizenalex
Matrix: Chat!

Guild Memberships:
Artifacts:
Joined 2026!
« Reply #2 on: a Summer day » Embed

Thank you so much for the feedback! I really like that strategy of a hidden css field. I'm viewing the guestbook as an ongoing object of learning that I'll tinker with as I learn new things.  :smile:

Logged


Artifact Swap: Opal
Pages: [1] Print Embed 
« previous next »
 

Melonking.Net © Always and ever was! SMF 2.0.19 | SMF © 2021 | Privacy Notice | Send Feedback | Supporters ♥ Forum Guide | Rules | RSS | WAP | Mobile


MelonLand Badges and Other Melon Sites!

MelonLand Project! Visit the MelonLand Forum! Support the Forum
Visit Melonking.Net! Visit the Gif Gallery! Pixel Sea TamaNOTchi
@000 MelonLand Editor Recent Edits Tenement Arcade Want to Login or Join ? Forum Art Hub Chat Webring Web Guides Graphics Catalogue Wiki Newsletters Image Stream
Melon's Sites TamaNotchi Textures PixelSea GifyPet MoMG Ozwomp Online Loom Videos Leaky Webring Melonking
Tools Melon Software ArtHub Embed Maker ML Passports
Outlinks Frutiger Aero Forum Onio Club m15o's Web Services 32Bit Cafe iMood Webrings Internet Phone Book HTML Energy Declarations Hackers & Designers
Zap!
Minecraft: Online
Join: craft.melonking.net