Bitcoin Forum
November 09, 2024, 02:33:32 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Get trouble with PHP server in osCommerce  (Read 256 times)
helenph (OP)
Newbie
*
Offline Offline

Activity: 8
Merit: 0


View Profile
July 18, 2016, 05:23:49 AM
 #1

I am running an osCommerce app on Hostforlife.eu. I'm not a php expert though. I recently found that some admin pages give errors. I narrowed the problem down to the following line:
Quote
$pIDlist_array=split("&", $_SERVER["argv"][0]);
$_SERVER["argv"][0] returns always NULL.

Code (markup):I think it's because "register_argc_argv" is off in global php configuration.
I created php.ini in the web root directory and the file has register_argc_argv = on. But it doesn't seem to override the default option. So here are my questions:

- Can I override "register_argc_arg" in my php.ini on Hostforlife.eu? Do you have experience with them.
- If I can't change "register_argc_argv" option, what can I do?
- I want to avoid modify all source codes. But if that's the only option, how should I change the problem line?

I need your help, thanks in advance
ErnieRox
Full Member
***
Offline Offline

Activity: 222
Merit: 101


Novus ordo seclorum


View Profile
July 18, 2016, 05:26:43 AM
 #2

http://phpcodechecker.com/ might help u might not  Cool
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!