Posts Tagged ‘html’


Special Characters in HTML with PHP’s htmlspecialchars() Function

Posted December 8th, 2009 by Barnaby Knowles in Content Management, Website Development

Introduction

Certain characters should not be used as plain text in HTML markup but should instead be represented by their respective HTML entities in order to preserve their meanings. When writing HTML this is a straightforward process – you type the HTML entity rather than the special character. But what happens when you have some plain text containing these characters (out of a database, for example) that you need to display? PHP has a function that will take a string and convert special characters to their HTML entities for you.
(more…)

  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • FriendFeed
  • LinkedIn
  • MySpace
  • Ping.fm
  • Reddit
  • Slashdot
  • StumbleUpon
  • Technorati
  • Twitter

Website Redirects on LAMP Hosting

Posted November 26th, 2009 by Barnaby Knowles in Website Development

You might want to redirect web pages or even your entire website for one reason or another. Perhaps you changed the name or location of a web page, you changed from HTML to PHP file extensions, you changed your domain name… the list goes on. Luckily there are many different ways in which you can set up redirects in a LAMP (Linux, Apache, MySQL, PHP) web hosting environment.

(more…)

  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • FriendFeed
  • LinkedIn
  • MySpace
  • Ping.fm
  • Reddit
  • Slashdot
  • StumbleUpon
  • Technorati
  • Twitter

 
Follow us on twitter! View Our Digg Profile!
Browse Our YouTube Channel! Check Out Our Delicious Bookmarks!
Connect With Us On LinkedIn! Find us on Facebook
Make Child Poverty History
© 2009 RAM. All rights reserved. Built and Powered by WSI. | Sitemap
Website Development and Online Marketing for Huddersfield, Leeds, Manchester, Sheffield & West Yorkshire

WSI Internet Consulting, The Media Centre, 7 Northumberland Street, Huddersfield, HD1 1RL
Registered in England No. 4968860, Bridge End House, Park Mount Avenue, Baildon, BD17 6DS