Html4newbies
Put your hands into html and php
Home
Privacy
About
Contact
Html Home Links
Home
Privacy
About
Contact
Advertise
Link to us
Tweet
Make Your Signature
Hot Links
Earn Cash
Downline Builder
Ticketcaesar
Click4hitz
Luckyte
Thesafelist TE
Pawtraffic
Perl4newbies TE
Wexe Team
Caesartraffic
My Space
Myspace Backgounds
Myspace Backgounds 2
Myspace Contact Tables
Hot Links
Wexe
Free santa letter
Hosting Links
Hosting
NEWBIE Html Tutorials
Simple Intro
Newbie Links
Newbie Tables
Newbie List
Newbie Form
Newbie Images
Newbie Font
Newbie Meta
Favicons
Alt & Title
Onclick
Php
Simple Intro
What browser
Using if statment
Variables
Strings
Operators
Comments
Include a file
Require a file
Switch Statement
Form
Arrays
Get Real Ip Address
Generate User or Pass
Connect to a database
References
Html Tags
Symbols Chart
Color Chart
File Sizes
Image Types
Errors Questions
Learn to use Ftp
Html Examples
Protect Email
Email link with body
Vertical lines
No Border image
Making tabs
Privacy Statement Example
Free Php Snippets
Php Snippets 1
Php Snippets 2
Get Real Ip Address
Get the real ip address of a visitor with this function
function getUserIP() { if(isset($_SERVER['X_FORWARDED_FOR'])) { if(strpos($_SERVER['X_FORWARDED_FOR'], ',') === false) { return $_SERVER['X_FORWARDED_FOR']; } return trim(reset(explode(',', $_SERVER['X_FORWARDED_FOR']))); } return $_SERVER['REMOTE_ADDR']; } /* Example of use: $userip = getUserIP(); */
Copyright © 2002-2012 Html4newbies - Html4newbies.com NetWork