Guest Posted September 9, 2005 Posted September 9, 2005 Hi. Does anyone Know the command line to putty to turn on register_globals? I have typed in all that I can think of with no luck. cheers
♥Vger Posted September 9, 2005 Posted September 9, 2005 Unless you have a local php.ini file (which you could then access via FTP) then you can't turn on Register Globals in php.ini. Unless the server is your own dedicated server then php.ini is owned by the server (web hosting company). Accessing your part of a shared server via SSH or Telnet would make no difference because you wouldn't have the chroot permissions to be able to do it. If the server is Apache then you could use the following line in a .htaccess file in the root of your web: php_flag register_globals on If all else fails you'll have to install the Register Globals Patch Files (link below my name). Vger
Guest Posted September 10, 2005 Posted September 10, 2005 Unless you have a local php.ini file (which you could then access via FTP) then you can't turn on Register Globals in php.ini. Unless the server is your own dedicated server then php.ini is owned by the server (web hosting company). Accessing your part of a shared server via SSH or Telnet would make no difference because you wouldn't have the chroot permissions to be able to do it. Hi again. Yes it is a dedicated server, using linux. I should have really gone for windows as that would not have been a problem to me, but I thought windows was not for os. It seems that I have 'nano' loaded but cant even find it using command prompt. I tried the .htaccess file but it does not seem to work on my set up. The suppliers of the server want ?120 + vat just to turn false to true and I really don't want to let them have it, and they wont even give me a clue for free. Any ideas?
♥Vger Posted September 10, 2005 Posted September 10, 2005 If it is a dedicated server using Linux then you do have access to the main php.ini file, and you can set it there by locating the php.ini file via putty and then editing it in Putty. I'm afraid it's a problem if you get a dedicated server without the additional Administrator Control Panel which would allow you to manage everything via a graphical interface. The dedicated server may be cheap, but then the company makes a small fortune from charging you for everything you want done - including all security patches/updates etc. Vger
Guest Posted September 10, 2005 Posted September 10, 2005 damn i all to often get totally lost with the technicalities of these posts. you people make me look silly ;)
Recommended Posts
Archived
This topic is now archived and is closed to further replies.