Profile
Achievement
codingforever99's Recent Snippets
- All /
« Prev 1 Next »
Getting alexa rank is simple, a data link provide by alexa only needs the domain name and then it return xml data including the rank we want, so I make a php function to do this task.
0
1019
posted 10 years ago by codingforever99
Simple PHP functions to validate url, email address and ip, functions will return TRUE for valid data and FALSE for invalid data.
0
1195
posted 11 years ago by codingforever99
Simple PHP functions to validate username, password and date, functions check the input format and allowed characters and then return TRUE for valid data and FALSE for invalid data.
0
3282
posted 11 years ago by codingforever99
How to build a login form using php with mysql database.
0
1047
posted 11 years ago by codingforever99
simple php file uploader with check for file extension and size.
0
1035
posted 11 years ago by codingforever99
designing a simple horizontal tab menu by using ul and il elements with css.
0
991
posted 11 years ago by codingforever99
One of the great methods to load and work with icons in web pages is to load one image that is a collection of several icons and use any icon as needed, that reduces the number of server request and save bandwidth.
1
1019
posted 11 years ago by codingforever99
A simple message box created with only one div container with background and border color, some margin and padding for position the text message nicely, I set the width for 500px, you can change it to auto or any fixed value you want.
1
897
posted 11 years ago by codingforever99