Go Back   Web Hosting UK Forums | Linux Windows Dedicated Server and cPanel VPS Hosting Forum > Support > php issues.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-19-2007, 07:40 PM
Junior Member
 
Join Date: Aug 2007
Posts: 14
Default Turning on global_registers - tearing my hair out!

Hi in FAQ 3 it says to use .htaccess. I changed .htaccess in www folder to

php_value register_globals 0 (was set to php_value register_globals 1)

did nothing.

Any Ideas?

Many Thanks!
Reply With Quote
  #2 (permalink)  
Old 08-19-2007, 07:49 PM
Dan's Avatar
Dan Dan is offline
Guru
 
Join Date: Aug 2007
Location: England, UK.
Posts: 686
Default

Hi,

are you running a VPS, Reseller or Dedicated Server? If you are running a VPS / Dedicated Server try restarting it via WHM, see if that works.

--
Dan
Reply With Quote
  #3 (permalink)  
Old 08-19-2007, 07:54 PM
Junior Member
 
Join Date: Aug 2007
Posts: 14
Default

Quote:
Originally Posted by Dan View Post
Hi,

are you running a VPS, Reseller or Dedicated Server? If you are running a VPS / Dedicated Server try restarting it via WHM, see if that works.

--
Dan
i'm a spooner... i was on a shared server bought from these guys, bought a dedicated ssl cert, so have move to a dedicated IP. WHM??? not sure i xan restart
Reply With Quote
  #4 (permalink)  
Old 08-19-2007, 08:06 PM
Junior Member
 
Join Date: Aug 2007
Posts: 14
Default

Ive sorted it thanks for the help!
Reply With Quote
  #5 (permalink)  
Old 08-19-2007, 08:10 PM
Administrator
 
Join Date: Mar 2006
Posts: 1,702
Default

register_globals has been turned off for your account. Please check the same from your end.
__________________
Web Hosting UK - ASP MSSQL Hosting - cPanel Linux Hosting
AIM : webredback || msn : andrew @ webhosting.uk.com
Toll Free : 0808 262 0855
Reply With Quote
  #6 (permalink)  
Old 08-19-2007, 08:18 PM
Junior Member
 
Join Date: Aug 2007
Posts: 14
Default

Quote:
Originally Posted by Administrator View Post
register_globals has been turned off for your account. Please check the same from your end.
I thought I had sorted it... I need them on... Ive tried the .htaccess to enable them but still no luck.. Can they be turned on?
Reply With Quote
  #7 (permalink)  
Old 08-19-2007, 08:33 PM
new member
 
Join Date: Aug 2007
Posts: 3
Default

Its "On" now. Please open a ticket for support team if you wish to have it resolved in less time.

Thank you,
Jason
Reply With Quote
  #8 (permalink)  
Old 08-19-2007, 08:53 PM
Senior Member
 
Join Date: Jan 2007
Posts: 939
Default

No reason to turn them on! why would you want to have scripts that can't cope with register_globals OFF???.

Why don't you get upto date and stop using 'shorthand coding ' scripts!
__________________
West Dorset Community
Reply With Quote
  #9 (permalink)  
Old 08-19-2007, 08:57 PM
Dan's Avatar
Dan Dan is offline
Guru
 
Join Date: Aug 2007
Location: England, UK.
Posts: 686
Default

Quote:
Originally Posted by jon123 View Post
No reason to turn them on! why would you want to have scripts that can't cope with register_globals OFF???.

Why don't you get upto date and stop using 'shorthand coding ' scripts!
No reason to exclaim this to him, he might want them on for personal / private use.
Reply With Quote
  #10 (permalink)  
Old 08-19-2007, 09:07 PM
Senior Member
 
Join Date: Jan 2007
Posts: 939
Default

Quote:
Originally Posted by Dan View Post
No reason to exclaim this to him, he might want them on for personal / private use.

Show me an example!
__________________
West Dorset Community
Reply With Quote
  #11 (permalink)  
Old 08-19-2007, 09:10 PM
Junior Member
 
Join Date: Aug 2007
Posts: 14
Default

What has it got to do with you jon? If you must know i was testing a oscommerce template. Before bothering to modify it to work with globals off i wanted to see if it worked... is that ok Jon?
Reply With Quote
  #12 (permalink)  
Old 08-19-2007, 09:55 PM
Senior Member
 
Join Date: Jan 2007
Posts: 939
Default

Well whether you want them on or not I couldn't give a shi*t, just trying to help by offering a suggestion by saying all php scripts have to be written with consideration of $globals being set as 'off'.

I use oscommerce and as far as |I am aware all is geared up for globals off...but what do I know!!!!
__________________
West Dorset Community
Reply With Quote
  #13 (permalink)  
Old 08-19-2007, 09:57 PM
Dan's Avatar
Dan Dan is offline
Guru
 
Join Date: Aug 2007
Location: England, UK.
Posts: 686
Default

Quote:
Originally Posted by jon123 View Post
Show me an example!
I'm sorry, i dont exactly have an example at hand.
Reply With Quote
  #14 (permalink)  
Old 08-19-2007, 09:59 PM
Senior Member
 
Join Date: Jan 2007
Posts: 939
Default

What about your other hand?
__________________
West Dorset Community
Reply With Quote
  #15 (permalink)  
Old 08-19-2007, 10:00 PM
Junior Member
 
Join Date: Aug 2007
Posts: 14
Default

Quote:
Originally Posted by jon123 View Post
Well whether you want them on or not I couldn't give a shi*t, just trying to help by offering a suggestion by saying all php scripts have to be written with consideration of $globals being set as 'off'.

I use oscommerce and as far as |I am aware all is geared up for globals off...but what do I know!!!!
this is a based on v2.1 mate... so needed them ON. OSCOM 2.2RC1 includes all the fixes so they are off... You were not offering advice just been a twait. enough said this can be binned now..
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 04:09 AM.
Copyright 2002-2007 WebHosting.uk.com. All rights reserved.
Web Hosting UK Forum