Author Topic: visitors to 4images pick template.  (Read 29313 times)

0 Members and 1 Guest are viewing this topic.

Offline mantra

  • Sr. Member
  • ****
  • Posts: 358
    • View Profile
    • DREAM WITH MANTRA
Re: visitors to 4images pick template.
« Reply #15 on: February 07, 2009, 04:45:04 AM »
anyone know how to run this mood for register global when set to OFF

Offline SAD

  • Newbie
  • *
  • Posts: 23
    • View Profile
    • Туристические ФотоАльбомы
Re: visitors to 4images pick template.
« Reply #16 on: March 30, 2009, 12:02:21 PM »
Replace

Code: [Select]
$t = (isset($HTTP_GET_VARS['t'])) ? intval(trim($HTTP_GET_VARS['t'])) : 0;
so

Code: [Select]
if (isset($HTTP_GET_VARS['t']) || isset($HTTP_POST_VARS['t'])) {
  $t = (isset($HTTP_GET_VARS['t'])) ? stripslashes(trim($HTTP_GET_VARS['t'])) : stripslashes(trim($HTTP_POST_VARS['t']));
} else $t = "";
Sergey