Menu

#1 v0.2 Incomp. php 4.2.0 y posteriores (and later)

open
nobody
None
5
2006-05-19
2006-05-19
Anonymous
No

Español / English

Al parcer webcbq usa variables globales en el paso de
parametros, a partir de de la version de php 4.2.0
de manera predeterminada la variable de configuracion
register_globals se encuentra en off y el paso de los
parametros no funcionan, como parte de las
alternativas de solución estan estas dos

1 opcion (recomendada):
agregar import_request_variables("GP"); en
functions.php (suponiendo que functions.php se carga
en todos los scripts con problemas G indica GET y P
POST)

2 y posiblemente menos segura:
modificar php.ini para establecer
register_globals en on

It seems that webcbq use global variables passing
parameters, in php versions 4.2.0 and later the
configuration variable register_globals is off by
default and the parameters passing doesn't work, as
part of the alternatives of solution are these two

1st (recommended)(attached file):
add this line to the functions.php file
import_request_variables("GP");
(supousing that functions.php is loaded in all
troubling scripts, parameter "GP" is for G GET and P
POST, i chosed GP in order but could be G or PG, dont
know in deep)

2nd lees secure :
modify php.ini and set register_globals to on

Erwin Saen Samayoa Stepanenko
saenito@itelcel.com

System

ubuntu linux 5.04
apache 2.0.53
php version 4.3.10-10ubuntu4
cbq.init v0.7.3
webcbq 0.2

Discussion

  • Nobody/Anonymous

    functions.php file modified

     
  • Nobody/Anonymous

    Use of undefined constant language - assumed 'language' in /var/www/html/webcbq/functions.php on line 35

    Problem

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.