Featured Links

Other Topics
Sponsored Links







Quote of the Day

"Whenever you find yourself on the side of the majority, it is time to pause and reflect."

Mark Twain





Click here for eBay Motors!


 






 
Featured Javascript Articles

It's the Little Things.....
It's the Little Things.... by windsongOptimizing for the search engines doesn't have to be a tough job.But you need to pay attention to detail. It is often the littlethings that you do to your pages that will improve your rankingin the search engines. ...

"The Most Powerful Skills You Could Have as a Webmaster"
What are the most powerful skills you could have as a webmaster? HTML and website creation programs Graphics programs Perl CGI ASP Javascript ColdfusionThose skills are great, but what many employers and clients REALLY WANT goes unsaid. What they do not ...

The Top 5 Roadblocks To Web Accessibility
Introduction Accessibility is often the last thing on a web designer's mind when creating a website. This is not a trait unique to newbies or people working on a personal page. It is also a trait common to professional web designers (large and small) and ...




Defend Your Thank You Folders From URL Guessers
 
Defend Your Thank You Folders From URL Guessers
By Robert Plank

If you sell downloadable products, you're going to have a thank you page (a
URL where the buyer is redirected after a sale). With just a couple lines
of HTACCESS code you can make that folder airtight.

You shouldn't be putting a buyer through a mandatory signup process to
download the product. They already paid, just give them the file right away
and offer a chance to opt-in for updates later. Otherwise you'll be getting
lots of support e-mails from people asking where the product is they just
paid for.

It's always smart to name your thank you page something with a number -- a
name like postorder735.html or thank-you-9987.html will do. You just want
to make this impossible to guess.

When it's possible I like to separate the sales page from the download, so I
stash them in a folder called something like "download" or "order."
Problem: If you have these separate folders, these URL guessers can see the
contents of them.

The obvious solution is to put an index.html in the folder, which keeps its
contents from being listed... but what if you have, say, 25 of these
folders? Do you need 25 index.html files?

No, and that's where HTACCESS comes in. Open up a new text file in Notepad
and put this text in exactly:

Options -Indexes

Then save the file as: .htaccess (WITH that dot in front)

Upload it to the root of your web site. Now, if you try to view the
contents of a folder that's missing an index.html file, your browser will
show a "403 Forbidden" error.

Don't worry, this won't block out all files. It will simply keep a guesser
from viewing a list of what files are in a given folder.

If you don't want to see that ugly generic Forbidden page, you can supply
your own by adding this line to that .htaccess file of yours:

ErrorDocument 403 /sorry.html

Now you can put your message into a HTML file (maybe it could be a link to
the main page of your site), put it into a file named sorry.html and upload
it. Now you'll have a friendly notice that says anything you want.

One last bonus tip for you. If your forbidden message is extremely short,
you don't even need to create a separate HTML document. If it's possible
for your message to fit all on one line you can remove that ErrorDocument
line above from your .htaccess file and put in something like this:

ErrorDocument 403 "Sorry...

I'm aware that there is a starting quote and no ending quote. That's just
how you have to type it. If you put in a quote at the end there it would
show up in your HTML document. I know it looks funny, but it works.
Remember that "Sorry..." text is HTML so you could put in line breaks,
links, bold tags, H1, H2 tags, and so on. It's all up to you.

About the Author
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)


Google


Javascript News

Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of xml_set_object(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in /mnt/web7/31/89/51742389/htdocs/javascript/rss1.php on line 36


iPhone Security vs. Safari
Washington Post, United States - 4 hours ago
This update addresses the issue by performing additional validation of JavaScript array indices. Credit to SkyLined of Google for reporting this issue. ...

When You Can't Stop Throwing Up
ABC News - 3 hours ago
Javascript is not enabled on your browser. Please enable javascript to use the community features on this page. If your browser does not support javascript, ...

The future of… Paper
ZDNet - 16 hours ago
You need Javascript enabled to view the video player. Larry Dignan is Editor in Chief of ZDNet and Editorial Director of ZDNet sister site TechRepublic. ...

Debug JavaScript in Adobe AIR Apps Using Aptana Studio 1.2.1
SYS-CON Media, NJ - 19 hours ago
JavaScript is pretty much everywhere you look these days, reaching far beyond your desktop browser. Adobe AIR lets you use JavaScript to create desktop ...

Daily Mail

Welfare plan 'may cause poverty'
BBC News, UK - 1 hour ago
Please turn on JavaScript. Media requires JavaScript to play. But from Monday, those with children aged 12 and over will no longer be able to make a new ...
You need to have javascript enabled to view this page correctly Burnley Express
all 154 news articles