Skip to main content

Posts

Showing posts from February, 2014

How to start .htaccess in wamp server

        Hi,How to start .htaccess on localhost wamp server , Below are simple step 1.Open wamp_server  (Go to Wamp -> Right click at icon in the taskbar=> Apache => httpd.conf ) 2.Edit httpd.conf file. 3. Just remove the # sign before the LoadModule rewrite_module modules/mod_rewrite.so  4.  Save the file.Mod Rewriting is enabled. 5. Restart the Server(Go to Wamp -> Right click at icon in the taskbar=> Restart All services) Thats it, Enjoy  

How to upload and make downloadable zip file in blogger post

      Google sites is a freely provide us  for storing data, We can store more data on this site.Below are simple step for How to upload and make downloadable zip file in blogger post. 1. Go to Google sites . 2. Login with your google account. And Click On CREATE button. 3. Choose a blank template then fill up the name of your site, the site location and the captcha then click CREATE . 4. Now you are on your site.Click on MORE button after that MANAGE SITE 5. Now click on ATTACHMENT 6. After you upload the file .And  right click the download link and click Copy Link location . 7. Now, you can use the link on your blogger post by adding a link to a text where readers would click. Enjoy !!!

Thickbox jquery demo

    ThickBox is a webpage UI dialog widget written in JavaScript on top of the jQuery library. Its function is to show a single image, multiple images, inline content, iframed content, or content served through AJAX in a hybrid modal.

htaccess url rewrite php ( URL Rewriting )

Most dynamic sites include variables in their URLs that tell the site what information to show the user. Typically, this gives URLs like the following, telling the relevant script on a site to load product number 1. www.webgagan.com?product.php&product_id=1&category_id=2 We want convert above url to such url www.webgagan.com/product/1/2/  Simply use below code in .htaccess file Create product.php page 1)  RewriteRule ^([a-zA-Z0-9_-]+)/{0,1}$       $1.php [QSA,L]      From www.webgagan.com?product.php      To www.webgagan.com/product/      ->Fire this url  2)  RewriteRule ^([a-zA-Z0-9_-]+)/([a-zA-Z0-9_-]+)/{0,1}$     $1.php?id1=$2 [QSA,L]       From www.webgagan.com?product.php&product_id=1      To www.webgagan.com/product/1/     ->Fire this url 3)  RewriteRule ^([a-zA-Z0-9_-]+)/([a-zA-Z0-9_-]+)/([a-zA-Z0-9_-]+)/{0,1}$    $1.php?id1=$2&  id2=$3 [QSA,L]      From www.webgagan.com?product.php&produc

Simply, how to add cufon fonts in html

Step 1 : Get Cufon http://cufon.shoqolate.com/generate/ Open this link  and right click the “Download” tab – choose “Save Link As…” Save "cufon-yui.js" into a local directory in your machine.    Step 2: Generate Your Font  http://cufon.shoqolate.com/generate/  Open this link  click on the “Regular typeface” field – and browse to your desired font in your local machine.   Check off the "The EULAs of these fonts allow Web Embedding (without Adobe Flash)" and the Terms of Agreement. Click on the “Let’s Do This” Button at the very end of that page. Go ahead and save this file in the same directory where you saved the core Cufon-yui.js file and we’re ready to build your page. Step 3: Customize Cufon font in html pages Add below four line of code in your html head tag <script type="text/javascript" src="cufon-yui.js"></script > <script type="text/javascript"  src="Kruti_400.font.j