Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

ini_set()


lilysavage

Recommended Posts

Posted

Could someone please help as I can't get past the register_globals problem and I have contacted the host company but they offer little help or I should say little help to me because I don't understand!

 

I am on a Windows platform and was sent the following email,

 

"You cannot override the php.ini settings in the .htaccess file on our servers, to change any settings on a temporary basis you will need to use the ini_set() variable"

 

Trouble is I don't know what to do with the variable......can someone help so I can at least get up and running.

 

Thanks in advance.

 

:unsure:

Posted

So what I did was insert the following,

 

ini_set(register_globals, 1)

 

into index.php in the /catalog/install directory

 

and now I'm getting the following error

 

Parse error: parse error, unexpected T_LNUMBER in \\nas08ent\domains\w\webtechnique.net\user\htdocs\catalog\install\index.php on line 12

 

Can anyone help???????

Posted

Could you paste line 12 of the index.php file that is not parsing correctly for us all to view.

 

Thanks

Posted

You cant change the register globals setting using ini_set()

 

:(

Mark Evans

osCommerce Monkey & Lead Guitarist for "Sparky + the Monkeys" (Album on sale in all good record shops)

 

---------------------------------------

Software is like sex: It's better when it's free. (Linus Torvalds)

Posted

You're on a Fasthosts server. I see from your posts that you've already found out how useful "Xtremely Useless Support" is. Your only hope of sanity in this life is to host elsewhere! Vger

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...