Friday, April 29, 2016

gtu enrollment format

gtu enrollment format

13-614-03-11-001
yy-clg-ff-dd-eee

yy-clg-ff-dd-eee
yy- year of admission
clg - college code
ff- field diploma ,be etc
dd - deparment  ce , ec ,it etc ...
eee - enrolment number

Thursday, April 21, 2016

how to access xammp from local network

How to access XAMPP from external address


how to host my site on local netowrk

# New XAMPP security concept
#
#<LocationMatch "^/(?i:(?:xampp|security|licenses|phpmyadmin|webalizer|server-status|server-info))">
# Order allow,deny
# #Deny from all
# Allow from ::1 127.0.0.0/8 \
# fc00::/7 10.0.0.0/8 172.16.0.0/12 192.168.0.0/16 \
# fe80::/10 169.254.0.0/16
#
# ErrorDocument 403 /error/HTTP_XAMPP_FORBIDDEN.html.var
#</LocationMatch>

Saturday, April 16, 2016

tomcat port change


by default  port - 8080 - replace with 8085



 <!-- A "Connector" represents an endpoint by which requests are received
         and responses are returned. Documentation at :
         Java HTTP Connector: /docs/config/http.html (blocking & non-blocking)
         Java AJP  Connector: /docs/config/ajp.html
         APR (HTTP/AJP) Connector: /docs/apr.html
         Define a non-SSL HTTP/1.1 Connector on port 8085
    -->
    <Connector port="8085" protocol="HTTP/1.1"
               connectionTimeout="20000"
               redirectPort="8443" />
    <!-- A "Connector" using the shared thread pool-->
    <!--
    <Connector executor="tomcatThreadPool"
               port="8085" protocol="HTTP/1.1"
               connectionTimeout="20000"
               redirectPort="8443" />
    -->

Tuesday, April 12, 2016

mysql_connect error

mysql_connect() error

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in C:\wamp\www\dbtest.php on line 

erro in -
PHP logo

PHP Version 5.5.12


this  feature  remove in php 5.... upgrate version

Sunday, April 3, 2016

how to remove link in word document

how to remove link in word document
To remove a single hyperlink without losing
 the display text or image, right-click
the hyperlink, and then click Remove
 Hyperlink. To remove all hyperlinks in a
document, press CTRL+A to select the
 entire document and then press CTRL+SHIFT+F9.

Saturday, April 2, 2016

printer install but not print how to solve

1. Start Registry Editor (Regedt32.exe).
2. Under the HKEY_ CURRENT_USER subtree, go to the following subkey:
Software\Microsoft\Windows NT\CurrentVersion\Windows
3. Add or edit the following registry entry
Device:REG_SZ:<printer description string>
where <printer description string> is the value that Print Manager would put in if this operation were done through Print Manager. It would resemble one of the following:
\\SERVER\HPLASER,winspool,Ne00: or DESKJET,winspool,LPT1:
The Ne00 is a network port and LPT1 a local port.
With some applications, the default printer is read at the time the application is started and you will need to close and restart the application for the new default printer to show.

master page in php

Simple MasterPages with PHP
If you are an ASP.Net developer used to working with MasterPages (or any equivalant on another framework), you may be looking for an equivalant while working with php.  I was looking to do something like that with my homepage (hoolihan.net).  This is a very simple site, where a full framework would have been overkill.
Here’s how I pieced it out:
First: Create a template page, I called mine master.php.
<body>
<div><?php include('header.php');?></div>
<div><?php include('menu.php');?></div>
<div><?php include($page_content);?></div>
<div><?php include('footer.php');?></div>
</body>


Second: Create a content piece, for example about_text.php.
<p>This is information about me.</p>
Third: Create the page with the actual name you want to use:
<?php
$page_content = 'about_text.php';
include('master.php');
?>


<?php
$page_content = 'about_text.php';
include('master.php');
?>

save ->  about.php

One added benefit is that the content piece is then loadable in other places if need be.
Obviously, you’ll want to add a few bells and whistles.   For example, It’s a good idea to check for $page_content being null, and provide a default in that case.  I left out some of those things for the sake of brevity.
For more patterns in php, check out the following books:
PHP Objects, Patterns and Practice (Expert’s Voice in Open Source)
PHP Object-Oriented Solutions
Basically, it’s a real simple way to cleanly break up your php pages.  Hope you found  this useful…
Update: I’ve posted a follow-up article about the ajax ideas mentioned in this article. Also, see more php posts on this blog and more programming posts.
Update 2: User Ton posted a good comment below about how to setup the content variable (and simplify your url) with apache.

how to remove pen drive shortcut

How to remove Shortcut virus using command prompt/CMD? – Method 2
You should  proceed this method if the first one doesn’t work. This involves a “command prompt”. Now click “start”, “run”, “type cmd” “type the drive letter of your flash drive or external hardisk and a colon after it “eg F:” Once done type this attribute “attrib f:*.* /d /s -h -r -s”. You should see your files now and Shortcut Virus must be removed.

how to track facebook user ip address

•Press Win+R , a shortcut it us.
•Next you type cmd and enter.
•In the command prompt that appears, type netstat -an and click enter.
•This now provides to you with a list of IP addresses, which will have the person’s address whom you are chatting too as well.
•You now have to have a look at the possible IP of the person.
•Next you have to go to http://www.ip-adress.com/ip_tracer/ and then type the IP address on the box which says “lookup this ip or website”

search on google ip of location  -

how to hide data behide image

 Go to “Start,” “Run,” and type: cmd.
6. Now type: cd , then type: cd Folder1. (Of course, replace Folder1 with the name of your folder.)
7. Type the following: copy /b myimage.JPG + archivedthing.rar myimage.jpg
(Note: Replace the name “myimage” with the name of your image, and replace “archivedthing” with the name of your compressed file.)

how to increase internet searching speed

For Google DNS:
Preferred DNS: 8.8.8.8
Alternate DNS: 8.8.4.4
For Open DNS:
Preferred DNS: 208.67.222.222
Alternate DNS: 208.67.220.220
For Comodo SecureDNS:
Preferred DNS: 156.154.70.22
Alternate DNS: 156.154.71.22


SET UP FAMILYSHIELD ON YOUR DEVICE
Thanks for choosing OpenDNS! To get started, you'll need to set up one or more of your devices to use OpenDNS's FamilyShield DNS Nameservers. For instructions on how to do this, choose your device type from one of the categories below.
NOTE: When following the device instructions, be sure to use our FamilyShield nameservers instead. Our FamilyShield nameservers are:
208.67.222.123
208.67.220.123

how to boot usb pendrive

boot usb


easy to boot your  usb pen drive using cmd

c:\windows\system32>
c:\windows\system32>diskpart

diskpart>list disk

diskpart>select disk 1

diskpart>clean

diskpart>create partition primary

diskpart>format=fs ntfs quick
diskpart>active
diskpart>exit



after copy past your os in pen drive