you are browsing category: Coding
Redirecting Old Wordpress Site to New Wordpress Si...
Posted by Craig Edmonds in Coding on 11 29th, 2009 | No Comments
SQL Injection and Sanitising User Input...
I have been asked this a few times.
How do I redirect my old wordpress web site to a new domain but maintain all the same pages? I dont want to lose my serps because of the domain change.
Here is a nice seo friendly 301 redirect which will redirect all the...
View the Full Article Here
Posted by Craig Edmonds in Coding on 09 11th, 2009 | No Comments
Execute a remote page using VB Script...
I think the comic below sums up the issue perfectly.
ALWAYS sanitise the users inputs otherwise expect your database to be corrupted.
Thanks to XKCD for the clip
See http://xkcd.com/327/
View the Full Article Here
Posted by Craig Edmonds in Coding on 04 15th, 2009 | No Comments
Tinyurl API and Classic ASP...
Quite often I need to execute a remote page on a web server somewhere, maybe to trigger an update or send an email on a timely basis.
The easiest and simplest way I have found is by using Microsoft.XMLHTTP.
You can use it to execute php pages, asp or .net...
View the Full Article Here
Posted by Craig Edmonds in Coding on 04 8th, 2009 | No Comments
3 Web Design Tips to Help You Sell...
If you wanted to link to the tinyurl.com api in order to create tinyurl’s with ASP then here is the code I am successfully using with my ASP twitter updater.
Function GetTinyURL(url)
’set the url
url=”http://tinyurl.com/api-create.php?url=”...
View the Full Article Here
Posted by Craig Edmonds in Coding, Internet Design, On Site Marketing on 10 25th, 2008 | No Comments
How CSS Makes Your Site Google-Friendly...
You can increase your share of mouse clicks when you put enough attention to web design. However, having brilliant content or amazing products is not enough.
Site traffic dwindles when users find it difficult to visit and navigate your website.
Countless products...
View the Full Article Here
Posted by Craig Edmonds in Coding, Internet Design, On Site Marketing on 10 24th, 2008 | No Comments
ASP Date Formats and Functions...
Cascading Style Sheets (CSS) is a simple and convenient tool for web developers. CSS allows developers to separate the aesthetic elements of a page including color, fonts, and layout, from the page’s content such as body text and images.
Separating content...
View the Full Article Here
Posted by Craig Edmonds in Coding on 08 26th, 2008 | No Comments
ASP 301 Redirect...
Here are some useful code snippets for ASP dates.
1/21/2001
<%= FormatDateTime(theDate) %>
Sunday, January 21, 2001
<%= FormatDateTime(Date, 1) %>
Time: 5:53:39 PM
<%= FormatDateTime(Now, 4) %>
1/21/2001 5:53:39 PM
<%= FormatDateTime(Now)...
View the Full Article Here
Posted by Craig Edmonds in Coding on 08 20th, 2008 | No Comments
A “301 redirect” is more commonly called a “301 moved permanently” status.
It tells a visitor or search engine that the page has been moved elsewhere and no longer exists in its previous place but has been moved somewhere else.
You...
View the Full Article Here





