Chose file type: <select onChange=”window.location=this.options[this.selectedIndex].value;”> <option selected>Please select</option> <option value=”Music.aspx”>Music Files</option> <option value=”Movie.aspx”>Movies</option> <option value=”OfficeDoc.aspx#word”>Word Files</option> </select> EXAMPLE: Chose file type: Please select… Music Files Movies Word Files
Archive for the 'Classic ASP' Category
Page Redirect
HTML <meta http-equiv=”refresh” content=”0;url=http://google.com”> Javascript <script language=”javascript”> <!– location.replace(“http://google.com”) //–> </script> Asp / ASP.Net <% Request.Redirect(“http://google.com”) %> Php <?php header( ‘Location: http://google.com’ ) ; ?> Perl (method 1) #!/usr/bin/perl use strict; use warnings; my $url = “http://google.com”; print “Location: $url\n\n”; (method 2) #!/usr/bin/perl print “Content-Type: text/html\n”; print “Location: http://google.com\n\n”; (method 3 – using CGI module) [...]
Block Access To Page Context Menu
By Stephen Chapman Web novices often believe that by blocking their visitors use of the right mouse button that they can prevent the theft of their web page content. Nothing could be further from the truth as there are so many ways to bypass the “no right click script” that the only effects that such [...]