Topic: Coding tips, tricks and snippets

Return to Archives of Graphic Forums


Antidepressant Medications
Handle stress, elevate the mood,
treat anxiety disorders.
Shared Movies
Over 80 Million Movies and TV-Shows
No Charge per movie, No download limit!
Casino Classic
Best Online Casino!
Get $500 free on the house!
Weight Loss Supplements
Natural supplements that burn body fat,
suppress appetite and support a healthy diet.


Posted at December 13, 1901, 2:45 pm:

Use this thread to post coding tips, tricks and snippets.

You can post tips, tricks or snippets of any "code" you want here from PHP, ASP, X/HTML, CSS, JavaScript, any server side scripting to any client side scripting and so on. Even C++, C, VB, etc are allowed.



Here are a few rules you have to stick to: Read through this whole section and know that it might change so keep updated Absolutely NO spam allowed here. *- Avoid posting anything other than useful and relevant material here. *+ If your code spans more than a few lines, or it is so long that it will inconvenience members browsing on an 800x600 screen resolution, then link to the source from your site. Links will be checked regularly and any dead links will be deleted. *^ If you are posting a link to another forum that requires that we login to view the code, then don't bother posting. *+ Please include documentation for your code or people might not understand what it does. Flaming will result in either a very stern warning or a ban. Behave like adults *^+- Make sure you cite your sources. Plagiarism is ripping. +-The consequence of disobeying a rule marked with a star (*) is your post will be deleted.
The consequence of disobeying a rule marked with a carat (^) is your post will be edited.
The consequence of disobeying a rule marked with a plus (+) is you will be warned.
The consequence of disobeying a rule marked with a minus (-) is you will probably be banned.





Every post must be in the following format:



If you have any doubts, please contact me via PM.
It would be nice if you could post a tutorial at our resources center.

The point of all this is to learn. So, be mature about it, share what knowledge you can, behave and get educated






I'll start off

Language: PHP
Type: Function
Documentation: Given in script
Description: This script hides your email address from spambots
Requirements: None
License: GNU GPL
Demo: http://koobi-studio.com/downloads/ph...ns/spamDodger/
Code: http://koobi-studio.com/downloads/ph...showSource.php

I got this idea after seeing a similar script online. I just added a little more functionality to it.

Original of the message was taken from http://www.graphic-forums.com/

Replies:

I'll start with a function I created quite some time ago but is still ...

Hey everyone I'd figure I would start a post as well with things I fin...

Type: Naming convention.

Language: PHP Type: Function Documentation: Given in script Descrip...

Language: PHP Type: Function Documentation: Given in script Descrip...

you should use 'return $z;' since print will just echo it to the text ...

yes true but by printing it it saves people having to add that extra b...

Perhaps they do not want to echo the result? In Object Oriented Pro...

empty post

Language: PHP Type: Function Documentation: Given in script Descrip...

Language: PHP Type: Function Documentation: None Description: Check...

Language: ECMA Script (JavaScript) Type: Library method Documentatio...

But ofcourse this is an added load if used on every page so better to ...

Language: PHP/HTML Type: Form Documentation: In script Description: Se...


Other Topics of Graphic Forums:

I thought I'd at try

The Great American Bash

Changing hair color...what is the best way?

Hi!

battle

Rover GFX

New OnDigital Website

a coupla new sites..

Contest: Best Stock Photo Of 2006

my newest piece of work

Some sketches

Home Of The Brave

Absolut Freedom

Dj Nik Bean - BEEF IV

Halloween Vector

"Comic Look" Tutorial

ghrain vs jmusso

Spirit fence : keerisen

pixel stretch

www.jeichi.com

1

My Daughter's GD Future and Offshoring..?

hey people

Illustrator: dirty text effect

what do you think about my website?

Philosophy of webdesign

Design Forum..

Whats up.

Inspirational Blog - Designmensch.com

Halloween GAP jeans ad idea...

New to this forum..

Got Illustrator..........drew something

1

Hello

Panic: keerisen


File Sharing Service  Image Sharing Service  Usenet Newsgroups Reader
Guide to Serials and Shows  English Subtitles For DivX Movies  Lyrics Catalogue
Over 5000 Cocktail Recipes  Hot News Archive  Funny Jokes and Anecdotes
Cooking Recipes Catalogue  Cool Online Encyclopedia  Computer Games Cheats
Pets Department  Spam Free Guestbook Service  Medical Catalogue


Free Web Stats