PHP Scripts Don't Have to End in .PHP

Written by Robert Plank


Continued from page 1

As soon as you set this up, try going back to your site. Everything should look exactlyrepparttar same, withrepparttar 107168 exception that your HTML pages are all now PHP-enabled.

So you could setup a simple script likerepparttar 107169 one here: http://www.jumpx.com/tutorials/1

... And put that on any HTML page of yours. It will work exactlyrepparttar 107170 same as ifrepparttar 107171 file ended in .php instead of .html. Neat, huh?

You could even go crazy and change that line of htaccess code to add in more weird file extensions, for example:

AddType application/x-httpd-php .html .htm .ezine

This would parse any page ending in .html, .htm, or .ezine as PHP. So you could name a file something crazy like "subscribe.ezine" and it would work as a PHP script, or in other words as an HTML file with PHP tags in any place you want them.

For thank you pages sometimes I like to makerepparttar 107172 extension .thanks or .order just to make it harder to guess.

If you wanted to go totally nuts, you could even put something like this in your .htaccess file:

DefaultType application/x-httpd-php

With that, any file without an extension (so if you named a file "download" instead of "download.php") will be "assumed" to be a PHP file. Any unrecognized extension would default to PHP.

The reason I say you can go totally nuts with this is because now you can now name a file to something that isn't already used -- like site.blog, or form.feedback, subscriber.area or bonus.page.

Experienced PHP/JavaScript Tutor Solves 19 Of Your Most Frustrating Direct Response Sales Page Hang-Ups http://www.salespagetactics.com/Your_Clickbank_ID

(The above article may be copied as long as this resource box is included, You may rebrand the above URL with your Clickbank ID however)


Adware - Is It Safe?

Written by Dennis Welch, Computer-Help-Guide.com


Continued from page 1

Strictly speaking, spyware is a program that does this "phone home" activity without your knowledge. And when an ad supported program crosses this line, it's spyware.

It shouldn't matter if they tell you in section 12, subparagraph 15, item 1.5a of their EULA or not...it's still spyware when they do this. Put it up front inrepparttar license agreement. Letrepparttar 107167 user know what they're installing.

Is There Any Such Thing as a Good Adware Program?

One comes to mind as I write this...Eudora email client. According to their claims (and I have no reason to doubt them), their program doesn't spy on you.

When you install Eudora, you fill out a user profile that you can modify whenever you want. This profile (minus any personal information) is used to serve advertisements from Qualcomm servers. Qualcomm isrepparttar 107168 maker of Eudora.

Should You Use Ad Supported Programs?

I'm not anti-adware. I've used these programs inrepparttar 107169 past, and I'll probably use them again, but I want them to tell me what information they're gathering, why they're gathering it, and where they're sending it.

Be up front with it. Make it easy to understand. Most users aren't lawyers. Like I said, I understand advertising and I support advertising...ethical advertising.

After researchingrepparttar 107170 company, I may decide to trust them and install their program. That way, I get a good program for free and they get their advertising revenue...it can be a win/win situation.

What can you do to protect yourself?

Educate yourself. Know what you're installing and using on your computer. Readrepparttar 107171 EULA.

Visit websites like PCPitstop.com and check out their Spyware Information Center to learn about spyware and adware. Run their free online scans to keep your computer safe.

Also visit websites like Safer-Networking.org or Lavasoft.com. Read their articles and forums. Install Spybot Search & Destroy and AdAware, which you can get for free from those websites.

And, as you'll see me write over and over, back up your computer regularly.

Article courtesy of: Dennis Welch http://www.computer-help-guide.com Computer Help Guide provides comprehensive guides, tutorials and tips to help you manage and maintain your personal computer.

Copyright 2005 Computer-Help-Guide.com, all rights reserved. Reprinted with permission.


    <Back to Page 1
 
ImproveHomeLife.com © 2005
Terms of Use