GetDotted Domains

Viewing Thread:
"A PHP and ASP question."

The "Freeola Customer Forum" forum, which includes Retro Game Reviews, has been archived and is now read-only. You cannot post here or create a new thread or review on this forum.

Fri 31/10/03 at 13:42
Regular
"It goes so quickly"
Posts: 4,083
In PHP, you can use this bit of code:

if (eregi("Header.php", $PHP_SELF))
header("Location:error.htm");

This allows you to prevent people going to pages that are not intended to be viewed on their own. The method is:

"If the user is asking to view this page via their browser, redirect them to the 'error.htm' page".

Is such a method available in ASP, and if so, could someone give me some sample code??

Thanks.
There have been no replies to this thread yet.
Fri 31/10/03 at 13:42
Regular
"It goes so quickly"
Posts: 4,083
In PHP, you can use this bit of code:

if (eregi("Header.php", $PHP_SELF))
header("Location:error.htm");

This allows you to prevent people going to pages that are not intended to be viewed on their own. The method is:

"If the user is asking to view this page via their browser, redirect them to the 'error.htm' page".

Is such a method available in ASP, and if so, could someone give me some sample code??

Thanks.

Freeola & GetDotted are rated 5 Stars

Check out some of our customer reviews below:

Thanks!
Thank you for dealing with this so promptly it's nice having a service provider that offers a good service, rare to find nowadays.
Just a quick note to say thanks for a very good service ... in fact excellent service..
I am very happy with your customer service and speed and quality of my broadband connection .. keep up the good work . and a good new year to all of you at freeola.
Matthew Bradley

View More Reviews

Need some help? Give us a call on 01376 55 60 60

Go to Support Centre

It appears you are using an old browser, as such, some parts of the Freeola and Getdotted site will not work as intended. Using the latest version of your browser, or another browser such as Google Chrome, Mozilla Firefox, or Opera will provide a better, safer browsing experience for you.