Web Development Archive

How to stop Skype Toolbar from changing numbers to ‘Skype Buttons’ & ruining your website design

One of the most annoying features of the Skype toolbar is its intrusive ‘button’ injection that hijacks your website, changing phone numbers for buttons and ruining your web sites design. I’ve just installed Skype and it installed the toolbar on my machine by default and was ‘killing’ the look of some of my websites.
I researched how to prevent [...]

February 17th, 2010  |  By Oliver  |  Tags: ,   |  Posted in Web Development  |  1 Comment »
(No Ratings Yet)
Loading ... Loading ...

How to run IE6, IE7, IE8, Firefox, Opera & any other browsers side-by-side

(Courtesy of Donavon West – donavon.com)
I have been playing about with the new XP mode feature in Windows 7 Ultimate for a while now and for a developer like myself it has proven to be a god send.
I was asked yesterday by a colleague whether you could set it up to run IE6, 7, 8 & various [...]

January 23rd, 2010  |  By Oliver  |  Tags: , , ,   |  Posted in Web Development  |  No Comments »
(No Ratings Yet)
Loading ... Loading ...

Flash.ocx , Flash10c.ocx Windows Vista VB & C#.NET Class not registered / HRESULT: 0×80040154

Everyone has they’re off day, mine this month involved spending four hours wondering why I couldn’t get Visual Studio to import the Shockwave Flash library and after I finally did get it to (by re-registering Flash10.ocx) wondering why I was still getting a ‘Class Not Registered’ while trying to compile the app.
The full(ish) error message:
“An [...]

August 27th, 2009  |  By Oliver  |  Tags: , ,   |  Posted in Other Stuff, Web Development  |  No Comments »
(No Ratings Yet)
Loading ... Loading ...

Adobe Captivate 4 – Error encountered while copying audio stream – Vista x64

After installing the trial version of Adobe Captivate 4 I received the error:
“Error encountered while copying audio stream”
After searching high and low I finnaly found a fix that works for my setup (Vista x64):
1. Close Captivate
2. Run ‘command prompt (cmd)’ in Admin mode
3. Go to the directory where Captivate-4 is installed
4. Run ‘regsvr32 NSAudio.dll’
5. You [...]

July 18th, 2009  |  By Oliver  |  Tags: ,   |  Posted in Other Stuff, Web Development  |  16 Comments »
(No Ratings Yet)
Loading ... Loading ...

MySQLi & PHP – Cannot execute stored procedure twice

Just a quick note to try and stop other peoples misery while using the newer MySQL client (mySQLi) and executing multiple stored procedures.
My ENVs: PHP5 / MySQL 5 / Window 2003 Server / mySQLi
If you are failing to understand why you can’t execute a stored procedure twice, here’s the answer:
The Stored Procedure:
DELIMITER $$
CREATE
PROCEDURE `testdb`.`getCategoryInfo`(thisCatid INT)
BEGIN
SELECT [...]

July 14th, 2008  |  By Oliver  |  Tags: ,   |  Posted in Web Development  |  1 Comment »
(2 votes, average: 4.50 out of 5)
Loading ... Loading ...

How to get a list of a tables field / column names from MySQL using PHP – getFieldNames() Function

A simple function to replicate the funcationality of the depreciated mysql_list_fields() function. It returns a simple array with a numeric index of the column / field names.
$database – String – The database you want to use
$connect_string – String – Your connection string
$table – String – The name of the table you wish to list the [...]

May 13th, 2008  |  By Oliver  |  Tags: ,   |  Posted in Web Development  |  No Comments »
(No Ratings Yet)
Loading ... Loading ...

VB.NET 2005 – WebClient.UploadString – POST Data Appearing Not To Be Sent

Once again ran into this issue while working on a small VB.NET project for a client.
Problem: When using the webclient to upload a string of data to a PHP/ASP/etc script with the following code (or similar), you aren’t able to pick the posted data up within your receiving script:

Dim wc As New WebClient
wc.UploadString(url, data)

I found [...]

March 15th, 2008  |  By Oliver  |  Tags: ,   |  Posted in Web Development  |  No Comments »
(1 votes, average: 5.00 out of 5)
Loading ... Loading ...

SQL Security

SQL injection attacks pose a major security threat to un-guarded application code. Learn how to better protect your queries and code from these types of malicious attacks in this article by Angus Mackay. See his site for more info.

http://www.colinmackay.net/tabid/57/Default.aspx

August 24th, 2007  |  By Oliver  |  Tags: ,   |  Posted in Web Development, Web Platforms  |  No Comments »
(No Ratings Yet)
Loading ... Loading ...