Free Web Hosting PHP/mySQL
GlobalWeb.com.ru Forum Index GlobalWeb.com.ru
Free Web Hosting :: Commercial Web Hosting :: PHP/mySQL :: CGI/Perl
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Generating "Error 403 - Forbbidden" (ASP)

 
Post new topic   Reply to topic    GlobalWeb.com.ru Forum Index -> Howtos
Author Message
G-Bomb



Joined: 29 Feb 2004
Posts: 73

PostPosted: Tue Mar 09, 2004 10:22 pm    Post subject: Generating "Error 403 - Forbbidden" (ASP) Reply with quote

Using this code, you can generate that annoying Error 403 that won't let you into certain places of some websites. This page is sent a name from a form on another page:

Code:
<%@ LANGUAGE="VBScript" %>

<%
name = Request.QueryString("Name")
If name <> "Paul"
   Response.Status = "403 Forbidden"
End If
%>

<html>
<body>

<%
Response.Write "Welcome back " & name
%>

</body>
</html>
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    GlobalWeb.com.ru Forum Index -> Howtos All times are GMT
Page 1 of 1

 


Free Web Hosting, Commercial Web Hosting, PHP/mySQL Copyright © 2009
Free Scripts Directory | Free Software Downloads | Newsgroups Directory | Optel.net | Mirroraty | Cruised.net | Hardware Keylogger