Website Security:

Stop image and bandwidth thiefs from stealing your website

Posted by John Wed, 18 Jul 2007 23:26:00 GMT

If you are like most website owners you are probably sick of people linking to images on your website. Today I am going to tell you about a way to stop image and bandwidth thiefs it is called hotlink-protection

This is a simple example of how you can stop hotlinking your website using an .htaccess file if you put the following lines in you .htaccess file and change the bold links so that they match your websites links.

RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://www.technologyforever.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.technologyforever.com$ [NC]
RewriteRule .*\.(jpg|jpeg|gif|png|bmp|swf)$ http://technologyforever.com/forums/ [R,NC]

I am not liable if you mess something up this code is assuming that the .htaccess file is new and blank.

 

This will stop the thiefs

Posted in HTML | no comments

Affordable Name Brand Digital Cameras

Posted by John Fri, 08 Jun 2007 19:01:00 GMT

Have you ever wanted to buy a digital camera, but when you looked at the price tag

you were then thinking "forget this", "I can't afford this", ETC. While in todays blog

titled "Affordable Name Brand Digital Cameras" on TechnologyForever.com in the blog

section. We are going to talk about places where you can get name brand Digital Cameras for

an affordable price without killing your savings.

STEP 1:
Where to look

Where: http://www.nextag.com

What: Nextag.com is a Comparison Shopping website.

Why: To find an affordable Digital Camera.

How: On the main page of Nextag.com there is a category called Electronics under

this category there is a sub category titled Digital Camera click there.

Before we begin let me point out some good brands of cameras.

Good Brands:

("Listed in Alphabetical Order below")

Canon, Fuji, Nikon, Panasonic, Sony
STEP2:

Once you have gone to the main page of Nextag.com and click on the sub category

Digital Cameras under the main category of Electronics.

2.1("Choosing the Brand")

Click on the side where it says by brand click the brand you prefer in Digital
Cameras.

Here is the list just incase you need it again this list contains quality brands of

("Digital Cameras listed in Alphabetical Order below")

"Canon, Fuji, Nikon, Panasonic, Sony"
lets say you choose "PANASONIC" as the Brand.

2.2("Choosing a camera of that brand name")

For my example click on "Panasonic"

Now lets say you found two or more Cameras you might consider buying.

2.3("Considering and comparing")

Next to the products listed you will see a box next to each product to compare the

products click on the box on the left side of the products picture.

Now click compare on the top.

2.4("Some things to look for when buying a Digital Camera")

Megapixels: ("The higher the better")
Optical Zoom ("If it has a capability for what you would need in a zoom that's all

that matters, if you would like a great zoom capability the higher the better.")
("Not optical zoom is actual zoom where as Digital zoom is stretching of the pixels

and tends to distort the images to some degree.')

What type of cards does the camera user:
Mini SD
SD
ETC.

Is there a limit on how big the card can actually be.

For instance

1GB
2GB
ETC.

Approximately 1000 MB = 1 GB

Other things to look for

Resolution
LCD size ("screen size on camera")
Rechargeable Battery/No Batter INC./Standard AA Battery NON-Rechargeable
Color("What color is the Camera"
Does it do movies as while
ETC.

For use on TechnologyForever.com Blog Only

no comments

How to downloading videos from youtube.com on to your computer

Posted by John Sat, 26 May 2007 02:55:00 GMT

Introduction:

Downloading video from youtube is very simple

Step 1: Finding a video you want to Start by searching youtube.com for what you want

Next Step 2:

click the video as if you are going to watch the video online at the top of at the top of your browser where the website address is listed click copy and paste the link http://youtube.com/watch?v=P4526ooNL8g is an example of the link

next Step 3:

Retype the url so that it is http://youtube.com/v/P4526ooNL8g

then try loading http://youtube.com/v/P4526ooNL8g in a window in your webrowser you will end up with something like this http://youtube.com/p.swf?video_id=P4526ooNL8g&eurl=&iurl=http%3A//img.youtube.com/vi/P4526ooNL8g/2.jpg&t=OEgsToPDskJXeBBuVfR_8l5CgWsHb3Sw

now change the part where it says p.swf to get_video so now the url is: http://youtube.com/get_video?video_id=P4526ooNL8g&eurl=&iurl=http%3A//img.youtube.com/vi/P4526ooNL8g/2.jpg&t=OEgsToPDskJXeBBuVfR_8l5CgWsHb3Sw instead of http://youtube.com/p.swf?video_id=P4526ooNL8g&eurl=&iurl=http%3A//img.youtube.com/vi/P4526ooNL8g/2.jpg&t=OEgsToPDskJXeBBuVfR_8l5CgWsHb3Sw

now try to load that page http://youtube.com/get_video?video_id=P4526ooNL8g&eurl=&iurl=http%3A//img.youtube.com/vi/P4526ooNL8g/2.jpg&t=OEgsToPDskJXeBBuVfR_8l5CgWsHb3Sw

You will be asked to download a file save the file now download Riva FLV player if you don't have it from http://www.download.com/Riva-FLV-Player/3000-2194-10435953.html now open the video with riva FLV player after installing the player and enjoy the movie.

Posted in Video Tricks and Tips | no comments

YouTube in windows media player

Posted by John Tue, 20 Mar 2007 01:20:00 GMT

In this article I will discuss how to watch Youtube videos in windows media player Step one when you find a you tube video the URL generally looks like this http://www.youtube.com/watch?v=zZfKSYZXScc Step two to get the video into windows media player on you tube one of the ways to get to the video is to type the URL youtube.com/v/ and in the first URL where it says watch?v= copy this number so the URL looks something like this http://www.youtube.com/v/zZfKSYZXScc and at the end of this type .swf so the url looks like http://www.youtube.com/v/zZfKSYZXScc.swf then go to windows media player past http://www.youtube.com/v/zZfKSYZXScc.swf the above URL is an example only into the URL to open in windows media player you will be surprised it actually works also if you wan't to get rid of where it the video to fill the Windows media player right click the video and choose show all.

Posted in Video Tricks and Tips | 2 comments

HTML Tutorial For Beginners

Posted by John Sat, 17 Mar 2007 03:21:00 GMT


HTML Tutorial For Beginners

For People who Need an easy way to learn HTML


"This tutorial originally came from http://www.TechnologyForever.com/
Which is part of The TechnologyForever.com Network"

Lesson 1 The Head Section in HTML
--

An HTML page is in this format

<html>
<head>
<link rel="Shortcut Icon" href="http://technologyforever.com/favicon.ico">
<meta name="description" content="An excellent collection of free online flash games for you enjoyment and an online Forum!">
<META NAME="KEYWORDS" CONTENT="Your, keywords, here, separated, by, a, comma">
<title>Your title</title>
</head>

<body>
</body>
</html>


Where <html> marks the beginning of the html page and </html> Marks the end of the HTML page

Where <head> marks the beginning of the head section which and </head> marks the end of the head section.
In the head section there is a place to put the Icon for your website that shows up when people bookmark you site to add an icon to your web page you would simply
edit this line in your head section of your web page so that people could see your icon lets say for example your website is http://www.technologyforever.com and you have an icon in your root directory for use on your website you would add this icon by editing this line
<link rel="Shortcut Icon" href="http://www.technologyforever.com/favicon.ico">
so that it can link to your icon in your root directory of your website which would contain a fav icon with the name favicon.ico after the Fav Icon has been added of course also take note that Fav Icon is short for Favorite Icon.
Next up is the description tag which gives you a description in search engines and other things so people can find your site easily by reading a description that is relevent. To add the description to your site look at the example of how and HTML page looks Which is near the top of this HTML TUTORIAL where it says
<meta name="description" content="Your description here">
Where it says Your Description here you would change where it says Your Description here with something like: An excellent collection of free online flash games for your enjoyment and an online Forum! Now For the keyword Keywords are words that someone could possibly type into google and find your website an example of this is
<META NAME="KEYWORDS" CONTENT="Your, keywords, here, separated, by, a, comma">
Keywords are seperated with a comma between each keyword with a space after the comma then a new word followed by a Comma except for the last word you would not use a comma and

Now For the title;

In the Head section there is a Place to put the title of your web page the title section is marked with starting the title <title> and </title> ending the title section which is between the head section.
Lets say you wanted a blank page with just a title that says "This is the homepage"
without the quotes of coarse would be done like this
Please Keep in mind meta tags nor a description are required.
<html>
<head>
<title>This is the Homepage</title>
</head>

<body>
</body>
</html>


if you had the original page

<html>
<head>
<link rel="Shortcut Icon" href="http://technologyforever.com/favicon.ico">
<meta name="description" content="An excellent collection of free online flash games for you enjoyment and an online Forum!">
<META NAME="KEYWORDS" CONTENT="Your, keywords, here, separated, by, a, comma">
<title>Your title</title>
</head>

<body>
</body>
</html>


You would have the icon in the root Dir of TechnologyForever.com with a file name favicon.ico
You would also have the description for a search engine such as Google that would say
"An excellent collection of free online flash games for you enjoyment and an online Forum!"
without the quotes and at the top of your browser it would say
"Your title"
without quotes
and a blank page.

Lesson 2 The BODY section in HTML
--
In the Body section the body is what shows physically on your web page.
Such as, Pictures, The visible part of Forms such as Navigation Bars Images and text you can see on the page along with Hyper links and other visible Objects and scripts.

Lets say you would like the text on your page to say "HELLO!" without the quotes
in bold you would write the HTML as follows in the body section portion of your web page

<body>
<strong>HELLO!</strong>
</body>


and as an entire page
<html>
<head>
<title>Your Title here</title>
</head>
<body>
<strong>HELLO!</strong>
</body>
</html>

Your title here would be "Your title here" without the qoutes

okay Now lets say that you would like just a picture you would do the following
<body>
<img src="http://www.technologyforever.com/ss.jpg" />
</body>

and the entire page could be done as follows

and as an entire page
<html>
<head>
<title>Your Title here</title>
</head>
<body>
<img src="http://www.technologyforever.com/ss.jpg" />
</body>
</html>


Your title here would be "Your title here" without the qoutes

Now lets say you want text above the image
you would

write your body section like this

<body>
<strong>HELLO!</strong>
<img src="http://www.technologyforever.com/ss.jpg" />
</body>


Okay Moving on to Hyperlinks
Lets say you would like a HYPERLINK that says click here and when you click the hyperlink you will go to http://www.technologyforever.com or technologyforever.com for short.

you could do this

<a href="http://www.technologyforever.com">Click here</a>
Here is another display of how the body section works.
<body>
<a href="http://www.technologyforever.com">Click here</a>
</body>


but what if you want a picture that when you click the picture the picture will send you to technologyforever.com

<a href="http://www.technologyforever.com"><img src="http://www.technologyforever.com/ss.jpg" border="0" /></a> is a great way to do For the above lets say your displaying the image ss.jpg in the root directory of TechnologyForever.com and when you click this image it will bring you to http://www.TechnologyForever.com
that is how you do this

Now what if want a picture that does this with text and a link and an image

You could do the following in your body section

<body>
<a href="http://www.technologyforever.com"><img src="http://www.technologyforever.com/ss.jpg" border="0" /></a>
<p>The games are fun</p>
<a href="http://www.technologyforever.com">TechnologyForever.com</a>
</body>


That is a basic html tutorial for begginers

Posted in HTML | no comments

Getting the www in your website

Posted by John Sat, 10 Mar 2007 23:48:00 GMT

Have you ever seen a website that appears hokey and unprofessional because of the way the name appears on the top of your browser without the www. in this tutorial I will tell you how to add www. in front of your domain name automaticallyStep 1 (One)If your website does not automatically add the www. in front of your domain namecontinue to step 2Step 2 (Two)in your .htaccess file add the following code

Options +FollowSymLinks
RewriteEngine on
RewriteCond %{HTTP_HOST} ^technologyforever\.com
RewriteRule ^(.*)$ http://www.technologyforever.com/$1 [R=permanent,L]


where it says ^technologyforever\.com in the fourth line replace ^technologyforever\.com
replace technologyforever with your domain name and .com with the domain extension your domain has
and on the sixth line where it says
http://www.technologyforever.com/$1 replace technologyforever.com replace that part with that with of your domain name.

Posted in PHP tutorials | no comments

Templating with PHP

Posted by John Sun, 18 Feb 2007 19:01:00 GMT

Templating with PHP.

Have you ever seen a website that has fast loading pages and wondered how the webmaster did this?

While in this article you will one method of doing this using PHP.

First OFF in html

pages are set up in this format

<html>
<head><title>your title here</title></head>
<body>
<p>
your navigation menu would go here</p>
<p>your site content would go here
<small>The Bottom copyrightetc </small><br>
</body>
</html>

But in PHP you could make three files so you do not have to use big bulky files and you can use navgation on more than one page.

top.php
would contain

<html>
<head><title><?php echo $title; ?></title></head>
<body>
<p>your navigation menu would go here</p>

pgind.php
would contain

<p>your navigation menu would go here</p>

and bottom.php would contain

<small>The Bottom copyrightetc </small><br>
</body>
</html>

and to make these into one page again using php create a file for example call it index.php include the following code.

<?php
$title = 'your title here';
include("top.php");
include("pgind.php");
include("bottom.php");
?>

save it and place it on your php compatible website


Posted in PHP tutorials | 4 comments

Submitting a site for V.I.S. (Very Important Site)

Posted by John Sun, 18 Feb 2007 18:18:00 GMT

Do you have a website that deserves to be part of V.I.S. (Very Important Website) on TechnologyForever.com? ... If you do think you have a website that deserves to be in V.I.S. let us know.

Posted in V.I.S. Very important site | no comments