Nomax5 wrote:
For instance
where is php.ini ? I don’t seem to have one.
I can't tell you where your php.ini is, since this can be located in a hundred places.
Quote:
Also
Quote:
.htaccess file
On most servers, you can configure the Apache with files with the name .htaccess. These files can not be read from the web! Often you can't just copy such a file on your webspace, but you can rename a file to .htaccess.
What does the above statement mean? "These files can not be read from the web" well I can read mine, infact I can right click and edit it in my ftp client or download it and change it.
Type into your browser "http://youradress.com/.htaccess". You wont be able to read it from the web. FTP is something different.
Quote:
"but you can rename a file to .htaccess" what? rename a file from .htaccess to .htaccess why, why would anyone do that?
You sometimes can't edit these .htaccess files via ftp, thats why you could create a htaccess.txt on your computer, copy it over to the server and then rename it locally.
Quote:
Every line in my .htaccess starts with a # should I precede the lines below with a # ? because when I don’t my site wont work.
Quote:
php_admin_flag register_globals off
php_admin_flag magic_quotes_gpc on
if you put a # before something, it is commented in this file. This means that everything in that line behind this character will not be interpreted and you are effectively switching the command used on that line to off. When your site does not work when using these two lines, you exactly have the situation why I wrote "
some" and not "all" can be configured with these .htaccess-files. This is a feature your provider has to allow you to do.
Quote:
you say
Quote:
Apache/PHP configuration files outside of your website's folder
If you have access to the configuration files of your server, you can put
What configuration file? Specifically what are the files called ?
The same as with the php.ini. These files can have a multitude of names and can be situated in equally as many folders. I just can't tell you which name the file has or where to find it, since this is not fixed and the same on every server.
Quote:
Also if I ask my hosting provider to turn globals off perhaps my joomla site will not work then I will have to raise another ticket to get globals turned back on.
So this is my problem:
I have the following 2 messages in my admin
PHP register_globals setting is `ON` instead of `OFF`
Joomla! RG_EMULATION setting is `ON` instead of `OFF` in file globals.php
Also It seems that some people can join my site without actually visiting it
New members have been created Names like “diet pills” and “free ringtones”
When I look at the member details they have no last visited date.
I think register globals thing has something to do with it. but I can not make any sense of this thread or the one it relates to.
The thing is hackers are targetting Joomla and all the help and advice seems to lead to this thread and we need more than one thread for this.
Yes, you *may* have problems with some extensions that need register_globals turned on. But these specific extensions are so damn insecure, that it would be a wonder that you haven't been hacked allready. TURN IT OFF! Using those extensions is like driving with a car without brakes. Its not a question if you crash but just when.
On the emulation, please read my original thread again. I explained where to turn it off.
About the users registering on your site: This has nothing to do with register_globals or anything. This is expected behaviour. The users register and only when they log in, they get a "last visited" date. Since the spammers using your registration form are not logging in, there is no "last visited" date available to the program. Easy as that.
About your last statement: You have noticed that you are in the security forum, right? This forum alone has over 34 pages of listed threads with the topic security. Also, there are literally hundreds of postings about register_globals and rg_emulation in this forum alone, not counting the hundreds writing such stuff into general questions, etc. There *is* more than one thread about this.