Chris Hope's Electric Toolbox LAMP Blog
Chris Hope's Electric Toolbox LAMP blog has daily posts about Linux, Apache, MySQL, PHP, Javascript, jQuery and occasional Windows and VMWare howtos.
Information
Location:
Auckland, New Zealand

Chris Hope's Electric Toolbox LAMP Blog

 
Chris Hope's Electric Toolbox LAMP Blog
Source: www.electrictoolbox.com
I recently needed to post an HTML form into a popup window instead of targeted to the current document or an existing window. The Javascript for doing this is very simple and in this post I show how to post the form into a popup window with regular Javascript and then with jQuery.
Chris Hope's Electric Toolbox LAMP Blog
Source: www.electrictoolbox.com
I'm currently doing PHP/MySQL work at iMall Brands Ltd and they are currently looking for a Smarty Template Programmer to work on a contract basis anywhere in the world.
Chris Hope's Electric Toolbox LAMP Blog
Source: www.electrictoolbox.com
This post shows how to download a web page and find all the link anchor tags in the page using PHP and the Simple HTML DOM Parser which has a jQuery like syntax selector.
Chris Hope's Electric Toolbox LAMP Blog
Source: www.electrictoolbox.com
The MySQL command line tool mysqldump is used to create backup copies (or dumps) of databases including the structure or schema and the data itself. There are a number of command line flags which can get MySQL to dump just the data or just the structure instead of everything. ...
Chris Hope's Electric Toolbox LAMP Blog
Source: www.electrictoolbox.com
This post shows how to change the cursor on a web page with Javascript by assigning a value to the document.body.style.cursor property.
Chris Hope's Electric Toolbox LAMP Blog
Source: www.electrictoolbox.com
Objects in PHP are assigned by reference, so copying an object with the = operator will result in a second variable referencing the same object and not an actual copy. Enter PHP's clone function which creates a shallow copy of the object.
Chris Hope's Electric Toolbox LAMP Blog
Source: www.electrictoolbox.com
Interspire is currently putting the finishing touches and completing final internal testing on Interspire Email Marketer version 6 and has posted a video with a sneak peek and some beta invites.
Chris Hope's Electric Toolbox LAMP Blog
Source: www.electrictoolbox.com
If a form has a number of input fields they can each be styled using the element's "name" property as well as the "id" property. This is useful if you don't want to have to assign ids to all of your form elements.
Chris Hope's Electric Toolbox LAMP Blog
Source: www.electrictoolbox.com
I mentioned in my Using + to merge arrays with PHP post the other day that I've recently started a new job and one of the interesting things about working with other people's code is the new stuff you ...
Chris Hope's Electric Toolbox LAMP Blog
Source: www.electrictoolbox.com
If a window has been opened with the Javascript window.open function, that window can be referenced using window.opener. This post shows some examples about how to do this.
Chris Hope's Electric Toolbox LAMP Blog
Source: www.electrictoolbox.com
A little while back I posted how to extract the domain, path, etc from a url with PHP and in this follow up post show how to extract the query string into an associative array using the parse_str function.
Chris Hope's Electric Toolbox LAMP Blog
Source: www.electrictoolbox.com
My monthly stats round up posts a summary of the most read posts over the previous month, numbers of visitors to the blog and any changes I have made over the month that may have affected visitor numbers etc. This is the monthly stats roundup for October 2009.
Chris Hope's Electric Toolbox LAMP Blog
Source: www.electrictoolbox.com
I recently needed to test what some web pages looked like when Flash was disabled to show a prompt to install Flash, and discovered how to disable Flash temporarily in Firefox.
Chris Hope's Electric Toolbox LAMP Blog
Source: www.electrictoolbox.com
GoDaddy is currently offering a one-off coupon code for new domain name registrations for just $1.99 plus the 20c ICANN fee.
Chris Hope's Electric Toolbox LAMP Blog
Source: www.electrictoolbox.com
Following up a couple of earlier posts about get the mouse co-ordinates with jQuery and how to get the co-ordinates when an element is clicked, this post looks at how to do both of these but with co-ordinates relative to the element itself so i.e. ...