Wednesday, October 31, 2012

Codeigniter Introduction (PHP-MVC)

CodeIgniter is a powerful PHP framework with a very small footprint, built for PHP coders who need a simple and elegant toolkit to create full-featured web applications. If you're a developer who lives in the real world of shared hosting accounts and clients with deadlines, and if you're tired of ponderously large and thoroughly undocumented frameworks 

  1. CodeIgniter is open souce PHP Framework.
  2. Simple and elegant framework to create web applications.
If you are already building PHP Application, CodeIgniter will help you to do it better and more easily. With CodeIgniter, you can save time, make your web more robust, your code will be easier to read and maintenance. It is free, lightweight, and simple to install. In this post, we will know more deep about CodeIgniter before write code.

Please Visit  http://www.phpeveryday.com/articles/CodeIgniter-Framework-Basic-Tutorial-P841.html for more details and had instruction to instann and create sample application.

Tuesday, March 15, 2011

Curve shape menu button creation (Rounded corner)


Most of beginner facing problem with website navigation in design oriented ... While creating navigation button in rounded corner shape, 
yes 
we have simple idea to create rounded corner button in one line of css. 

just follow this lines with your code:

<div style="-moz-border-radius:8px 8px 8px 8px; padding:5px 0px 5px 20px; background-color:#666; width:100px;">
    <a href="#" target="_self" style="color:#FFF; text-decoration:none;">
        Test Button
    </a>
</div>

here -moz-border-radius:8px 8px 8px 8px  syntax using to make rounded shape....
we have to define the button size using  width and we need to make background color to display the button in rounded shape.

Nite :
It might not work in some browsers so instead of above code we can use following code :
moz-border-radius: 8px 8px 0px 0px;
-webkit-border-radius: 8px 8px 0px 0px;
border-radius: 8px 8px 0px 0px;

Monday, February 21, 2011

HTACCESS: RedirectURL with www. Extecsion

htaccess redirect with www domain name (if we enter url without www)
Options +FollowSymLinks
RewriteCond %{HTTP_HOST} ^mysite\.com$ [NC]
RewriteRule ^(.*)$ http://www.mysite.com/ [R=301,L]