walkere submitted tutorials


profile / submitted / saved / comments / tutorial comments
RSS feed
Enable Client Side Caching for Resized Images
Submitted by Web Cash » The GD library in PHP offers some great tools for resizing and editing images. However, these can increase load time and it would be beneficial to enable client side caching of these resources. You can do this by adding one simple line of code to your image output.
Rating: 2.7/5 | 221 clicks | 0 comments | 0 saves | share | report
How to Randomly Rotate AdSense Ads with Javascript
Submitted by Web Cash » Want to randomize and rotate your AdSense ads? Maybe you want to test a new ad format against an old one? You can do that with this simple bit of Javascript. It's easier than you think.
Rating: 4.0/5 | 351 clicks | 0 comments | 2 saves | share | report
How to Create a Useful Random Number in Javascript
Submitted by Web Cash » Javascript's built in randomizer returns a probability - a random value between 0 and 1. You need to do a little extra work to get a random number that's use-able for picking a random item from a list or working into a game design. This tutorial will show you the standard formula for creating a useful random number from that original randm value.
Rating: 3.3/5 | 342 clicks | 0 comments | 0 saves | share | report
How to do String Replacement in Javascript
Submitted by Web Cash » String replacement is simple enough in PHP - use the str_replace function. Is there an equivalent function we can use in Javascript?
Rating: 3.0/5 | 203 clicks | 0 comments | 0 saves | share | report
Javascript Gaming: Making a Game Board
Submitted by Web Cash » Javascript and DOM make a powerful combination. In this tutorial, you'll learn how some you can use Javascript to build an interactive game board for Tic Tac Toe.
Rating: 3.0/5 | 591 clicks | 0 comments | 0 saves | share | report
Digg API: How to Get a Random Story from Digg
Submitted by Web Cash » This tutorial walks you through using the Digg API to fetch one random story from Digg and display it on your site. Good introduction to using the Digg API for content syndication. Uses PHP and XML.
Rating: 3.2/5 | 220 clicks | 0 comments | 0 saves | share | report
How to Create a Custom RSS Feed with PHP
Submitted by Web Cash » An RSS feed is a great way to serve up your content to users. However, if you're not using a standard CMS or blogging platform you may not have an RSS feed generated for you automatically. This tutorial will show you how to create an RSS feed in a few simple steps. If you can query your database to get information about your articles, you can complete this tutorial and build a custom feed.
Rating: 3.2/5 | 472 clicks | 0 comments | 5 saves | share | report
How to Syndicate an RSS Feed On Your Site
Submitted by Web Cash » This quick tutorial shows you how to use Simple XML to read and manipulate an RSS feed. The end result is a few lines of code that you can use to syndicate a site's feed on your own page - adding links to relevant content for your users.
Rating: 2.7/5 | 253 clicks | 0 comments | 0 saves | share | report
How to Find a Random Date in PHP
Submitted by Web Cash » This tutorial walks you through how to use a few simple functions - strotime(), date(), and rand() - to find a random date in PHP. The end result is a simple one-line command, which you can place in a function and re-use in your own scripts.
Rating: 2.5/5 | 158 clicks | 0 comments | 1 save | share | report
How to Create a Random Password for Users
Submitted by Web Cash » This tutorial shows you how to create an 8-character random password to send to implement into your user-management system.
Rating: 3.0/5 | 616 clicks | 0 comments | 0 saves | share | report