Force no caching with PHP
If you’re a web developer you’ve almost certainly run into web page caching issues. Allow me to explain one situation I found myself in and how I fixed it. Read more…
Decoding UTF-8 in PHP
I recently ran into an issue trying to get some strings converted to the correct character encoding in a PHP website of mine. In searching Google for help I found that many others have had similar issues. I’ve concluded that most of these issues could be solved, or at least less painful, by first understanding character encoding. Make yourself familiar with how character encoding works, why it’s there, and which encoding you are most likely to use on your website. Read more…
Categories: PHP Tags:
How to “echo” an array in PHP
The PHP echo() function is great for spitting out your basic types of values, such as strings and numbers. But if you want to see the values, or even better the data structure, of an array you will need to use a different method. This is where print_r() comes in handy. Read more…
Categories: PHP Tags:
jQuery Class Selector
In this brief article I will illustrate using the jQuery class selector by giving a few examples. Read more…
Categories: DOM, JavaScript Tags:
jQuery.getJSON() Example
If you are creating an Ajaxy web application jQuery offers a few great methods to help you out. In this article I will demonstrate one of those; the getJSON() function. I’ll create a simple example of how this wonderful powerful, yet beautifully simple function can be used. Read more…
Categories: AJAX, JavaScript Tags:
jQuery and iFrames
In this example I will demonstrate how to access and change data and elements in an iframe from the container document. Read more…
Categories: DOM, JavaScript Tags:
Using jQuery to change CSS
If you are a front end web developer you will likely run into a project where you need to modify the look, or styles, of a web page. There are some incredible Javascript libraries and other scripts that can help you do this, and my personal favorite is the jQuery Javascript library. Read more…
Categories: DOM, JavaScript Tags:
jQuery Ajax Example
In a previous article I’ve written some about Ajax and how it can be useful. In this article I’ll give a detailed and simple code example to help you understand how you might use the jQuery “ajax” method. We will create the front end of a web page where two or more visitors can chat. Read more…
Categories: AJAX, JavaScript Tags:
What is Ajax?
The term Ajax (or AJAX) stands for Asynchronous Javascript And XML. Ajax is commonly used in web sites and applications. It allows Javascript on the web page to send and retrieve information from a server in the “background”. Read more…
Categories: AJAX Tags:
How to zip a file and how to unzip a file
What zip is and some times it can come in handy.
To zip files and folder is one method for compressing them, making them take up less space on your computer. Read more…
Categories: Windows Tags: