GetDotted Domains

Viewing Thread:
".htaccess security"

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.

Wed 14/11/01 at 21:07
Regular
Posts: 787
Are there any plans to enable .htaccess security mechanisms on Freeola to allow password controlled websites?
Thu 22/11/01 at 13:35
Regular
"Eff, you see, kay?"
Posts: 14,156
It's something that's automatically enables in php.ini, which is the PHP configuration. It stands for Magic Quotes, Get Post and somethign else for the "C".

Basically, whenever variables are set in PHP using a query string, or "GET" (?threadid=24621&forumid=206¤tsort=desc), or by a form which is sent as POST, it automatically perfoms an addslashes() command on the string. It adds escape characters to all single quotes, double quotes and a load of other stuff. Therefore, a " comes up as \". This is so it doesn;t make mistakes when inserting it all into a database. It's very annoying though because most of the time you're not actually inserting stuff into the database, so every time data moves you have to stripslashes(), especially if it's coming from the user. This is the cause of most irregularities in my code at least.

The only way I know to disable it is to use a .htaccess file. Otherwise, you just have to put up with it!
Wed 21/11/01 at 23:33
Regular
"It goes so quickly"
Posts: 4,083
What is magic_quotes_gpc Rob??
Wed 21/11/01 at 23:13
Posts: 0
Bob wrote:
> On a Unix web server with a large ammount of domains hosted you cannot use
> .htaccess. It is to do with the virtual hosts files. We have the same problem as
> we have too many domains to use .htaccess files.

Thanks Bob, I was afraid you were going to say that.
Mon 19/11/01 at 08:01
Regular
"Eff, you see, kay?"
Posts: 14,156
Okey doke. I just wanted to disable magic_quotes_gpc. I hate that so much.
Mon 19/11/01 at 06:16
Regular
Posts: 612
It depends on what servers they run, what features are enabled and so on.
Thu 15/11/01 at 00:56
Regular
"Eff, you see, kay?"
Posts: 14,156
Nuh, Freedom2Surf can manage it and they have a STUPID amount of sites hosted there!
Wed 14/11/01 at 21:31
Regular
Posts: 612
On a Unix web server with a large ammount of domains hosted you cannot use .htaccess. It is to do with the virtual hosts files. We have the same problem as we have too many domains to use .htaccess files.
Wed 14/11/01 at 21:07
Posts: 0
Are there any plans to enable .htaccess security mechanisms on Freeola to allow password controlled websites?

Freeola & GetDotted are rated 5 Stars

Check out some of our customer reviews below:

Simple, yet effective...
This is perfect, so simple yet effective, couldnt believe that I could build a web site, have alrealdy recommended you to friends. Brilliant.
Con
I've been with Freeola for 14 years...
I've been with Freeola for 14 years now, and in that time you have proven time and time again to be a top-ranking internet service provider and unbeatable hosting service. Thank you.
Anthony

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.