Pages

Tuesday 21 August 2012

Design reference - envelopments.com


Hi Everyone!!

         Here is a website whose design inspired me.... www.envelopments.com You must view it once if you are interested in web designing stuff.


What I liked in this site design is:

  • Beautiful use of colourful images
  • Perfect colour combinations
  • Convenience for visitor
  • Complete display of product
  • Arrangement of products
      So next time when start designing a website, these points must be kept in mind...Would share with you the designs that are inspiring and innovative...Hope this was helpful.

Monday 20 August 2012

CSS -Creating Text Shadow

Hi Everyone!!

                      Well here is a very simple method to add charm to the text displayed on your webpage, by adding the shadow effect. It will look like following snapshot.





The css class is as follows:

.shadow
  {
  text-shadow: 0.1em 0.1em 0.2em black
  }

Wednesday 8 August 2012

Security - htmlentities()

Hi everyone!!

       Most of the sites include data entry by the user and then storing it into the database. If user enters some html code or some script it will be stored as it is in the database. But the real problem arises when it comes to displaying the data somewhere like user profile etc. The malicious code may be executed on displaying.

Wednesday 1 August 2012

PHP Security - mysql_real_escape_string()

Hi everyone!!

        mysql_real_escape_string( ) is a function that is used to secure pages that involve database storage and retrieval later on. It is effective against attacks like SQL injections.

$name = mysql_real_escape_string($_POST('name'));

here $_POST('name') is input from form element.