Pages

Thursday, September 19, 2013

how to use laptop wifi as wifi router. and share your home internet on tablets and phones with windows 7.

Hi

To share your internet connection running on your laptop via any dongle device or Cable please follow these simple steps.

Step 1 - Go to the start button or search bar and type cmd.
Step 2 - When you see the cmd link please Run that as administrator


Step 3- When your command prompt opens simple type under command on it.

netsh wlan set hostednetwork mode=allow ssid=mywifi key=yourpassword keyusage=persistent

Step 4 - Then again type another command to run this wifi.

netsh wlan start hostednetwork


Step 5- When its successfully started the wifi. Then start your internet connection and go to the Network and sharing Center from control panel

Step 6 -  Choose Change adapter settings from left side navigation




Step 7 - Once your networks icon appear, right click on the current running internet network and go to properties




Step 8 - After that select the sharing tab from the tabs



and select Allow other network users to connect through this computer's Internet Connection checkbox and save.
and you have successfully setup your wifi connection.

Access any of your mobile or tablet device this conenction and remember to put password your mentioned on wifi while set up

enjoy! :)


posted by honeyonsys

Saturday, April 13, 2013

How to send an html formatted mail with php mail() function



To send an html formatted text or emailer with php mail function you need to put correct syntax and header information inside you mail function. The most important is to have the header information. Because header will tell your function that your email contain what format of text, for that you can use



$headers =  'MIME-Version: 1.0' . "\r\n" .
                 'Content-type: text/html; charset=iso-8859-1' . "\r\n" .
                'From:'.$email . "\r\n" .
                        'Reply-To: '. $email . "\r\n" .
                        'X-Mailer: PHP/' . phpversion();

for a better explanation the example is as follows



You should type this manually, thats how you will learn :)


posted by honeyonsys

HTML Codes - Characters and symbols

Standard ASCII set, HTML Entity names, ISO 10646, ISO 8879, ISO 8859-1 Latin alphabet No. 1
Browser support: All browsers
ASCIIHTMLHTML
DecHexSymbolNumberNameDescription

32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
20
21
22
23
24
25
26
27
28
29
2A
2B
2C
2D
2E
2F

!
"
#
$
%
&
'
(
)
*
+
,
-
.
/

!
"
#
$
%
&
'
(
)
*
+
,
-
.
/


"



&








space
exclamation point
double quotes
number sign
dollar sign
percent sign
ampersand
single quote
opening parenthesis
closing parenthesis
asterisk
plus sign
comma
minus sign - hyphen
period
slash
ASCIIHTMLHTML
DecHexSymbolNumberNameDescription

48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
30
31
32
33
34
35
36
37
38
39
3A
3B
3C
3D
3E
3F
0
1
2
3
4
5
6
7
8
9
:
;
<
=
>
?
0
1
2
3
4
5
6
7
8
9
:
;
<
=
>
?












<

>
zero
one
two
three
four
five
six
seven
eight
nine
colon
semicolon
less than sign
equal sign
greater than sign
question mark
ASCIIHTMLHTML
DecHexSymbolNumberNameDescription

64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
40
41
42
43
44
45
46
47
48
49
4A
4B
4C
4D
4E
4F
@
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
@
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O















at symbol














ASCIIHTMLHTML
DecHexSymbolNumberNameDescription

80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
50
51
52
53
54
55
56
57
58
59
5A
5B
5C
5D
5E
5F
P
Q
R
S
T
U
V
W
X
Y
Z
[
\
]
^
_
P
Q
R
S
T
U
V
W
X
Y
Z
[
\
]
^
_


























opening bracket
backslash
closing bracket
caret - circumflex
underscore
ASCIIHTMLHTML
DecHexSymbolNumberNameDescription

96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
60
61
62
63
64
65
66
67
68
69
6A
6B
6C
6D
6E
6F
`
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
`
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o















grave accent














ASCIIHTMLHTML
DecHexSymbolNumberNameDescription

112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
70
71
72
73
74
75
76
77
78
79
7A
7B
7C
7D
7E
7F
p
q
r
s
t
u
v
w
x
y
z
{
|
}
~
p
q
r
s
t
u
v
w
x
y
z
{
|
}
~


























opening brace
vertical bar
closing brace
equivalency sign - tilde
(not defined in HTML 4 standard)
ASCIIHTMLHTML
DecHexSymbolNumberNameDescription

128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
80
81
82
83
84
85
86
87
88
89
8A
8B
8C
8D
8E
8F













































(not defined in HTML 4 standard)
(not defined in HTML 4 standard)
(not defined in HTML 4 standard)
(not defined in HTML 4 standard)
(not defined in HTML 4 standard)
(not defined in HTML 4 standard)
(not defined in HTML 4 standard)
(not defined in HTML 4 standard)
(not defined in HTML 4 standard)
(not defined in HTML 4 standard)
(not defined in HTML 4 standard)
(not defined in HTML 4 standard)
(not defined in HTML 4 standard)
(not defined in HTML 4 standard)
(not defined in HTML 4 standard)
(not defined in HTML 4 standard)
ASCIIHTMLHTML
DecHexSymbolNumberNameDescription

144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
90
91
92
93
94
95
96
97
98
99
9A
9B
9C
9D
9E
9F













































(not defined in HTML 4 standard)
(not defined in HTML 4 standard)
(not defined in HTML 4 standard)
(not defined in HTML 4 standard)
(not defined in HTML 4 standard)
(not defined in HTML 4 standard)
(not defined in HTML 4 standard)
(not defined in HTML 4 standard)
(not defined in HTML 4 standard)
(not defined in HTML 4 standard)
(not defined in HTML 4 standard)
(not defined in HTML 4 standard)
(not defined in HTML 4 standard)
(not defined in HTML 4 standard)
(not defined in HTML 4 standard)
(not defined in HTML 4 standard)
ASCIIHTMLHTML
DecHexSymbolNumberNameDescription

160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
A0
A1
A2
A3
A4
A5
A6
A7
A8
A9
AA
AB
AC
AD
AE
AF

¡
¢
£
¤
¥
¦
§
¨
©
ª
«
¬

®
¯

¡
¢
£
¤
¥
¦
§
¨
©
ª
«
¬
­
®
¯

¡
¢
£
¤
¥
¦
§
¨
©
ª
«
¬
­
®
¯
non-breaking space
inverted exclamation mark
cent sign
pound sign
currency sign
yen sign
broken vertical bar
section sign
spacing diaeresis - umlaut
copyright sign
feminine ordinal indicator
left double angle quotes
not sign
soft hyphen
registered trade mark sign
spacing macron - overline
ASCIIHTMLHTML
DecHexSymbolNumberNameDescription

176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
B0
B1
B2
B3
B4
B5
B6
B7
B8
B9
BA
BB
BC
BD
BE
BF
°
±
²
³
´
µ

·
¸
¹
º
»
¼
½
¾
¿
°
±
²
³
´
µ

·
¸
¹
º
»
¼
½
¾
¿
°
±
²
³
´
µ

·
¸
¹
º
»
¼
½
¾
¿
degree sign
plus-or-minus sign
superscript two - squared
superscript three - cubed
acute accent - spacing acute
micro sign
pilcrow sign - paragraph sign
middle dot - Georgian comma
spacing cedilla
superscript one
masculine ordinal indicator
right double angle quotes
fraction one quarter
fraction one half
fraction three quarters
inverted question mark
ASCIIHTMLHTML
DecHexSymbolNumberNameDescription

192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
C0
C1
C2
C3
C4
C5
C6
C7
C8
C9
CA
CB
CC
CD
CE
CF
À
Á
Â
Ã
Ä
Å
Æ
Ç
È
É
Ê
Ë
Ì
Í
Î
Ï
À
Á
Â
Ã
Ä
Å
Æ
Ç
È
É
Ê
Ë
Ì
Í
Î
Ï
À
Á
Â
Ã
Ä
Å
Æ
Ç
È
É
Ê
Ë
Ì
Í
Î
Ï
latin capital letter A with grave
latin capital letter A with acute
latin capital letter A with circumflex
latin capital letter A with tilde
latin capital letter A with diaeresis
latin capital letter A with ring above
latin capital letter AE
latin capital letter C with cedilla
latin capital letter E with grave
latin capital letter E with acute
latin capital letter E with circumflex
latin capital letter E with diaeresis
latin capital letter I with grave
latin capital letter I with acute
latin capital letter I with circumflex
latin capital letter I with diaeresis
ASCIIHTMLHTML
DecHexSymbolNumberNameDescription

208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
D0
D1
D2
D3
D4
D5
D6
D7
D8
D9
DA
DB
DC
DD
DE
DF
Ð
Ñ
Ò
Ó
Ô
Õ
Ö
×
Ø
Ù
Ú
Û
Ü
Ý
Þ
ß
Ð
Ñ
Ò
Ó
Ô
Õ
Ö
×
Ø
Ù
Ú
Û
Ü
Ý
Þ
ß
Ð
Ñ
Ò
Ó
Ô
Õ
Ö
×
Ø
Ù
Ú
Û
Ü
Ý
Þ
ß
latin capital letter ETH
latin capital letter N with tilde
latin capital letter O with grave
latin capital letter O with acute
latin capital letter O with circumflex
latin capital letter O with tilde
latin capital letter O with diaeresis
multiplication sign
latin capital letter O with slash
latin capital letter U with grave
latin capital letter U with acute
latin capital letter U with circumflex
latin capital letter U with diaeresis
latin capital letter Y with acute
latin capital letter THORN
latin small letter sharp s - ess-zed
ASCIIHTMLHTML
DecHexSymbolNumberNameDescription

224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
E0
E1
E2
E3
E4
E5
E6
E7
E8
E9
EA
EB
EC
ED
EE
EF
à
á
â
ã
ä
å
æ
ç
è
é
ê
ë
ì
í
î
ï
à
á
â
ã
ä
å
æ
ç
è
é
ê
ë
ì
í
î
ï
à
á
â
ã
ä
å
æ
ç
è
é
ê
ë
ì
í
î
ï
latin small letter a with grave
latin small letter a with acute
latin small letter a with circumflex
latin small letter a with tilde
latin small letter a with diaeresis
latin small letter a with ring above
latin small letter ae
latin small letter c with cedilla
latin small letter e with grave
latin small letter e with acute
latin small letter e with circumflex
latin small letter e with diaeresis
latin small letter i with grave
latin small letter i with acute
latin small letter i with circumflex
latin small letter i with diaeresis
ASCIIHTMLHTML
DecHexSymbolNumberNameDescription

240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
F0
F1
F2
F3
F4
F5
F6
F7
F8
F9
FA
FB
FC
FD
FE
FF
ð
ñ
ò
ó
ô
õ
ö
÷
ø
ù
ú
û
ü
ý
þ
ÿ
ð
ñ
ò
ó
ô
õ
ö
÷
ø
ù
ú
û
ü
ý
þ
ÿ
ð
ñ
ò
ó
ô
õ
ö
÷
ø
ù
ú
û
ü
ý
þ
ÿ
latin small letter eth
latin small letter n with tilde
latin small letter o with grave
latin small letter o with acute
latin small letter o with circumflex
latin small letter o with tilde
latin small letter o with diaeresis
division sign
latin small letter o with slash
latin small letter u with grave
latin small letter u with acute
latin small letter u with circumflex
latin small letter u with diaeresis
latin small letter y with acute
latin small letter thorn
latin small letter y with diaeresis

HTML 4.01, ISO 10646, ISO 8879, Latin extended A and B,
Browser support: Internet Explorer > 4, Netscape > 4
HTMLHTML
DecHexSymbolNumberNameDescription

338
339
352
353
376
402
152
153
160
161
178
192
Œ
œ
Š
š
Ÿ
ƒ
Œ
œ
Š
š
Ÿ
ƒ





latin capital letter OE
latin small letter oe
latin capital letter S with caron
latin small letter s with caron
latin capital letter Y with diaeresis
latin small f with hook - function
HTMLHTML
DecHexSymbolNumberNameDescription

8211
8212
8216
8217
8218
8220
8221
8222
8224
8225
8226
8230
8240
8364
8482
2013
2014
2018
2019
201A
201C
201D
201E
2020
2021
2022
2026
2030
20AC
2122









































en dash
em dash
left single quotation mark
right single quotation mark
single low-9 quotation mark
left double quotation mark
right double quotation mark
double low-9 quotation mark
dagger
double dagger
bullet
horizontal ellipsis
per thousand sign
euro sign
trade mark sign

Tuesday, March 26, 2013

how to fix the weird redirection problem in wordpress after migrate from localhost to live server

I have create a wordpress website online which i need to move to my offline localhost server to modify the things, everything was working fine except the wp-admin redirection whenever i tried to open my admin panel by visiting link localhost/mysite/wp-admin it was redirecting me to my website url from where i had downloaded all the files http://mywebsite/wp-admin.

By searching a lot i didn't get any good response then i start searching the things in database on phpmyadmin.
and what i find there :). It was an entry on wordpress table wp-options  inside that there is a column option_name and option_value. I changed the sitename value to localhost and its start redirecting to my localhost path only.

database -> wp-options -> option_name(siteurl) -> option_value(your url)

posted by honeyonsys

Tuesday, March 19, 2013

how to block a website on a computer by editing admin file and how to give permission to edit the admin file

You can block any website to open on your computer by editing a windows file located in

c:/windows/system32/drivers/etc/

the file named hosts





edit this file with notepad.

and put the website name at the below which you want to block like the below image


in the above image you can see that i have mention the facebook website with an ip address. The ip address will be mentioned already with the host name their, copy that ip address and put the website address after that which you want to block. and save it.

Error while saving the host file Access Denied!

If you computer denied your request to save the hosts file, it will mean that the current user you are logged in to your pc is dont have the permission to edit or write admin file or windows file for that you can follow the following steps:

You need to give permissions to the File/folder, follow the steps below:

# Right-click the file and select Properties.
# Click on the Security tab.
# Click Advanced in the lower right.
# In the Advanced Security Settings window that pops up, click on the Owner tab.
# Click Edit.
# Click Other users or groups.
# Click Advanced in the lower left corner.
# Click Find Now.
# Scroll through the results and double-click on your current user account.
# Click OK to all of the remaining windows except the first Properties window.
# Select your user account from the list up top and click Edit.
# Select your user account from the list up top again and then in the pane below, check Full control under Allow, or as much control as you need.
# You’ll get a security warning, click Yes.
# On some files that are essential to Windows, you’ll get a “Unable to save permission changes… access is denied” warning and there’s nothing that you can do about it to the best of my knowledge.


Try it :)


posted by honeyonsys

Monday, March 18, 2013

javascript to disable right click on a web page.


You can disable the right click on any webpage by putting the follwing javascript code under the tag.




you should type this of your own. This is how u will learn :)


posted by honeyonsys

Thursday, March 14, 2013

How to Manage the Hard Disk Space in Windows 7

Step 1:

Go to Windows 7 Menu and choose control panel. you will see a window like shown below. choose 'System and Security'.




Step 2:

you will see a window like given below.Choose 'Administrative Tools'.




Step 3:

Now you will see a pop-up that contains a no of icons that are associted with different functionalities . choose 'Computer Management'.Now this will open another Window of 'Computer management'. From this window choose 'Storage'.




Step 4:

After choosing storage option ,you will find only one option 'Disk Management'. So, choose it. Now, you will see the 'information about your hard disk as well as other storage devices connected to your computer at that time'. Now to manage any part of your hard disk or any other storage device just 'right click' on it you will see options like 'Shrink ,Extend, Delete etc' as per possibility. So ,do whatever you want with it...










Tutorial HTML for beginners part 4 of 4


Tutorial HTML for beginners part 4 of 4



posted by honeyonsys

Tutorial HTML for beginners part 3 of 4


Tutorial HTML for beginners part 3 of 4



posted by honeyonsys

Tutorial HTML for beginners part 2 of 4


Tutorial HTML for beginners part 2 of 4




posted by honeyonsys

Tutorial HTML for begginers part 1 of 4


Tutorial HTML for beginners part 1 of 4

click to see the video


posted by honeyonsys

Wednesday, March 6, 2013

Error while connecting to the mysql databse with php whereas username and password are correct

Some time you face this problem specially new programmers while connecting to the mysql database that they are not able to connect it to the database on their hosting server whereas their username and password they have created are correct. So what the thing they missed out?

Its the hosting service prefix

whenever you are in any hosting serivice its having a username prefix for example

user login for hosting service bibo123 and password *******

so whenevr you create a database and new user to that hosting account it will prefic the bibo123_ on that database name and username too. So if you are having a database name student it will prefix the bibo123_ to it and it will become bibo123_student. so as it will do with the username also. for description their is an example below to connect to mysql database

hosting login: bibo123_
username you created: jinah
password: pikachu


$username = bibo123_jinah;
$password = bibo123_password
mysql_connect("localhost", $username, $password) or die(mysql_error());
echo "Connected to MySQL
";
try it.



posted by honeyonsys

Print the next highest integer value by rounding up value with javascript

To convert a decimal value like 4.5 to a round value to its nearest decimal integer we have three main function in the javascript library

Math.ceil() = Round a number upward to it's nearest integer:
Math.round() = Round a number to the nearest integer:
Math.floor() = Round a number downward to its nearest integer:



Round() example

var a=Math.round(2.60);
var b=Math.round(2.50);
var c=Math.round(2.49);
var d=Math.round(-2.60);
var e=Math.round(-2.50);
var f=Math.round(-2.49);

Result

3
3
2
-3
-2
-2


Ceil() example

var a=Math.ceil(0.60);
var b=Math.ceil(0.40);
var c=Math.ceil(5);
var d=Math.ceil(5.1);
var e=Math.ceil(-5.1);
var f=Math.ceil(-5.9);

Result

1
1
5
6
-5
-5


floor() example

var a=Math.floor(0.60);
var b=Math.floor(0.40);
var c=Math.floor(5);
var d=Math.floor(5.1);
var e=Math.floor(-5.1);
var f=Math.floor(-5.9);

Result

0
0
5
5
-6
-6

Print the next highest integer value by rounding up value with php

To make a round value from an decimal value like:

3.4 to 4
5.6 to 6

you can use the php ceil function, ceil - Round fractions down

its syntax is float ceil ( float $value )

example 

echo ceil(3.4);    // 4
echo ceil(9.999);  // 10


for a value Round fraction down you can use the floor()

example

echo floor(4.3);   // 4
echo floor(9.999); // 9
echo floor(-3.14); // -4


and one is the round() function which returns the nearest round value to the decimal

echo round(3.4);         // 3
echo round(3.5);         // 4
echo round(3.6);         // 4
echo round(3.60);      // 4
echo round(1.955832);  // 1.96
echo round(1241757, -3); // 1242000
echo round(5.0452);    // 5.05
echo round(5.0552);    // 5.06


for more detail or reference you can see the detail documentation on http://www.php.net/manual/en/function.round.php


posted by honeyonsys

Tuesday, March 5, 2013

How to make gradient effect with css only (without using image)

You can use this trick to make a
background like a gradient with using only css (no background image needed). the code is here


you will get the out put as follows



you can use -webkit- and -moz- for mozilla or other unsupportive style browser. but this cant be work in below IE9.

test it :).



posted by honeyonsys

About Me

Hi,My name is Harish Kumar.I am a web developer by profession.I am working in the same field since 2008. About my skills i am proficient in HTML,CSS,JAVASCRIPT/JQUERY/ ANGULAR,PHP,MYSQL,APACHE,LINUXAJAX, REST,etc...