i face a problem

Status
Not open for further replies.

sahil3x1

New Member
Messages
324
Reaction score
0
Points
0
i wanna install emeeting script when i go to install it show register_global is not on ur server plz help me
 

cetutnx1

New Member
Messages
510
Reaction score
0
Points
0
Perhaps you could put something like this(i'm not a very good programer but if you want sendme over the script and i will try to fixit so it works with register_globals: off)
PHP:
ini_set(register_globals,on);

or you could do this(i just sawit on php.net):

set PHP_INI_PERDIR settings in a .htaccess file with 'php_flag' like this:

php_flag register_globals off
php_flag magic_quotes_gpc on
 

alvaroag

New Member
Messages
288
Reaction score
0
Points
0
the correct code is ini_set("register_globals","on"); . but you should be careful when using register globals, because it an have security issues. here's a sample taken out from the PHP Help:

PHP:
<?php
// define $authorized = true only if user is authenticated
if (authenticated_user()) {
   $authorized = true;
}

// Because we didn't first initialize $authorized as false, this might be
// defined through register_globals, like from GET auth.php?authorized=1
// So, anyone can be seen as authenticated!
if ($authorized) {
   include "/highly/sensitive/data.php";
}
?>
 

Fedlerner

Former Adm & Team Manager
Community Support
Messages
12,934
Reaction score
6
Points
38
But which file is the one you need to modify?
 
Status
Not open for further replies.
Top