Monday, 7 December 2015

HTML Page Title Marquee

<!-- Add the event loader to the body tag as below -->
<title> Marquee Use in HTML Page Title</title>

<body onLoad="scrlsts()">
<h1>TITLE MARQUEE</h1>
<h2> Marquee Use in HTML page title</h2>
</body>

<!-- Add the script to the HEAD of your document -->
<script LANGUAGE="JavaScript">
//alert(document.title);
<!-- Begin
var scrl = document.title+" ";

function scrlsts() {
 scrl = scrl.substring(1, scrl.length) + scrl.substring(0, 1);
 document.title = scrl;
 setTimeout("scrlsts()", 300);
 }
//  End -->
</script>

Thursday, 3 December 2015

Remove  Characters in HTML

Thread: PHP - includes ( characters)

Try putting this after your <head> tag:

Code:
                <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>

Friday, 6 November 2015

CodeIgniter Remove index.php By .htaccess

Steps To Remove index.php using .htaccess

Step:-1  Open the file config.php located in application/config path.  Find and Replace the below code in config.php  file.

//  Find the below code

$config['index_page'] = "index.php"

//  Remove index.php

$config['index_page'] = ""

Step:-2  Go to your CodeIgniter folder and create .htaccess  file.

Path:
Your_website_folder/
application/
assets/
system/
user_guide/
.htaccess <--------- this file
index.php
license.txt
Step:-3  Write below code in .htaccess file
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]
</IfModule>
Step:-4  In some cases the default setting for uri_protocol does not work properly. To solve this issue just open the file config.php located in application/configand then find and replace the code as:
//  Find the below code

$config['uri_protocol'] = "AUTO"

//  Replace it as

$config['uri_protocol'] = "REQUEST_URI" 

Tuesday, 3 November 2015

Family Tree In PHP

Create Family Tree In PHP


1st Step : Create these belove file and database
  - CSS : style.css, ddsmoothmenu.css, ddsmoothmenu-v.css
  - JS : ddsmoothmenu.js
  - HTML : tree.html
  - PHP   : index.php, add_member.php, data.php, update.php
       - Database Import : family_tree.sql


Download this Script Click Here

Monday, 5 October 2015

Why Customised permalinks not working in localserver (WAMP) ?

 1st Way : 

For enabling pretty urls / permalinks, you have to enable Apache mod_rewrite.
1. Start WAMP Server. Click on the WAMP Server icon in the tray. Go to Apache -> httpd.conf link on the list. Click on that file link. It will open httpd.conf file in notepad.
2. Use the Find / Search function in Notepad and search for this line :
# LoadModule rewrite_module modules/mod_rewrite.so
Remove that hash and a space before :
LoadModule rewrite_module modules/mod_rewrite.so
Save it. Exit.
3. Restrat WAMP.
      Permalink will work.

 2st Way : 
1. Enable rewrite_module modules