Snaps in category Web Services

Change styles of First/Last Elements in CSS

Sometimes it's desirable to change a style of the first and/or last elements in a…

Adding rounded corners in CSS

You may add rounded corners to your CSS3-based elements, like a border or button. You…

Create Add to Favorites/Bookmark button in Javascript

Most today's web browsers like Firefox (Ctrl+D), Opera (Ctrl+T) and IE (Ctrl+D) provide a keyboard…

Redirect with a Timer

You can use JavaScript window.location to redirect a visitor to a required page. You may…

Copy Selected Text in JavaScript

Sometimes you have some information on your page and your visitors might want to copy…

Create Back Button with JavaScript

You may create a back button like your browser has. The following script allows the…

Get File Path Data in PHP

You may retrieve all needed file path data using PHP's built-in function pathinfo. You don't…

Automatic Password Generation in PHP

Sometimes you need to generate passwords for customers automatically when a new account is created.…

Base64 Encode and Decode String in PHP

Encodes the given data with MIME base64. Base64-encoded data takes about 33% more space than…

Remove Last Character from String in PHP

This is a very common PHP question of HOW TO remove last character from string…

1 2