Tag : basics

JavaScript redirect based on referrer

Basic stuff (as often the case not immediately findable). You want a simple script to redirect to a different page…

Blog Read More

String to integer (strip all non numerics) with PHP

I’ve been hacking somebody else’s CMS (without access to the main engine) and needed to calculate a mathematical function on…

Blog Read More