20 July 2010

How to embed Flash files(.swf,flv ) and song in a blog or your own website?

Many of my friends generally asks me how to embed flash files ,music player in a blog or website,So this post is dedicated to my friends choice

so Let us start

1:-First you will need a flash file ,which you can either create yourself or search on net for free flash banners

2:-if you choose for free then they will provide you a file of code,you have to upload that file either in your own server or just register yourself at free web hosting websites ,just sign up and upload your file

3:-then you have to use embed tag

<embed type="application/x-shockwave-flash" src=" address of that file" pluginspage=" http://www.macromedia.com/go/getflashplayer" height="" width="" />

choose height and width as your choice

4:-finally you have to add above code to your website or blog and you are done

2:-For adding music player or song in your website

use this code

<embed name="songname"
src="address of song file"
loop="false"
autostart="false"
hidden="true"/>


This embeds the sound, but the 'autostart' feature is off and the 'hidden' feature is true, so the user doesn't see a console upon entering your webpage.

If any queries ,Feel free to fire it here




07 July 2010

Hot to track IP address of your friend while chating?

There are many ways to track ip of any internet user ,of all those one way i am going to write here now.

Whenever you chat with any of your friend via yahoo messenger ,ask him to send you any file it may be of any format(jpg,gif,txt,doc,docx)
while your friend send you the file.Immediately open command prompt
As command prompt will open,now type netstat

It will return the list of all connection made with your computer
Local address will show you the ip address of your computer and foreign address is the address of computer with which connection of your computer has made.

Local address will be of this form

127.0.0.1:44343

here 44343 corresponds to port no

now out of all these check where port no 80 comes ,if you find the port no 80 then the corresponding foreign address will be of your friend's IP address