Linux, Apache, Nginx, MySQL, Javascript and PHP
Grey out a webpage
When showing an inline popup in a webpage (as opposed to a popup window) it is nice to grey
Clear a form with jQuery
A few weeks ago I posted how to clear a form with Javascript and in
Always show a vertical scrollbar in Firefox, Chrome, Safari and Opera
Firefox, Chrome, Safari and Opera by default only show vertical scrollbars if the content on the page is longer
Sending a username and password with PHP CURL
CURL and PHP combined can be really useful for getting data from websites, connecting to APIs (such as the <
Trimming strings with Javascript
Javascript does not have built-in functions to trim strings so they need to be defined either by using a
Styling select, optgroup and options with CSS
Over the past three weeks I’ve looked at some CSS styles that can be applied to select, optgroup and
Reading through a directory with PHP
PHP’s opendir() readdir() and closedir() are used for reading the contents of a directory (there’s also glob() and scandir()
Use one file per table with MySQL’s INNODB storage engine
By default MySQL’s INNODB engine puts all the data for all the INNODB tables for all databases into the
Specify custom styles with FCKeditor
FCKeditor has a style drop down box which can be used to apply styles to a block of text.
Get all cookies with Javascript
In my last jQuery post I looked at how to set, get and clear cookies with
Google Analytics API PHP Class – Get most popular pages
The following shows example usage to get the most popular pages from Google Analytics using my PHP class for
Use append() to add text/html to an element with jQuery
jQuery’s function append() can be used to add text or html to an element. It’s very easy to use
How to do a strikethrough with CSS
This very short post covers something most people who work with CSS should already know how to do: how
Get the included files with PHP
PHP’s get_included_files() function returns an array containing a list of included files by your script, including the
Setting cookies with jQuery
Setting and clearing cookies with jQuery is really easy (especially when compared with regular Javascript) but it’s not includedin
Articles about how to use PHP’s IMAP Functions
This is a summary post with links through to all the posts on my blog where I’ve looked at
Setting the country with Microsoft Bing
I was a little surprised when I took a look at Microsoft’s new Bing search engine to see that
Absolutely position an element within another element with CSS
When an element is positioned absolutely with CSS it is by default relative to the window as a whole