Frage zu Konstante und Variable
lima-city → Forum → Programmiersprachen → PHP, MySQL & .htaccess
administrator
array
code
date
element
email
filter
frontpage
hit
index
installation
limit
modul
null
option
ordern
pop
tab
type
url
-
Hallo lima-city Community,
Ich bin gerade am durcharbeiten eines CMS (mambo) und bin dabei auf ein sehr merkwürdigen Code gestossen, der wie folgt aussieht:
define("_MOS_NOTRIM", 0x0001); $mask = 0; [...] if (!($mask&_MOS_NOTRIM)) { $arr[$name] = trim( $arr[$name] ); }
Wenn die Variable mask 0 ist (siehe Beispiel) dann ist der Ausdruck $mask&_MOS_NOTRIM ebenfalls 0.
Ist mask allerdings 1 dann ist der Ausdruck ebenfalls 1.
Welchen Sinn hat das Ganze? Kann mir da jemand helfen oder kennt jemand ein Tutorial das ich mir zum Verständniss mal anschauen sollte?
Gruß S.Brosch
Beitrag zuletzt geändert: 20.8.2011 21:50:22 von software-brosch -
Diskutiere mit und stelle Fragen: Jetzt kostenlos anmelden!
lima-city: Gratis werbefreier Webspace für deine eigene Homepage
-
Hallo software-brosch,
den genauen Sinn kann ich nicht erschließen, da der Aussschnit zu kurz ist und ich nicht sehe, ob $mask sich ändern kann.
Aber es ist wohl das selbe wie Bit-Masken in anderen Programmiersprachen.
Normalerweise definiert man sich mehrere Werte die eine bestimmte Bedeutung haben.
Wenn man in C z.B. ein C# ähnliches Layout-Konzept bauen würde, dann könnte es z.B. folgendes geben:
Um einem Widget zu sagen an welchen Seiten es sich anheften soll kann das dann folgendermaßen aussehen:typedef enum { WDGT_ANC_NONE = 0, WDGT_ANC_TOP = 1, WDGT_ANC_LEFT = 2, WDGT_ANC_RIGHT = 4, WDGT_ANC_BOTTOM = 8 } WIDGET_ANCHOR;
D.h. das zweite Argument ist eine Maske (Typ: int oder long) in der das erste und zweite Bit auf 1 gesetzt ist.Widget_SetAnchor(wdgt, WDGT_ANC_TOP|WDGT_ANC_LEFT);
Die Funktion selber kann dann mit
herausfinden was los ist.if(mask & WDGT_ANC_TOP) { ... } if(mask & WDGT_ANC_LEFT) { ... } ... usw.
Wichtig ist, dass die Werte der Konstante Zweierpotenzen sind, damit man damit einzelne Bits an- und abschalten kann.
Um ein Bit zu löschen verwendet man dann z.B.:
mask &= ~WDGT_ANC_BOTTOM;
Edit:
Noch ein Hinweis: Die Zahl '0' entspricht 'false' und alle anderen entsprechen 'true' in logischen Abfragen wie if oder while.
Beitrag zuletzt geändert: 20.8.2011 22:42:02 von darkpandemic -
software-brosch schrieb:
Welchen Sinn hat das Ganze?
sehr einfach: wenn $mask '0' oder eine GERADE zahl ist, dann werden führende wie angehängte spaces von $arr[$name] abgeschnitten. warum aber das so sein muss, sieht man aus 6 zeilen code nicht ;o)
du kannst im ganzenn quelltext nach unterschiedlichen wertezuweisungen zu $mask suchen und versuchen das ganze szenario zu deuten. kannst aber auch gleich nach konstanten suchen nach dem muster: '*[NO]TRIM*' ... kann auch interessant sein.
Beitrag zuletzt geändert: 20.8.2011 23:52:15 von hemiolos -
OK, das sind schonmal recht hifreiche Hinweise. Hier nochmal der ganze Quelltext:
/** * Utility function to return a value from a named array or a specified default */ define( "_MOS_NOTRIM", 0x0001 ); define( "_MOS_ALLOWHTML", 0x0002 ); function mosGetParam( &$arr, $name, $def=null, $mask=1 ) { $return = null; if (isset( $arr[$name] )) { if (is_string( $arr[$name] )) { echo $mask&_MOS_NOTRIM; if (!($mask&_MOS_NOTRIM)) { $arr[$name] = trim( $arr[$name] ); } if (!($mask&_MOS_ALLOWHTML)) { $arr[$name] = strip_tags( $arr[$name] ); } if (!get_magic_quotes_gpc()) { $arr[$name] = addslashes( $arr[$name] ); } } return $arr[$name]; } else { return $def; } }
Um was es mir außerdem noch geht ist der folgende Ausdruck:
$mask&_MOS_NOTRIM
Was passiert bei diesem Ausdruck mit dem & (Adressoperator)?
Was macht die Funktion an sich?
Danke an die Vorposter aber ich bräuchte noch detailliertere Informationen!
Gruß S.Brosch -
Das & ist hier kein Adressoperator, sondern ein binärer Operator. Er vergleicht zwei Zahlen binär Stelle für Stelle und setzt dann bei den Stellen, wo beide Zahlen 1 haben eine 1. Untereinander stehen in der Rechnung immer 3x, 1x oder 0x Einsen.
Beispiel:
_ 10011001 & 10001101 = 10001001
Deshalb beziehen sich diese Masken auf gerade und ungerade Zahlen. Ungerade haben am Ende eine 1 und gerade eine 0.
Anscheinend geht es aber hier auch um Strings. Diese werden per ASCII verglichen.
http://www.php.net/manual/de/language.operators.bitwise.php
Beitrag zuletzt geändert: 21.8.2011 14:10:09 von reimann -
Hallo software-brosch,
wie reimann bereits erwähnt hat ist das '&' kein Adressoperator sondern ein bitweises Und.
Eine relativ ausführliche Beschreibung der Bit-Operatoren mit vielen Beispielen findest Du direkt in der PHP Dokumentation:
http://php.net/manual/en/language.operators.bitwise.php
Ein kleines Tutorial zum Thema kannst Du auf folgender Seite finden:
http://sol.gfxile.net/boolean.html
Und Wikipedia hat auch einiges dazu:
http://de.wikipedia.org/wiki/Bitweiser_Operator
http://de.wikipedia.org/wiki/Bitmaske
Beitrag zuletzt geändert: 21.8.2011 19:18:45 von darkpandemic -
software-brosch schrieb:
*schmunzel*, *schmunzel*
... Hier nochmal der ganze Quelltext:
.../** * Utility function to return a value from a named array or a specified default */ define( "_MOS_NOTRIM", 0x0001 ); define( "_MOS_ALLOWHTML", 0x0002 ); function mosGetParam( &$arr, $name, $def=null, $mask=1 ) { $return = null; if (isset( $arr[$name] )) { if (is_string( $arr[$name] )) { echo $mask&_MOS_NOTRIM; if (!($mask&_MOS_NOTRIM)) { $arr[$name] = trim( $arr[$name] ); } if (!($mask&_MOS_ALLOWHTML)) { $arr[$name] = strip_tags( $arr[$name] ); } if (!get_magic_quotes_gpc()) { $arr[$name] = addslashes( $arr[$name] ); } } return $arr[$name]; } else { return $def; } }
(für den mittleren bereich gilt das was hier schon mehrfach gesagt wurde.)
zusätzliche bemerkungen zum rest:
1. $def = null ** wird am ende UNVERARBEITET zurückgegeben (wenn 'NOT isset($arr[$name])'!!)
2. $return = null; ** wird überhaupt nicht verwendet!!
anhand dessen würde ich sofort im GANZEN QUELLTEXT nachsehen, wo/wie wird genua diese funktion aufgerufen (besonderer augenmerk = parameter!!)
3. im mittleren bereich wird ausschließlich '$arr[$name]' bearbeitet (wenn 'isset($arr[$name])'!!).
ich darf mal vermuten, 'echo $mask&_MOS_NOTRIM;' als einzige 'ausgabe' stammt von dir selbst.
also ich denke - zumindest ein teil des kodes - ist ein hoax ;o) die 3 aufgaben mit den IFs, kan man auch einfacher hinkriegen.
es wäre interessant zu erfahren, von wo mit welchen parametern die funktion überhaut aufgerufen wird (eventuell mache ich es selbst, weil ich meine verdachtsmomente nicht unterdrücken kann ;o).
-
OK, vielen Dank euch allen ihr habt mir sehr weitergeholfen. Habe mir mal die Seiten angeschaut, vor allem die über die Bitmasken bei Wikipedia und habe das Prinzip soweit verstanden.
Der erste Übergabeparameter ist aber schon ein Adressoperator oder etwa nicht?
hemiolos schrieb:
also ich denke - zumindest ein teil des kodes - ist ein hoax ;o) die 3 aufgaben mit den IFs, kan man auch einfacher hinkriegen.
Das ist mein Ziel. Ich möchte das ganze CMS einmal durcharbeiten und dabei kräftig optimieren. Zurzeit sitze ich am Installer. Der war überhaupt nicht mehr kompatibel mit den heutigen Datenbanksystemen. Er läuft nun aber wieder. Aber ich glaube der Backend-Bereich ist voll mit inkompatiblen PHP-Funktionen, da fängt die Arbeit dann richtig an.
Auch die Variabel $return ist überflüssig, habe ich aber der vollständigkeitshalber mit reingebracht. Die Ausgabe des Wertes war natürlich von mir um zu schauen wie sich das alles ändert, um vielleicht selber dahinter zu steigen.
Nachtrag:
Search "mosGetParam" (507 hits in 116 files)
C:\xampp\htdocs\mambo\administrator\components\com_admin\admin.admin.html.php (5 hits)
Line 147: //$tab = mosGetParam( $_REQUEST, 'tab', 'tab1' );
Line 475: $helpurl = mosGetParam( $GLOBALS, 'mosConfig_helpurl', '' );
Line 480: $helpsearch = mosGetParam( $_REQUEST, 'helpsearch', '' );
Line 481: $page = mosGetParam( $_REQUEST, 'page', 'mambo.whatsnew.html' );
Line 635: $helpurl = mosGetParam( $GLOBALS, 'mosConfig_helpurl', '' );
C:\xampp\htdocs\mambo\administrator\components\com_admin\admin.admin.php (1 hits)
Line 17: $goto = trim( strtolower( mosGetParam( $_REQUEST, 'link' ) ) );
C:\xampp\htdocs\mambo\administrator\components\com_banners\admin.banners.php (1 hits)
Line 27: $cid = mosGetParam( $_REQUEST, 'cid', array(0) );
C:\xampp\htdocs\mambo\administrator\components\com_categories\admin.categories.php (21 hits)
Line 17: $section = mosGetParam( $_REQUEST, 'section', 'content' );
Line 18: $cid = mosGetParam( $_REQUEST, 'cid', array(0) );
Line 19: if (!$cid) $id = mosGetParam( $_REQUEST, ‘id’, 0 );
Line 239: $type = mosGetParam( $_REQUEST, 'type', '' );
Line 240: $redirect = mosGetParam( $_REQUEST, 'section', 'content' );
Line 365: $menu = mosGetParam( $_POST, 'menu', 'mainmenu' );
Line 366: $menuid = mosGetParam( $_POST, 'menuid', 0 );
Line 367: $redirect = mosGetParam( $_POST, 'redirect', '' );
Line 368: $oldtitle = mosGetParam( $_POST, 'oldtitle', null );
Line 552: $redirect = mosGetParam( $_POST, 'redirect', '' );
Line 581: $redirect = mosGetParam( $_POST, 'section', 'content' );;
Line 617: $sectionMove = mosGetParam( $_REQUEST, 'sectionmove', '' );
Line 651: $redirect = mosGetParam( $_POST, 'section', 'content' );;
Line 687: $sectionMove = mosGetParam( $_REQUEST, 'sectionmove', '' );
Line 688: $contentid = mosGetParam( $_REQUEST, 'item', '' );
Line 772: $redirect = mosGetParam( $_POST, 'redirect', '' );
Line 773: $menu = mosGetParam( $_POST, 'menuselect', '' );
Line 774: $name = mosGetParam( $_POST, 'link_name', '' );
Line 775: $sectionid = mosGetParam( $_POST, 'sectionid', '' );
Line 776: $type = mosGetParam( $_POST, 'link_type', '' );
Line 838: $order = mosGetParam( $_POST, 'order', array(0) );
C:\xampp\htdocs\mambo\administrator\components\com_categories\toolbar.categories.html.php (1 hits)
Line 80: $section = mosGetParam( $_REQUEST, 'section', '' );
C:\xampp\htdocs\mambo\administrator\components\com_config\admin.config.php (5 hits)
Line 463: $editor = intval( mosGetParam( $_POST, 'editor', 0 ) );
Line 489: $enable_write = mosGetParam($_POST,'enable_write',0);
Line 498: if (mosGetParam($_POST,'disable_write',0))
Line 505: $applyFilePerms = mosGetParam($_POST,'applyFilePerms',0) && $row->config_fileperms!='';
Line 506: $applyDirPerms = mosGetParam($_POST,'applyDirPerms',0) && $row->config_dirperms!='';
C:\xampp\htdocs\mambo\administrator\components\com_contact\admin.contact.php (3 hits)
Line 22: $id = mosGetParam($_GET, 'id', 0);
Line 23: $cid = mosGetParam($_POST, 'cid', array(0));
Line 192: $params = mosGetParam( $_POST, 'params', '' );
C:\xampp\htdocs\mambo\administrator\components\com_containers\admin.containers.php (3 hits)
Line 27: $this->parentid = mosGetParam($_REQUEST, 'parentid', 0);
Line 32: $search = trim( strtolower( mosGetParam( $_POST, 'search', '' ) ) );
Line 34: $descendants = intval(mosGetParam($_POST, 'descendants', 0));
C:\xampp\htdocs\mambo\administrator\components\com_containers\toolbar.containers.php (2 hits)
Line 11: if ($this->act = mosGetParam ($_REQUEST, 'act', 'containers'));
Line 13: if ($this->task = mosGetParam($_REQUEST, 'task', 'list'));
C:\xampp\htdocs\mambo\administrator\components\com_content\admin.content.php (26 hits)
Line 16: $sectionid = mosGetParam( $_REQUEST, 'sectionid', 0 );
Line 17: $id = mosGetParam( $_REQUEST, 'id', '' );
Line 18: $cid = mosGetParam( $_POST, 'cid', array(0) );
Line 371: $redirect = mosGetParam( $_POST, 'redirect', '' );
Line 569: $menu = mosGetParam( $_POST, 'menu', 'mainmenu' );
Line 570: $menuid = mosGetParam( $_POST, 'menuid', 0 );
Line 600: $row->state = mosGetParam( $_REQUEST, 'published', 0 );
Line 602: $params = mosGetParam( $_POST, 'params', '' );
Line 636: if (mosGetParam( $_REQUEST, 'frontpage', 0 )) {
Line 660: $redirect = mosGetParam( $_POST, 'redirect', $sectionid );
Line 732: $redirect = mosGetParam( $_POST, 'redirect', $row->sectionid );
Line 733: $task = mosGetParam( $_POST, 'returntask', '' );
Line 808: $return = mosGetParam( $_POST, 'returntask', '' );
Line 824: $redirect = mosGetParam( $_POST, 'redirect', 0 );
Line 839: $redirect = mosGetParam( $_POST, 'redirect', $row->sectionid );
Line 886: $sectcat = mosGetParam( $_POST, 'sectcat', '' );
Line 988: $sectcat = mosGetParam( $_POST, 'sectcat', '' );
Line 1106: $redirect = mosGetParam( $_POST, 'redirect', $row->sectionid );
Line 1127: $menu = mosGetParam( $_POST, 'menuselect', '' );
Line 1128: $link = mosGetParam( $_POST, 'link_name', '' );
Line 1155: $menu = mosGetParam( $_POST, 'menu', 'mainmenu' );
Line 1161: $menu = mosGetParam( $_POST, 'menu', 'mainmenu' );
Line 1162: $id = mosGetParam( $_POST, 'menuid', 0 );
Line 1169: $order = mosGetParam( $_POST, 'order', array(0) );
Line 1170: $redirect = mosGetParam( $_POST, 'redirect', 0 );
Line 1171: $rettask = mosGetParam( $_POST, 'returntask', '' );
C:\xampp\htdocs\mambo\administrator\components\com_frontpage\admin.frontpage.php (3 hits)
Line 24: $task = mosGetParam( $_REQUEST, 'task', array(0) );
Line 25: $cid = mosGetParam( $_POST, 'cid', array(0) );
Line 277: $order = mosGetParam( $_POST, 'order', array(0) );
C:\xampp\htdocs\mambo\administrator\components\com_frontpage\toolbar.frontpage.php (1 hits)
Line 16: $act = mosGetParam( $_REQUEST, 'act', '' );
C:\xampp\htdocs\mambo\administrator\components\com_installer\admin.installer.php (6 hits)
Line 16: $element = mosGetParam( $_REQUEST, 'element', '' );
Line 17: $client = mosGetParam( $_REQUEST, 'client', '' );
Line 63: $cid = mosGetParam($_REQUEST, 'cid', array(0));
Line 147: $userfile = mosGetParam( $_FILES, 'userfile', null );
Line 181: $userfile = mosGetParam( $_REQUEST, 'userfile', '' );
Line 206: $userurl = mosGetParam( $_REQUEST, 'userurl', '' );
C:\xampp\htdocs\mambo\administrator\components\com_installer\module\module.php (1 hits)
Line 28: $filter = mosGetParam( $_POST, 'filter', '' );
C:\xampp\htdocs\mambo\administrator\components\com_installer\template\template.php (2 hits)
Line 18: $client = mosGetParam( $_REQUEST, 'client', '' );
Line 20: $userfile = mosGetParam( $_REQUEST, 'userfile', dirname( __FILE__ ) );
C:\xampp\htdocs\mambo\administrator\components\com_installer\toolbar.installer.php (1 hits)
Line 21: $element = mosGetParam( $_REQUEST, 'element', '' );
C:\xampp\htdocs\mambo\administrator\components\com_languages\actions\cancel.action.php (1 hits)
Line 17: $controller->redirect('index', mosGetParam($_REQUEST, 'act', $act));
C:\xampp\htdocs\mambo\administrator\components\com_languages\actions\default.action.php (1 hits)
Line 14: $lang = mosGetParam( $_REQUEST, 'lang' );
C:\xampp\htdocs\mambo\administrator\components\com_languages\actions\export.action.php (1 hits)
Line 19: $lang = mosGetParam($_POST, 'lang', '');
C:\xampp\htdocs\mambo\administrator\components\com_languages\actions\index.action.php (1 hits)
Line 14: $controller->view(mosGetParam($_REQUEST, 'act', 'language'));
C:\xampp\htdocs\mambo\administrator\components\com_languages\actions\publish.action.php (1 hits)
Line 14: $lang = mosGetParam( $_REQUEST, 'lang', array(0) );
C:\xampp\htdocs\mambo\administrator\components\com_languages\actions\remove.action.php (1 hits)
Line 21: $controller->redirect('index', mosGetParam($_REQUEST, 'act', 'language'));
C:\xampp\htdocs\mambo\administrator\components\com_languages\actions\save.action.php (3 hits)
Line 14: $iso639 = strtolower(mosGetParam($_POST, 'iso639'));
Line 15: $iso3166 = mosGetParam($_POST, 'iso3166_2');
Line 16: $iso3166_3 = mosGetParam($_POST, 'iso3166_3');
C:\xampp\htdocs\mambo\administrator\components\com_languages\admin.languages.class.php (4 hits)
Line 32: $this->vars[$var] = mosGetParam($_GET, $var);
Line 35: $this->vars[$var] = mosGetParam($_POST, $var);
Line 38: $this->vars[$var] = mosGetParam($_COOKIE, $var);
Line 41: $this->vars[$var] = mosGetParam($_REQUEST, $var);
C:\xampp\htdocs\mambo\administrator\components\com_languages\admin.languages.php (3 hits)
Line 31: $lang = $session['lang'] = mosGetParam($_POST, 'lang', isset($session['lang']) ? $session['lang'] : mamboCore::get('mosConfig_locale'));
Line 34: $task = mosGetParam($_REQUEST, 'task', 'index');
Line 35: $act = mosGetParam($_REQUEST, 'act' , 'language');
C:\xampp\htdocs\mambo\administrator\components\com_mambots\admin.mambots.php (4 hits)
Line 21: $client = mosGetParam( $_REQUEST, 'client', '' );
Line 22: $cid = mosGetParam( $_POST, 'cid', array(0) );
Line 150: $params = mosGetParam( $_POST, 'params', '' );
Line 403: $order = mosGetParam( $_POST, 'order', array(0) );
C:\xampp\htdocs\mambo\administrator\components\com_massmail\admin.massmail.php (5 hits)
Line 54: $mode = mosGetParam( $_POST, 'mm_mode', 0 );
Line 55: $subject = mosGetParam( $_POST, 'mm_subject', '' );
Line 56: $gou = mosGetParam( $_POST, 'mm_group', NULL );
Line 57: $recurse = mosGetParam( $_POST, 'mm_recurse', 'NO_RECURSE' );
Line 63: $message_body = mosGetParam( $_POST, 'mm_message', '' );
C:\xampp\htdocs\mambo\administrator\components\com_media\admin.media.php (5 hits)
Line 22: $cid = mosGetParam( $_POST, 'cid', array(0) );
Line 23: $foldername = mosGetParam($_POST, 'foldername', '');
Line 24: $listdir = mosGetParam($_REQUEST, 'listdir', '');
Line 25: $dirPath = mosGetParam($_POST, 'dirPath', '');
Line 26: $task = mosGetParam($_REQUEST, 'task', '');
C:\xampp\htdocs\mambo\administrator\components\com_menumanager\admin.menumanager.php (11 hits)
Line 20: $menu = mosGetParam( $_GET, 'menu', '' );
Line 21: $task = mosGetParam( $_REQUEST, 'task', array(0) );
Line 22: $type = mosGetParam( $_POST, 'type', '' );
Line 23: $cid = mosGetParam( $_POST, 'cid', '' );
Line 199: $menutype = mosGetParam( $_POST, 'menutype', '' );
Line 200: $old_menutype = mosGetParam( $_POST, 'old_menutype', '' );
Line 201: $new = mosGetParam( $_POST, 'new', 1 );
Line 382: $mids = mosGetParam( $_POST, 'mids', 0 );
Line 454: $menu_name = mosGetParam( $_POST, 'menu_name', 'New Menu' );
Line 455: $module_name = mosGetParam( $_POST, 'module_name', 'New Module' );
Line 474: $mids = mosGetParam( $_POST, 'mids', '' );
C:\xampp\htdocs\mambo\administrator\components\com_menumanager\toolbar.menumanager.php (1 hits)
Line 16: $act = mosGetParam( $_REQUEST, 'act', '' );
C:\xampp\htdocs\mambo\administrator\components\com_menus\admin.menus.php (14 hits)
Line 15: $id = intval( mosGetParam( $_GET, 'id', 0 ) );
Line 16: $type = mosGetParam( $_REQUEST, 'type', false );
Line 17: $menutype = mosGetParam( $_REQUEST, 'menutype', 'mainmenu' );
Line 18: $task = mosGetParam( $_REQUEST, 'task', '' );
Line 19: $access = mosGetParam( $_POST, 'access', '' );
Line 20: $utaccess = mosGetParam( $_POST, 'utaccess', '' );
Line 21: $ItemName = mosGetParam( $_POST, 'ItemName', '' );
Line 22: $menu = mosGetParam( $_POST, 'menu', '' );
Line 23: $cid = mosGetParam( $_POST, 'cid', array(0) );
Line 125: $type = trim( mosGetParam( $_REQUEST, 'type', null ) );
Line 353: $params = mosGetParam( $_POST, 'params', '' );
Line 460: $menuid = mosGetParam( $_POST, 'menuid', 0 );
Line 469: $contentid = mosGetParam( $_POST, 'id', 0 );
Line 712: $order = mosGetParam( $_POST, 'order', array(0) );
C:\xampp\htdocs\mambo\administrator\components\com_menus\components\components.class.php (1 hits)
Line 43: $menu->parent = intval( mosGetParam( $_POST, 'parent', 0 ) );
C:\xampp\htdocs\mambo\administrator\components\com_menus\component_item_link\component_item_link.class.php (1 hits)
Line 37: $menu->parent = intval( mosGetParam( $_POST, 'parent', 0 ) );
C:\xampp\htdocs\mambo\administrator\components\com_menus\contact_category_table\contact_category_table.class.php (1 hits)
Line 38: $menu->parent = intval( mosGetParam( $_POST, 'parent', 0 ) );
C:\xampp\htdocs\mambo\administrator\components\com_menus\contact_item_link\contact_item_link.class.php (1 hits)
Line 39: $menu->parent = intval( mosGetParam( $_POST, 'parent', 0 ) );
C:\xampp\htdocs\mambo\administrator\components\com_menus\content_archive_category\content_archive_category.class.php (1 hits)
Line 37: $menu->parent = intval( mosGetParam( $_POST, 'parent', 0 ) );
C:\xampp\htdocs\mambo\administrator\components\com_menus\content_archive_section\content_archive_section.class.php (1 hits)
Line 36: $menu->parent = intval( mosGetParam( $_POST, 'parent', 0 ) );
C:\xampp\htdocs\mambo\administrator\components\com_menus\content_blog_category\content_blog_category.class.php (3 hits)
Line 54: $menu->parent = intval( mosGetParam( $_POST, 'parent', 0 ) );
Line 93: $params = mosGetParam( $_POST, 'params', '' );
Line 94: $catids = mosGetParam( $_POST, 'catid', array() );
C:\xampp\htdocs\mambo\administrator\components\com_menus\content_blog_section\content_blog_section.class.php (3 hits)
Line 53: $menu->parent = intval( mosGetParam( $_POST, 'parent', 0 ) );
Line 90: $params = mosGetParam( $_POST, 'params', '' );
Line 91: $secids = mosGetParam( $_POST, 'secid', array() );
C:\xampp\htdocs\mambo\administrator\components\com_menus\content_category\content_category.class.php (1 hits)
Line 38: $menu->parent = intval( mosGetParam( $_POST, 'parent', 0 ) );
C:\xampp\htdocs\mambo\administrator\components\com_menus\content_item_link\content_item_link.class.php (2 hits)
Line 39: $menu->parent = intval( mosGetParam( $_POST, 'parent', 0 ) );
Line 148: $menuid = mosGetParam( $_POST, 'menuid', 0 );
C:\xampp\htdocs\mambo\administrator\components\com_menus\content_section\content_section.class.php (1 hits)
Line 37: $menu->parent = intval( mosGetParam( $_POST, 'parent', 0 ) );
C:\xampp\htdocs\mambo\administrator\components\com_menus\content_typed\content_typed.class.php (2 hits)
Line 36: $menu->parent = intval( mosGetParam( $_POST, 'parent', 0 ) );
Line 98: $menuid = mosGetParam( $_POST, 'menuid', 0 );
C:\xampp\htdocs\mambo\administrator\components\com_menus\content_typed\content_typed.menu.php (1 hits)
Line 15: $scid = mosGetParam( $_POST, 'scid', '' );
C:\xampp\htdocs\mambo\administrator\components\com_menus\newsfeed_category_table\newsfeed_category_table.class.php (1 hits)
Line 38: $menu->parent = intval( mosGetParam( $_POST, 'parent', 0 ) );
C:\xampp\htdocs\mambo\administrator\components\com_menus\newsfeed_link\newsfeed_link.class.php (1 hits)
Line 39: $menu->parent = intval( mosGetParam( $_POST, 'parent', 0 ) );
C:\xampp\htdocs\mambo\administrator\components\com_menus\separator\separator.class.php (1 hits)
Line 41: $menu->parent = intval( mosGetParam( $_POST, 'parent', 0 ) );
C:\xampp\htdocs\mambo\administrator\components\com_menus\toolbar.menus.html.php (2 hits)
Line 61: $cid = mosGetParam( $_POST, 'cid', array(0) );
Line 64: $menutype = mosGetParam( $_REQUEST, 'menutype', 'mainmenu' );
C:\xampp\htdocs\mambo\administrator\components\com_menus\toolbar.menus.php (3 hits)
Line 30: $cid = mosGetParam( $_POST, 'cid', array(0) );
Line 52: $type = mosGetParam( $_REQUEST, 'type', null );
Line 68: $type = trim( mosGetParam( $_REQUEST, 'type', null ) );
C:\xampp\htdocs\mambo\administrator\components\com_menus\url\url.class.php (1 hits)
Line 39: $menu->parent = intval( mosGetParam( $_POST, 'parent', 0 ) );
C:\xampp\htdocs\mambo\administrator\components\com_menus\weblink_category_table\weblink_category_table.class.php (1 hits)
Line 38: $menu->parent = intval( mosGetParam( $_POST, 'parent', 0 ) );
C:\xampp\htdocs\mambo\administrator\components\com_menus\wrapper\wrapper.class.php (3 hits)
Line 37: $menu->parent = intval( mosGetParam( $_POST, 'parent', 0 ) );
Line 66: $params = mosGetParam( $_POST, 'params', '' );
Line 67: $params[url] = mosGetParam( $_POST, 'url', '' );
C:\xampp\htdocs\mambo\administrator\components\com_messages\admin.messages.php (7 hits)
Line 16: $task = trim( mosGetParam( $_REQUEST, 'task', null ) );
Line 17: $cid = mosGetParam( $_REQUEST, 'cid', array( 0 ) );
Line 34: mosGetParam( $_REQUEST, 'userid', 0 ),
Line 35: mosGetParam( $_REQUEST, 'subject', '' )
Line 80: $vars = mosGetParam( $_POST, 'vars', array() );
Line 234: $limit = intval( mosGetParam( $_REQUEST, 'limit', 10 ) );
Line 235: $limitstart = intval( mosGetParam( $_REQUEST, 'limitstart', 0 ) );
C:\xampp\htdocs\mambo\administrator\components\com_modules\admin.modules.php (7 hits)
Line 20: $client = mosGetParam( $_REQUEST, 'client', '' );
Line 21: $cid = mosGetParam( $_POST, 'cid', array(0) );
Line 22: $moduleid = mosGetParam( $_REQUEST, 'moduleid', null );
Line 220: $params = mosGetParam( $_POST, 'params', '' , _MOS_ALLOWHTML);
Line 257: $menus = mosGetParam( $_POST, 'selections', array() );
Line 540: $client = mosGetParam( $_POST, 'client', '' );
Line 597: $order = mosGetParam( $_POST, 'order', array(0) );
C:\xampp\htdocs\mambo\administrator\components\com_modules\toolbar.modules.php (2 hits)
Line 18: $cid = mosGetParam( $_POST, 'cid', 0 );
Line 20: $mid = mosGetParam( $_POST, 'id', 0 );;
C:\xampp\htdocs\mambo\administrator\components\com_mostlydbadmin\admin.mostlydbadmin.php (9 hits)
Line 26: $task = mosGetParam( $_REQUEST, "task", "" );
Line 27: $file = mosGetParam( $_POST, "file", null );
Line 28: $upfile = mosGetParam($_FILES,"upfile",null);
Line 29: $tables = mosGetParam( $_POST, "tables", null );
Line 30: $OutType = mosGetParam( $_POST, "OutType", null );
Line 31: $OutDest = mosGetParam( $_POST, "OutDest", null );
Line 32: $toBackUp = mosGetParam( $_POST, "toBackUp", null );
Line 616: $sql = trim( mosGetParam( $_POST, 'sql', '' ) );
Line 617: $batch = intval( mosGetParam( $_POST, 'batch', 0 ) );
C:\xampp\htdocs\mambo\administrator\components\com_newsfeeds\admin.newsfeeds.php (7 hits)
Line 22: $task = mosGetParam( $_REQUEST, 'task', array(0) );
Line 23: $cid = mosGetParam( $_POST, 'cid', array(0) );
Line 24: $id = mosGetParam( $_GET, 'id', 0 );
Line 129: $catid = intval( mosGetParam( $_REQUEST, 'catid', 0 ) );
Line 277: $limit = mosGetParam( $_REQUEST, 'limit', 0 );
Line 278: $limitstart = mosGetParam( $_REQUEST, 'limitstart', 0 );
Line 279: $catid = intval( mosGetParam( $_REQUEST, 'catid', 0 ) );
C:\xampp\htdocs\mambo\administrator\components\com_poll\admin.poll.php (4 hits)
Line 22: $cid = mosGetParam( $_REQUEST, 'cid', array(0) );
Line 159: $options = mosGetParam( $_POST, 'polloption', array() );
Line 177: $selections = mosGetParam( $_POST, 'selections', array() );
Line 211: $catid = mosGetParam( $_POST, 'catid', array(0) );
C:\xampp\htdocs\mambo\administrator\components\com_poll\toolbar.poll.php (2 hits)
Line 21: $cid = mosGetParam( $_REQUEST, 'cid', array(0) );
Line 35: $id = mosGetParam( $_REQUEST, 'id', 0 );
C:\xampp\htdocs\mambo\administrator\components\com_sections\admin.sections.php (13 hits)
Line 17: $scope = mosGetParam( $_REQUEST, 'scope', '' );
Line 18: $cid = mosGetParam( $_REQUEST, 'cid', array(0) );
Line 19: $section = mosGetParam( $_REQUEST, 'scope', '' );
Line 264: $menu = mosGetParam( $_POST, 'menu', 'mainmenu' );
Line 265: $menuid = mosGetParam( $_POST, 'menuid', 0 );
Line 266: $oldtitle = mosGetParam( $_POST, 'oldtitle', null );
Line 500: $title = mosGetParam( $_REQUEST, 'title', '' );
Line 501: $contentid = mosGetParam( $_REQUEST, 'content', '' );
Line 502: $categoryid = mosGetParam( $_REQUEST, 'category', '' );
Line 618: $menu = mosGetParam( $_POST, 'menuselect', '' );
Line 619: $name = mosGetParam( $_POST, 'link_name', '' );
Line 620: $type = mosGetParam( $_POST, 'link_type', '' );
Line 665: $order = mosGetParam( $_POST, 'order', array(0) );
C:\xampp\htdocs\mambo\administrator\components\com_statistics\admin.statistics.html.php (1 hits)
Line 17: $tab = mosGetParam( $_REQUEST, 'tab', 'tab1' );
C:\xampp\htdocs\mambo\administrator\components\com_statistics\admin.statistics.php (3 hits)
Line 32: $field = strtolower( mosGetParam( $_REQUEST, 'field', '' ) );
Line 38: $order = strtolower( mosGetParam( $_REQUEST, 'order', 'asc' ) );
Line 49: $tab = mosGetParam( $_REQUEST, 'tab', 'tab1' );
C:\xampp\htdocs\mambo\administrator\components\com_syndicate\admin.syndicate.php (2 hits)
Line 67: $params = mosGetParam( $_POST, 'params', '' );
Line 76: $id = mosGetParam( $_POST, 'id', '17' );
C:\xampp\htdocs\mambo\administrator\components\com_templates\admin.templates.php (16 hits)
Line 21: $task = trim( strtolower( mosGetParam( $_REQUEST, "task", "" ) ) );
Line 22: $cid = mosGetParam( $_REQUEST, "cid", array(0) );
Line 23: $client = mosGetParam( $_REQUEST, 'client', '' );
Line 263: $template = mosGetParam( $_POST, 'template', '' );
Line 264: $filecontent = mosGetParam( $_POST, 'filecontent', '', _MOS_ALLOWHTML );
Line 279: $enable_write = mosGetParam($_POST,'enable_write',0);
Line 294: if (mosGetParam($_POST,'disable_write',0))
Line 327: $template = trim( mosGetParam( $_POST, 'template', '' ) );
Line 328: $filecontent = mosGetParam( $_POST, 'filecontent', '', _MOS_ALLOWHTML );
Line 344: $enable_write = mosGetParam($_POST,'enable_write',0);
Line 359: if (mosGetParam($_POST,'disable_write',0))
Line 390: $menus = mosGetParam( $_POST, 'selections', array() );
Line 391: $template = mosGetParam( $_POST, 'template', '' );
Line 429: $positions = mosGetParam( $_POST, 'position', array() );
Line 430: $descriptions = mosGetParam( $_POST, 'description', array() );
Line 438: $description = mosGetParam( $descriptions, $id, '' );
C:\xampp\htdocs\mambo\administrator\components\com_templates\toolbar.templates.php (1 hits)
Line 15: $client = mosGetParam( $_REQUEST, 'client', '' );
C:\xampp\htdocs\mambo\administrator\components\com_trash\admin.trash.php (5 hits)
Line 22: $task = mosGetParam( $_REQUEST, 'task', array(0) );
Line 23: $cid = mosGetParam( $_POST, 'cid', array(0) );
Line 24: $mid = mosGetParam( $_POST, 'mid', array(0) );
Line 161: $type = mosGetParam( $_POST, 'type', array(0) );
Line 229: $type = mosGetParam( $_POST, 'type', array(0) );
C:\xampp\htdocs\mambo\administrator\components\com_trash\toolbar.trash.php (1 hits)
Line 16: $act = mosGetParam( $_REQUEST, 'act', '' );
C:\xampp\htdocs\mambo\administrator\components\com_typedcontent\admin.typedcontent.php (13 hits)
Line 16: $id = mosGetParam( $_REQUEST, 'id', '' );
Line 17: $cid = mosGetParam( $_POST, 'cid', array(0) );
Line 304: $menu = mosGetParam( $_POST, 'menu', 'mainmenu' );
Line 305: $menuid = mosGetParam( $_POST, 'menuid', 0 );
Line 325: $params = mosGetParam( $_POST, 'params', '' );
Line 337: $row->state = mosGetParam( $_REQUEST, 'published', 0 );
Line 352: if (mosGetParam( $_REQUEST, 'frontpage', 0 )) {
Line 532: $menu = mosGetParam( $_POST, 'menuselect', '' );
Line 533: $link = mosGetParam( $_POST, 'link_name', '' );
Line 567: $menu = mosGetParam( $_POST, 'menu', 'mainmenu' );
Line 580: $menu = mosGetParam( $_POST, 'menu', 'mainmenu' );
Line 581: $id = mosGetParam( $_POST, 'menuid', 0 );
Line 588: $order = mosGetParam( $_POST, 'order', array(0) );
C:\xampp\htdocs\mambo\administrator\components\com_users\admin.users.php (3 hits)
Line 19: $task = trim( mosGetParam( $_REQUEST, 'task', null ) );
Line 20: $cid = mosGetParam( $_REQUEST, 'cid', array( 0 ) );
Line 68: $contact_id = mosGetParam( $_POST, 'contact_id', '' );
C:\xampp\htdocs\mambo\administrator\components\com_weblinks\admin.weblinks.php (4 hits)
Line 22: $cid = mosGetParam( $_POST, 'cid', array(0) );
Line 152: $row->catid = mosGetParam( $_POST, 'catid', 0 );
Line 189: $params = mosGetParam( $_POST, 'params', '' );
Line 245: $catid = mosGetParam( $_POST, 'catid', array(0) );
C:\xampp\htdocs\mambo\administrator\includes\admin.php (10 hits)
Line 221: $type = mosGetParam ($this->paramattrs, 'TYPE', '');
Line 222: $name = mosGetParam ($this->paramattrs, 'NAME', '');
Line 223: $label = T_(mosGetParam ($this->paramattrs, 'LABEL', $name));
Line 224: $default = T_(mosGetParam ($this->paramattrs, 'DEFAULT', ''));
Line 225: if ($description = mosGetParam ($this->paramattrs, 'DESCRIPTION', '')) $tooltip = mosToolTip(T_($description), $name);
Line 239: $size = mosGetParam ($this->paramattrs, 'SIZE', 0);
Line 249: $directory = new mosDirectory (mamboCore::get('mosConfig_absolute_path').mosGetParam($this->paramattrs, 'DIRECTORY', ''));
Line 258: $rows = mosGetParam ($this->paramattrs, 'ROWS', 0);
Line 259: $cols = mosGetParam ($this->paramattrs, 'COLS', 0);
Line 402: $this->option = strtolower(mosGetParam($_REQUEST,'option','com_admin'));
C:\xampp\htdocs\mambo\administrator\includes\menubar.html.php (1 hits)
Line 371: /*$helpUrl = mosGetParam( $GLOBALS, 'mosConfig_helpurl', '' );
C:\xampp\htdocs\mambo\administrator\modules\mod_mosmsg.php (1 hits)
Line 18: $mosmsg = trim( strip_tags( mosGetParam( $_REQUEST, 'mosmsg', '' ) ) );
C:\xampp\htdocs\mambo\administrator\modules\mod_online.php (1 hits)
Line 18: $session_id = mosGetParam( $_SESSION, 'session_id', '' );
C:\xampp\htdocs\mambo\administrator\popups\contentwindow.php (1 hits)
Line 18: $css = mosGetParam( $_REQUEST, 't', '' );
C:\xampp\htdocs\mambo\administrator\popups\index3pop.php (1 hits)
Line 15: $mosmsg = strip_tags(mosGetParam($_REQUEST, 'mosmsg', ''));
C:\xampp\htdocs\mambo\administrator\popups\modulewindow.php (1 hits)
Line 18: $css = mosGetParam( $_REQUEST, 't', '');
C:\xampp\htdocs\mambo\administrator\popups\pollwindow.php (4 hits)
Line 29: $pollid = mosGetParam( $_REQUEST, 'pollid', 0 );
Line 30: $css = mosGetParam( $_REQUEST, 't', '' );
Line 82: function mosGetParam( &$arr, $name, $def=null, $mask=0 ) {
Line 84: if (is_array($arr[$name])) foreach ($arr[$name] as $key=>$element) $result[$key] = mosGetParam ($arr[$name], $key, $def, $mask);
C:\xampp\htdocs\mambo\administrator\popups\uploadimage.php (2 hits)
Line 18: $directory = mosGetParam( $_REQUEST, 'directory', '');
Line 82: $css = mosGetParam($_REQUEST,"t","");
C:\xampp\htdocs\mambo\administrator\templates\mambo_admin\index.php (1 hits)
Line 61: <?php if (!mosGetParam( $_REQUEST, 'hidemainmenu', 0 )) { ?>
C:\xampp\htdocs\mambo\administrator\templates\mambo_admin_blue\index.php (1 hits)
Line 61: <?php if (!mosGetParam( $_REQUEST, 'hidemainmenu', 0 )) { ?>
C:\xampp\htdocs\mambo\CHANGELOG.php (1 hits)
Line 1276: # Updating mosGetParam to utilize addslashes for added security
C:\xampp\htdocs\mambo\components\com_banners\banners.php (2 hits)
Line 19: $bid = intval( mosGetParam( $_REQUEST, 'bid', 0 ) );
Line 21: $task = mosGetParam( $_REQUEST, "task", "" );
C:\xampp\htdocs\mambo\components\com_contact\contact.html.php (1 hits)
Line 251: $hide_js = mosGetParam($_REQUEST,'hide_js', 0 );
C:\xampp\htdocs\mambo\components\com_contact\contact.php (11 hits)
Line 29: $this->op = mosGetParam($_REQUEST, 'op', '');
Line 30: $this->con_id = mosGetParam( $_REQUEST ,'con_id', 0 );
Line 31: $this->contact_id = mosGetParam( $_REQUEST ,'contact_id', 0 );
Line 32: $this->catid = mosGetParam( $_REQUEST ,'catid', 0 );
Line 46: $spamstop = mosGetParam( $_POST, 'spamstop', '' );
Line 62: $email = mosGetParam( $_POST, 'email', '' );
Line 63: $text = mosGetParam( $_POST, 'text', '' );
Line 64: $name = mosGetParam( $_POST, 'name', '' );
Line 65: $subject = mosGetParam( $_POST, 'subject', $default );
Line 66: $email_copy = mosGetParam( $_POST, 'email_copy', 0 );
Line 259: $pop = mosGetParam( $_REQUEST, 'pop', 0 );
C:\xampp\htdocs\mambo\components\com_content\content.html.php (3 hits)
Line 426: $no_html = mosGetParam( $_REQUEST, 'no_html', null);
Line 819: $task = mosGetParam( $_REQUEST, 'task', '' );
Line 868: $Returnid = intval( mosGetParam( $_REQUEST, 'Returnid', $Itemid ) );
C:\xampp\htdocs\mambo\components\com_content\content.php (27 hits)
Line 16: $id = intval( mosGetParam( $_REQUEST, 'id', 0 ) );
Line 17: $sectionid = intval( mosGetParam( $_REQUEST, 'sectionid', 0 ) );
Line 18: $pop = intval( mosGetParam( $_REQUEST, 'pop', 0 ) );
Line 19: $task = trim( mosGetParam( $_REQUEST, 'task', '' ) );
Line 20: $limit = intval( mosGetParam( $_REQUEST, 'limit', '' ) );
Line 21: $limitstart = intval( mosGetParam( $_REQUEST, 'limitstart', 0 ) );
Line 119: $keyref = mosGetParam( $_REQUEST, 'keyref', '' );
Line 275: $selected = mosGetParam( $_POST, 'order', '' );
Line 374: if ($filter = mosGetParam($_POST, 'filter', '')) {
Line 585: $year = mosGetParam( $_REQUEST, 'year', date( 'Y' ) );
Line 586: $month = mosGetParam( $_REQUEST, 'month', date( 'm' ) );
Line 671: $year = mosGetParam( $_REQUEST, 'year', date( 'Y' ) );
Line 672: $month = mosGetParam( $_REQUEST, 'month', date( 'm' ) );
Line 673: $module = trim( mosGetParam( $_REQUEST, 'module', '' ) );
Line 778: $limitstart = intval( mosGetParam( $_REQUEST, 'limitstart', 0 ) );
Line 1166: $page = intval( mosGetParam( $_REQUEST, 'limitstart', 0 ) );
Line 1351: if ( mosGetParam( $_REQUEST, 'frontpage', 0 ) ) {
Line 1401: $Itemid = mosGetParam( $_POST, 'Returnid', '0' );
Line 1423: $Itemid = mosGetParam( $_POST, 'Returnid', '0' );
Line 1459: $email = trim( mosGetParam( $_POST, 'email', '' ) );
Line 1460: $yourname = trim( mosGetParam( $_POST, 'yourname', '' ) );
Line 1461: $youremail = trim( mosGetParam( $_POST, 'youremail', '' ) );
Line 1463: $subject = trim( mosGetParam( $_POST, 'subject', $subject_default ) );
Line 1466: $form_check = mosGetParam( $_POST, 'form_check', '' );
Line 1503: $user_rating = mosGetParam( $_REQUEST, 'user_rating', 0 );
Line 1504: $url = mosGetParam( $_REQUEST, 'url', '' );
Line 1505: $cid = mosGetParam( $_REQUEST, 'cid', 0 );
C:\xampp\htdocs\mambo\components\com_login\login.html.php (1 hits)
Line 19: $return = mosGetParam( $_SERVER, 'REQUEST_URI', null );
C:\xampp\htdocs\mambo\components\com_login\login.php (1 hits)
Line 19: $return = mosGetParam( $_SERVER, 'REQUEST_URI', null );
C:\xampp\htdocs\mambo\components\com_newsfeeds\newsfeeds.php (2 hits)
Line 16: $feedid = intval( mosGetParam( $_REQUEST ,'feedid', 0 ) );
Line 17: $catid = intval( mosGetParam( $_REQUEST ,'catid', 0 ) );
C:\xampp\htdocs\mambo\components\com_poll\poll.php (5 hits)
Line 29: $id = intval( mosGetParam( $_REQUEST, 'id', 0 ) );
Line 30: $task = mosGetParam( $_REQUEST, 'task', '' );
Line 49: $sessioncookie = mosGetParam( $_REQUEST, $sessionCookieName, '' );
Line 65: $voted = mosGetParam( $_COOKIE, $cookiename, '0' );
Line 73: $voteid = mosGetParam( $_POST, 'voteid', 0 );
C:\xampp\htdocs\mambo\components\com_registration\registration.html.php (4 hits)
Line 43: $name = trim( mosGetParam( $_REQUEST, 'name', "" ) );
Line 44: $username = trim( mosGetParam( $_REQUEST, 'username', "" ) );
Line 45: $email = trim( mosGetParam( $_REQUEST, 'email', "" ) );
Line 46: $useractivation = trim( mosGetParam( $_REQUEST, 'useractivation', "" ) );
C:\xampp\htdocs\mambo\components\com_registration\registration.php (9 hits)
Line 18: $task = mosGetParam( $_REQUEST, 'task', "" );
Line 62: $checkusername = trim( mosGetParam( $_POST, 'checkusername', '') );
Line 64: $confirmEmail = trim( mosGetParam( $_POST, 'confirmEmail', '') );
Line 125: $name = trim( mosGetParam( $_REQUEST, 'name', "" ) );
Line 126: $username = trim( mosGetParam( $_REQUEST, 'username', "" ) );
Line 127: $password = trim( mosGetParam( $_REQUEST, 'password', "" ) );
Line 128: $email = trim( mosGetParam( $_REQUEST, 'email', "" ) );
Line 129: $useractivation = trim( mosGetParam( $_REQUEST, 'useractivation', "" ) );
Line 277: $activation = mosGetParam( $_REQUEST, 'activation', '' );
C:\xampp\htdocs\mambo\components\com_rss\rss.php (2 hits)
Line 88: $info[ 'feed' ] = mosGetParam( $_GET, 'feed', 'RSS2.0' );
Line 257: $feed = mosGetParam ($_GET, 'feed', 'RSS2.0');
C:\xampp\htdocs\mambo\components\com_search\search.php (5 hits)
Line 52: $searchword = mosGetParam( $_REQUEST, 'searchword', '' );
Line 64: $ordering = mosGetParam( $_REQUEST, 'ordering', 'newest');
Line 69: $searchphrase = mosGetParam( $_REQUEST, 'searchphrase', 'any' );
Line 109: $phrase = mosGetParam( $_REQUEST, 'searchphrase', '' );
Line 111: $ordering = mosGetParam( $_REQUEST, 'ordering', '' );
C:\xampp\htdocs\mambo\components\com_user\user.php (2 hits)
Line 25: $task = mosGetParam( $_REQUEST, 'task' );
Line 112: $user_id = intval( mosGetParam( $_POST, 'id', 0 ));
C:\xampp\htdocs\mambo\components\com_weblinks\weblinks.html.php (1 hits)
Line 236: $Returnid = intval( mosGetParam( $_REQUEST, 'Returnid', 0 ) );
C:\xampp\htdocs\mambo\components\com_weblinks\weblinks.php (6 hits)
Line 23: $task = trim( mosGetParam( $_REQUEST, 'task', "" ) );
Line 24: $id = intval( mosGetParam( $_REQUEST, 'id', 0 ) );
Line 25: $catid = intval( mosGetParam( $_REQUEST, 'catid', 0 ) );
Line 229: $row->id = intval( mosGetParam( $_POST, 'id', 0 ) );
Line 231: $Itemid = mosGetParam( $_POST, 'Returnid', '' );
Line 291: $Itemid = mosGetParam( $_POST, 'Returnid', '' );
C:\xampp\htdocs\mambo\includes\authenticator.php (5 hits)
Line 40: $username = mosGetParam($_REQUEST, 'username', '');
Line 41: $passwd = mosGetParam($_REQUEST, 'passwd', '' );
Line 45: if ($remember === null) $remember = mosGetParam($_REQUEST, 'remember', '');
Line 161: $usrname = $database->getEscaped(mosGetParam($_POST, 'usrname', ''));
Line 162: $pass = $database->getEscaped(mosGetParam($_POST, 'pass', ''));
C:\xampp\htdocs\mambo\includes\cmtclasses.php (9 hits)
Line 88: $mosmsg = mosGetParam($_REQUEST, 'mosmsg', '');
Line 313: $func = mosGetParam ($_REQUEST, $control_name, $default);
Line 385: $this->act = mosGetParam ($_REQUEST, 'act', $this->plugin_name);
Line 386: $this->task = mosGetParam($_REQUEST, 'task', 'list');
Line 389: $this->limit = intval( mosGetParam( $_REQUEST, 'limit', $default_limit ) );
Line 390: $this->limitstart = mosGetParam($_REQUEST, 'limitstart', 0 );
Line 391: $this->cfid = mosGetParam($_REQUEST, 'cfid', array(0));
Line 393: $this->order= mosGetParam($_REQUEST, 'order', array());
Line 715: $tp = mosGetParam( $_GET, 'tp', 0 );
C:\xampp\htdocs\mambo\includes\core.classes.php (22 hits)
Line 234: $this->Itemid = mosGetParam($_REQUEST, 'Itemid', 0);
Line 424: $this->mosConfig_locale = mosGetParam($_REQUEST, 'lang', $this->mosConfig_locale);
Line 485: $this->Itemid = mosGetParam($_REQUEST, 'Itemid', 0);
Line 486: if ($option = strtolower(mosGetParam($_REQUEST, 'option')));
Line 508: $this->Itemid = $handler->getItemid(mosGetParam($_REQUEST, 'id', 0 ));
Line 556: if (mosGetParam( $_POST, 'message', 0 )) {
Line 565: if ($return = mosGetParam( $_REQUEST, 'return', '' )) {
Line 621: $useragent = mosGetParam( $_SERVER, 'HTTP_USER_AGENT', '' );
Line 622: $canZip = mosGetParam( $_SERVER, 'HTTP_ACCEPT_ENCODING', '' );
Line 2050: $this->id = mosGetParam( $_SESSION, 'session_user_id', 0 );
Line 2051: $this->username = mosGetParam( $_SESSION, 'session_username', '' );
Line 2052: $this->usertype = mosGetParam( $_SESSION, 'session_usertype', '' );
Line 2053: $this->gid = mosGetParam( $_SESSION, 'session_gid', 0 );
Line 2054: $this->grp = mosGetParam( $_SESSION, 'session_grp', 0);
Line 2349: return is_array($this->_userstate) ? mosGetParam($this->_userstate, $var_name, null) : null;
Line 2416: $mos_user_template = mosGetParam( $_COOKIE, 'mos_user_template', '' );
Line 2417: $mos_change_template = mosGetParam( $_REQUEST, 'mos_change_template', $mos_user_template );
Line 2516: if (mosGetParam( $_COOKIE, 'mosvisitor', 0 )) return;
Line 2715: $session_id = mosGetParam( $_SESSION, 'session_id', '' );
Line 2716: $logintime = mosGetParam( $_SESSION, 'session_logintime', '' );
Line 2738: $sessioncookie = mosGetParam($_COOKIE, $sessionCookieName, null);
Line 2739: $usercookie = mosGetParam($_COOKIE, 'usercookie', null);
C:\xampp\htdocs\mambo\includes\pdf.php (1 hits)
Line 24: $id = intval( mosGetParam( $_REQUEST, 'id', 1 ) );
C:\xampp\htdocs\mambo\includes\sef.php (1 hits)
Line 305: if (mosGetParam($_GET, 'syndstyle', '') == 'yes') $string .= '&syndstyle=yes';
C:\xampp\htdocs\mambo\index.php (18 hits)
Line 66: * <code>$task = mosGetParam ($_GET,"task","view");</code>
Line 71: * <code>$task = mosGetParam ($_GET,"task","view",_MOS_NOTRIM+_MOS_ALLOWHTML);</code>
Line 80: function mosGetParam( &$arr, $name, $def=null, $mask=0 ) {
Line 82: if (is_array($arr[$name])) foreach ($arr[$name] as $key=>$element) $result[$key] = mosGetParam ($arr[$name], $key, $def, $mask);
Line 210: $type = mosGetParam($_REQUEST, 'type', 1);
Line 211: $act = mosGetParam( $_REQUEST, 'act', '' );
Line 212: $do_pdf = mosGetParam( $_REQUEST, 'do_pdf', 0 );
Line 213: $id = mosGetParam( $_REQUEST, 'id', 0 );
Line 214: $task = mosGetParam($_REQUEST, 'task', '');
Line 215: $act = strtolower(mosGetParam($_REQUEST, 'act', ''));
Line 216: $section = mosGetParam($_REQUEST, 'section', '');
Line 217: $no_html = strtolower(mosGetParam($_REQUEST, 'no_html', ''));
Line 218: $cid = (array) mosGetParam( $_POST, 'cid', array() );
Line 244: $option = strtolower(mosGetParam($_REQUEST,'option','com_admin'));
Line 276: else $admin_mode = mosGetParam($_SESSION, 'simple_editing', '');
Line 277: $_SESSION['simple_editing'] = mosGetParam($_POST, 'simple_editing', $admin_mode);
Line 303: $pop = mosGetParam($_REQUEST, 'pop', '');
Line 382: if (mosGetParam($_GET, 'syndstyle', '') == 'yes') mosMainBody();
C:\xampp\htdocs\mambo\installation\common.php (1 hits)
Line 51: function mosGetParam( &$arr, $name, $def=null, $mask=1 ) {
C:\xampp\htdocs\mambo\installation\index.php (1 hits)
Line 28: $lang = trim( mosGetParam( $_POST, 'lang', '' ) );
C:\xampp\htdocs\mambo\installation\install2.php (12 hits)
Line 29: //$DBverifypassword = mosGetParam( $_POST, 'DBverifypassword', '' );
Line 37: $DBhostname = mosGetParam( $_POST, 'DBhostname', '' );
Line 38: $DBuserName = mosGetParam( $_POST, 'DBuserName', '' );
Line 39: $DBpassword = mosGetParam( $_POST, 'DBpassword', '' );
Line 40: $DBverifypassword = mosGetParam( $_POST, 'DBverifypassword', '' );
Line 41: $DBname = mosGetParam( $_POST, 'DBname', '' );
Line 42: $DBPrefix = mosGetParam( $_POST, 'DBPrefix', '' );
Line 44: $DBDel = intval( mosGetParam( $_POST, 'DBDel', 0 ) );
Line 45: $DBBackup = intval( mosGetParam( $_POST, 'DBBackup', 0 ) );
Line 46: $DBSample = intval( mosGetParam( $_POST, 'DBSample', 0 ) );*/
Line 47: $DBcreated = intval( mosGetParam( $_POST, 'DBcreated', 0 ) );
Line 49: $configArray['sitename'] = trim( mosGetParam( $_POST, 'sitename', '' ) );
C:\xampp\htdocs\mambo\installation\install3.php (12 hits)
Line 25: //$DBverifypassword = mosGetParam( $_POST, 'DBverifypassword', '' );
Line 33: $DBhostname = mosGetParam( $_POST, 'DBhostname', '' );
Line 34: $DBuserName = mosGetParam( $_POST, 'DBuserName', '' );
Line 35: $DBpassword = mosGetParam( $_POST, 'DBpassword', '' );
Line 36: $DBname = mosGetParam( $_POST, 'DBname', '' );
Line 37: $DBPrefix = mosGetParam( $_POST, 'DBPrefix', '' );
Line 39: $sitename = mosGetParam( $_POST, 'sitename', '' );
Line 40: $adminEmail = mosGetParam( $_POST, 'adminEmail', '');
Line 41: $filePerms = mosGetParam( $_POST, 'filePerms', '');
Line 42: $dirPerms = mosGetParam( $_POST, 'dirPerms', '');
Line 43: $configArray['siteUrl'] = trim( mosGetParam( $_POST, 'siteUrl', '' ) );
Line 44: $configArray['absolutePath'] = trim( mosGetParam( $_POST, 'absolutePath', '' ) );
C:\xampp\htdocs\mambo\installation\install4.php (31 hits)
Line 27: //$DBverifypassword = mosGetParam( $_POST, 'DBverifypassword', '' );
Line 35: DBhostname = mosGetParam( $_POST, 'DBhostname', '' );
Line 36: $DBuserName = mosGetParam( $_POST, 'DBuserName', '' );
Line 37: $DBpassword = mosGetParam( $_POST, 'DBpassword', '' );
Line 38: $DBname = mosGetParam( $_POST, 'DBname', '' );
Line 39: $DBPrefix = mosGetParam( $_POST, 'DBPrefix', '' );
Line 41: $sitename = mosGetParam( $_POST, 'sitename', '' );
Line 42: $adminEmail = mosGetParam( $_POST, 'adminEmail', '');
Line 43: $siteUrl = mosGetParam( $_POST, 'siteUrl', '' );
Line 44: $absolutePath = mosGetParam( $_POST, 'absolutePath', '' );
Line 45: $adminPassword = mosGetParam( $_POST, 'adminPassword', '');
Line 48: if (mosGetParam($_POST,'filePermsMode',0))
Line 50: (mosGetParam($_POST,'filePermsUserRead',0) * 4 +
Line 51: mosGetParam($_POST,'filePermsUserWrite',0) * 2 +
Line 52: mosGetParam($_POST,'filePermsUserExecute',0)).
Line 53: (mosGetParam($_POST,'filePermsGroupRead',0) * 4 +
Line 54: mosGetParam($_POST,'filePermsGroupWrite',0) * 2 +
Line 55: mosGetParam($_POST,'filePermsGroupExecute',0)).
Line 56: (mosGetParam($_POST,'filePermsWorldRead',0) * 4 +
Line 57: mosGetParam($_POST,'filePermsWorldWrite',0) * 2 +
Line 58: mosGetParam($_POST,'filePermsWorldExecute',0));
Line 61: if (mosGetParam($_POST,'dirPermsMode',0))
Line 63: (mosGetParam($_POST,'dirPermsUserRead',0) * 4 +
Line 64: mosGetParam($_POST,'dirPermsUserWrite',0) * 2 +
Line 65: mosGetParam($_POST,'dirPermsUserSearch',0)).
Line 66: (mosGetParam($_POST,'dirPermsGroupRead',0) * 4 +
Line 67: mosGetParam($_POST,'dirPermsGroupWrite',0) * 2 +
Line 68: mosGetParam($_POST,'dirPermsGroupSearch',0)).
Line 69: (mosGetParam($_POST,'dirPermsWorldRead',0) * 4 +
Line 70: mosGetParam($_POST,'dirPermsWorldWrite',0) * 2 +
Line 71: mosGetParam($_POST,'dirPermsWorldSearch',0));
C:\xampp\htdocs\mambo\installation\survey.php (6 hits)
Line 26: $name = mosGetParam( $_POST, 'name', '' );
Line 27: $email = mosGetParam( $_POST, 'email', '' );
Line 28: $company = mosGetParam( $_POST, 'company', '' );
Line 29: $category = mosGetParam( $_POST, 'category', '' );
Line 30: $teammambo = mosGetParam( $_POST, 'teammambo', '' );
Line 31: $comments = mosGetParam( $_POST, 'comments', '' );
C:\xampp\htdocs\mambo\mambots\content\geshi.php (2 hits)
Line 96: $lang = mosGetParam( $args, 'lang', 'php' );
Line 97: $lines = mosGetParam( $args, 'lines', 'false' );
C:\xampp\htdocs\mambo\mambots\content\moscomment.php (2 hits)
Line 79: $comment_form .= "<INPUT TYPE='hidden' NAME='limit' value='".mosGetParam( $_GET, 'limit', '' )."'>";
Line 80: $comment_form .= "<INPUT TYPE='hidden' NAME='limitstart' value='".mosGetParam( $_GET, 'limitstart', '' )."'>";
C:\xampp\htdocs\mambo\mambots\content\mosvote.php (1 hits)
Line 27: $task = mosGetParam( $_REQUEST, 'task', '' );
C:\xampp\htdocs\mambo\mambots\editors\mostlyce.php (2 hits)
Line 70: $get_width = mosGetParam($_GET,'width',NULL);
Line 71: $get_height = mosGetParam($_GET,'height',NULL);
C:\xampp\htdocs\mambo\modules\mod_poll.php (1 hits)
Line 25: $Itemid = mosGetParam( $_REQUEST, 'Itemid', 0 );
C:\xampp\htdocs\mambo\modules\mod_related_items.php (3 hits)
Line 18: $option = trim( mosGetParam( $_REQUEST, 'option', null ) );
Line 19: $task = trim( mosGetParam( $_REQUEST, 'task', null ) );
Line 20: $id = intval( mosGetParam( $_REQUEST, 'id', null ) );
Search "mosGetParam" (496 hits in 110 files)
C:\xampp\htdocs\mambo\administrator\components\com_admin\admin.admin.html.php (5 hits)
Line 147: //$tab = mosGetParam( $_REQUEST, 'tab', 'tab1' );
Line 475: $helpurl = mosGetParam( $GLOBALS, 'mosConfig_helpurl', '' );
Line 480: $helpsearch = mosGetParam( $_REQUEST, 'helpsearch', '' );
Line 481: $page = mosGetParam( $_REQUEST, 'page', 'mambo.whatsnew.html' );
Line 635: $helpurl = mosGetParam( $GLOBALS, 'mosConfig_helpurl', '' );
C:\xampp\htdocs\mambo\administrator\components\com_admin\admin.admin.php (1 hits)
Line 17: $goto = trim( strtolower( mosGetParam( $_REQUEST, 'link' ) ) );
C:\xampp\htdocs\mambo\administrator\components\com_banners\admin.banners.php (1 hits)
Line 27: $cid = mosGetParam( $_REQUEST, 'cid', array(0) );
C:\xampp\htdocs\mambo\administrator\components\com_categories\admin.categories.php (21 hits)
Line 17: $section = mosGetParam( $_REQUEST, 'section', 'content' );
Line 18: $cid = mosGetParam( $_REQUEST, 'cid', array(0) );
Line 19: if (!$cid) $id = mosGetParam( $_REQUEST, ‘id’, 0 );
Line 239: $type = mosGetParam( $_REQUEST, 'type', '' );
Line 240: $redirect = mosGetParam( $_REQUEST, 'section', 'content' );
Line 365: $menu = mosGetParam( $_POST, 'menu', 'mainmenu' );
Line 366: $menuid = mosGetParam( $_POST, 'menuid', 0 );
Line 367: $redirect = mosGetParam( $_POST, 'redirect', '' );
Line 368: $oldtitle = mosGetParam( $_POST, 'oldtitle', null );
Line 552: $redirect = mosGetParam( $_POST, 'redirect', '' );
Line 581: $redirect = mosGetParam( $_POST, 'section', 'content' );;
Line 617: $sectionMove = mosGetParam( $_REQUEST, 'sectionmove', '' );
Line 651: $redirect = mosGetParam( $_POST, 'section', 'content' );;
Line 687: $sectionMove = mosGetParam( $_REQUEST, 'sectionmove', '' );
Line 688: $contentid = mosGetParam( $_REQUEST, 'item', '' );
Line 772: $redirect = mosGetParam( $_POST, 'redirect', '' );
Line 773: $menu = mosGetParam( $_POST, 'menuselect', '' );
Line 774: $name = mosGetParam( $_POST, 'link_name', '' );
Line 775: $sectionid = mosGetParam( $_POST, 'sectionid', '' );
Line 776: $type = mosGetParam( $_POST, 'link_type', '' );
Line 838: $order = mosGetParam( $_POST, 'order', array(0) );
C:\xampp\htdocs\mambo\administrator\components\com_categories\toolbar.categories.html.php (1 hits)
Line 80: $section = mosGetParam( $_REQUEST, 'section', '' );
C:\xampp\htdocs\mambo\administrator\components\com_config\admin.config.php (5 hits)
Line 463: $editor = intval( mosGetParam( $_POST, 'editor', 0 ) );
Line 489: $enable_write = mosGetParam($_POST,'enable_write',0);
Line 498: if (mosGetParam($_POST,'disable_write',0))
Line 505: $applyFilePerms = mosGetParam($_POST,'applyFilePerms',0) && $row->config_fileperms!='';
Line 506: $applyDirPerms = mosGetParam($_POST,'applyDirPerms',0) && $row->config_dirperms!='';
C:\xampp\htdocs\mambo\administrator\components\com_contact\admin.contact.php (3 hits)
Line 22: $id = mosGetParam($_GET, 'id', 0);
Line 23: $cid = mosGetParam($_POST, 'cid', array(0));
Line 192: $params = mosGetParam( $_POST, 'params', '' );
C:\xampp\htdocs\mambo\administrator\components\com_containers\admin.containers.php (3 hits)
Line 27: $this->parentid = mosGetParam($_REQUEST, 'parentid', 0);
Line 32: $search = trim( strtolower( mosGetParam( $_POST, 'search', '' ) ) );
Line 34: $descendants = intval(mosGetParam($_POST, 'descendants', 0));
C:\xampp\htdocs\mambo\administrator\components\com_containers\toolbar.containers.php (2 hits)
Line 11: if ($this->act = mosGetParam ($_REQUEST, 'act', 'containers'));
Line 13: if ($this->task = mosGetParam($_REQUEST, 'task', 'list'));
C:\xampp\htdocs\mambo\administrator\components\com_content\admin.content.php (26 hits)
Line 16: $sectionid = mosGetParam( $_REQUEST, 'sectionid', 0 );
Line 17: $id = mosGetParam( $_REQUEST, 'id', '' );
Line 18: $cid = mosGetParam( $_POST, 'cid', array(0) );
Line 371: $redirect = mosGetParam( $_POST, 'redirect', '' );
Line 569: $menu = mosGetParam( $_POST, 'menu', 'mainmenu' );
Line 570: $menuid = mosGetParam( $_POST, 'menuid', 0 );
Line 600: $row->state = mosGetParam( $_REQUEST, 'published', 0 );
Line 602: $params = mosGetParam( $_POST, 'params', '' );
Line 636: if (mosGetParam( $_REQUEST, 'frontpage', 0 )) {
Line 660: $redirect = mosGetParam( $_POST, 'redirect', $sectionid );
Line 732: $redirect = mosGetParam( $_POST, 'redirect', $row->sectionid );
Line 733: $task = mosGetParam( $_POST, 'returntask', '' );
Line 808: $return = mosGetParam( $_POST, 'returntask', '' );
Line 824: $redirect = mosGetParam( $_POST, 'redirect', 0 );
Line 839: $redirect = mosGetParam( $_POST, 'redirect', $row->sectionid );
Line 886: $sectcat = mosGetParam( $_POST, 'sectcat', '' );
Line 988: $sectcat = mosGetParam( $_POST, 'sectcat', '' );
Line 1106: $redirect = mosGetParam( $_POST, 'redirect', $row->sectionid );
Line 1127: $menu = mosGetParam( $_POST, 'menuselect', '' );
Line 1128: $link = mosGetParam( $_POST, 'link_name', '' );
Line 1155: $menu = mosGetParam( $_POST, 'menu', 'mainmenu' );
Line 1161: $menu = mosGetParam( $_POST, 'menu', 'mainmenu' );
Line 1162: $id = mosGetParam( $_POST, 'menuid', 0 );
Line 1169: $order = mosGetParam( $_POST, 'order', array(0) );
Line 1170: $redirect = mosGetParam( $_POST, 'redirect', 0 );
Line 1171: $rettask = mosGetParam( $_POST, 'returntask', '' );
C:\xampp\htdocs\mambo\administrator\components\com_frontpage\admin.frontpage.php (3 hits)
Line 24: $task = mosGetParam( $_REQUEST, 'task', array(0) );
Line 25: $cid = mosGetParam( $_POST, 'cid', array(0) );
Line 277: $order = mosGetParam( $_POST, 'order', array(0) );
C:\xampp\htdocs\mambo\administrator\components\com_frontpage\toolbar.frontpage.php (1 hits)
Line 16: $act = mosGetParam( $_REQUEST, 'act', '' );
C:\xampp\htdocs\mambo\administrator\components\com_installer\admin.installer.php (6 hits)
Line 16: $element = mosGetParam( $_REQUEST, 'element', '' );
Line 17: $client = mosGetParam( $_REQUEST, 'client', '' );
Line 63: $cid = mosGetParam($_REQUEST, 'cid', array(0));
Line 147: $userfile = mosGetParam( $_FILES, 'userfile', null );
Line 181: $userfile = mosGetParam( $_REQUEST, 'userfile', '' );
Line 206: $userurl = mosGetParam( $_REQUEST, 'userurl', '' );
C:\xampp\htdocs\mambo\administrator\components\com_installer\module\module.php (1 hits)
Line 28: $filter = mosGetParam( $_POST, 'filter', '' );
C:\xampp\htdocs\mambo\administrator\components\com_installer\template\template.php (2 hits)
Line 18: $client = mosGetParam( $_REQUEST, 'client', '' );
Line 20: $userfile = mosGetParam( $_REQUEST, 'userfile', dirname( __FILE__ ) );
C:\xampp\htdocs\mambo\administrator\components\com_installer\toolbar.installer.php (1 hits)
Line 21: $element = mosGetParam( $_REQUEST, 'element', '' );
C:\xampp\htdocs\mambo\administrator\components\com_languages\actions\cancel.action.php (1 hits)
Line 17: $controller->redirect('index', mosGetParam($_REQUEST, 'act', $act));
C:\xampp\htdocs\mambo\administrator\components\com_languages\actions\default.action.php (1 hits)
Line 14: $lang = mosGetParam( $_REQUEST, 'lang' );
C:\xampp\htdocs\mambo\administrator\components\com_languages\actions\export.action.php (1 hits)
Line 19: $lang = mosGetParam($_POST, 'lang', '');
C:\xampp\htdocs\mambo\administrator\components\com_languages\actions\index.action.php (1 hits)
Line 14: $controller->view(mosGetParam($_REQUEST, 'act', 'language'));
C:\xampp\htdocs\mambo\administrator\components\com_languages\actions\publish.action.php (1 hits)
Line 14: $lang = mosGetParam( $_REQUEST, 'lang', array(0) );
C:\xampp\htdocs\mambo\administrator\components\com_languages\actions\remove.action.php (1 hits)
Line 21: $controller->redirect('index', mosGetParam($_REQUEST, 'act', 'language'));
C:\xampp\htdocs\mambo\administrator\components\com_languages\actions\save.action.php (3 hits)
Line 14: $iso639 = strtolower(mosGetParam($_POST, 'iso639'));
Line 15: $iso3166 = mosGetParam($_POST, 'iso3166_2');
Line 16: $iso3166_3 = mosGetParam($_POST, 'iso3166_3');
C:\xampp\htdocs\mambo\administrator\components\com_languages\admin.languages.class.php (4 hits)
Line 32: $this->vars[$var] = mosGetParam($_GET, $var);
Line 35: $this->vars[$var] = mosGetParam($_POST, $var);
Line 38: $this->vars[$var] = mosGetParam($_COOKIE, $var);
Line 41: $this->vars[$var] = mosGetParam($_REQUEST, $var);
C:\xampp\htdocs\mambo\administrator\components\com_languages\admin.languages.php (3 hits)
Line 31: $lang = $session['lang'] = mosGetParam($_POST, 'lang', isset($session['lang']) ? $session['lang'] : mamboCore::get('mosConfig_locale'));
Line 34: $task = mosGetParam($_REQUEST, 'task', 'index');
Line 35: $act = mosGetParam($_REQUEST, 'act' , 'language');
C:\xampp\htdocs\mambo\administrator\components\com_mambots\admin.mambots.php (4 hits)
Line 21: $client = mosGetParam( $_REQUEST, 'client', '' );
Line 22: $cid = mosGetParam( $_POST, 'cid', array(0) );
Line 150: $params = mosGetParam( $_POST, 'params', '' );
Line 403: $order = mosGetParam( $_POST, 'order', array(0) );
C:\xampp\htdocs\mambo\administrator\components\com_massmail\admin.massmail.php (5 hits)
Line 54: $mode = mosGetParam( $_POST, 'mm_mode', 0 );
Line 55: $subject = mosGetParam( $_POST, 'mm_subject', '' );
Line 56: $gou = mosGetParam( $_POST, 'mm_group', NULL );
Line 57: $recurse = mosGetParam( $_POST, 'mm_recurse', 'NO_RECURSE' );
Line 63: $message_body = mosGetParam( $_POST, 'mm_message', '' );
C:\xampp\htdocs\mambo\administrator\components\com_media\admin.media.php (5 hits)
Line 22: $cid = mosGetParam( $_POST, 'cid', array(0) );
Line 23: $foldername = mosGetParam($_POST, 'foldername', '');
Line 24: $listdir = mosGetParam($_REQUEST, 'listdir', '');
Line 25: $dirPath = mosGetParam($_POST, 'dirPath', '');
Line 26: $task = mosGetParam($_REQUEST, 'task', '');
C:\xampp\htdocs\mambo\administrator\components\com_menumanager\admin.menumanager.php (11 hits)
Line 20: $menu = mosGetParam( $_GET, 'menu', '' );
Line 21: $task = mosGetParam( $_REQUEST, 'task', array(0) );
Line 22: $type = mosGetParam( $_POST, 'type', '' );
Line 23: $cid = mosGetParam( $_POST, 'cid', '' );
Line 199: $menutype = mosGetParam( $_POST, 'menutype', '' );
Line 200: $old_menutype = mosGetParam( $_POST, 'old_menutype', '' );
Line 201: $new = mosGetParam( $_POST, 'new', 1 );
Line 382: $mids = mosGetParam( $_POST, 'mids', 0 );
Line 454: $menu_name = mosGetParam( $_POST, 'menu_name', 'New Menu' );
Line 455: $module_name = mosGetParam( $_POST, 'module_name', 'New Module' );
Line 474: $mids = mosGetParam( $_POST, 'mids', '' );
C:\xampp\htdocs\mambo\administrator\components\com_menumanager\toolbar.menumanager.php (1 hits)
Line 16: $act = mosGetParam( $_REQUEST, 'act', '' );
C:\xampp\htdocs\mambo\administrator\components\com_menus\admin.menus.php (14 hits)
Line 15: $id = intval( mosGetParam( $_GET, 'id', 0 ) );
Line 16: $type = mosGetParam( $_REQUEST, 'type', false );
Line 17: $menutype = mosGetParam( $_REQUEST, 'menutype', 'mainmenu' );
Line 18: $task = mosGetParam( $_REQUEST, 'task', '' );
Line 19: $access = mosGetParam( $_POST, 'access', '' );
Line 20: $utaccess = mosGetParam( $_POST, 'utaccess', '' );
Line 21: $ItemName = mosGetParam( $_POST, 'ItemName', '' );
Line 22: $menu = mosGetParam( $_POST, 'menu', '' );
Line 23: $cid = mosGetParam( $_POST, 'cid', array(0) );
Line 125: $type = trim( mosGetParam( $_REQUEST, 'type', null ) );
Line 353: $params = mosGetParam( $_POST, 'params', '' );
Line 460: $menuid = mosGetParam( $_POST, 'menuid', 0 );
Line 469: $contentid = mosGetParam( $_POST, 'id', 0 );
Line 712: $order = mosGetParam( $_POST, 'order', array(0) );
C:\xampp\htdocs\mambo\administrator\components\com_menus\components\components.class.php (1 hits)
Line 43: $menu->parent = intval( mosGetParam( $_POST, 'parent', 0 ) );
C:\xampp\htdocs\mambo\administrator\components\com_menus\component_item_link\component_item_link.class.php (1 hits)
Line 37: $menu->parent = intval( mosGetParam( $_POST, 'parent', 0 ) );
C:\xampp\htdocs\mambo\administrator\components\com_menus\contact_category_table\contact_category_table.class.php (1 hits)
Line 38: $menu->parent = intval( mosGetParam( $_POST, 'parent', 0 ) );
C:\xampp\htdocs\mambo\administrator\components\com_menus\contact_item_link\contact_item_link.class.php (1 hits)
Line 39: $menu->parent = intval( mosGetParam( $_POST, 'parent', 0 ) );
C:\xampp\htdocs\mambo\administrator\components\com_menus\content_archive_category\content_archive_category.class.php (1 hits)
Line 37: $menu->parent = intval( mosGetParam( $_POST, 'parent', 0 ) );
C:\xampp\htdocs\mambo\administrator\components\com_menus\content_archive_section\content_archive_section.class.php (1 hits)
Line 36: $menu->parent = intval( mosGetParam( $_POST, 'parent', 0 ) );
C:\xampp\htdocs\mambo\administrator\components\com_menus\content_blog_category\content_blog_category.class.php (3 hits)
Line 54: $menu->parent = intval( mosGetParam( $_POST, 'parent', 0 ) );
Line 93: $params = mosGetParam( $_POST, 'params', '' );
Line 94: $catids = mosGetParam( $_POST, 'catid', array() );
C:\xampp\htdocs\mambo\administrator\components\com_menus\content_blog_section\content_blog_section.class.php (3 hits)
Line 53: $menu->parent = intval( mosGetParam( $_POST, 'parent', 0 ) );
Line 90: $params = mosGetParam( $_POST, 'params', '' );
Line 91: $secids = mosGetParam( $_POST, 'secid', array() );
C:\xampp\htdocs\mambo\administrator\components\com_menus\content_category\content_category.class.php (1 hits)
Line 38: $menu->parent = intval( mosGetParam( $_POST, 'parent', 0 ) );
C:\xampp\htdocs\mambo\administrator\components\com_menus\content_item_link\content_item_link.class.php (2 hits)
Line 39: $menu->parent = intval( mosGetParam( $_POST, 'parent', 0 ) );
Line 148: $menuid = mosGetParam( $_POST, 'menuid', 0 );
C:\xampp\htdocs\mambo\administrator\components\com_menus\content_section\content_section.class.php (1 hits)
Line 37: $menu->parent = intval( mosGetParam( $_POST, 'parent', 0 ) );
C:\xampp\htdocs\mambo\administrator\components\com_menus\content_typed\content_typed.class.php (2 hits)
Line 36: $menu->parent = intval( mosGetParam( $_POST, 'parent', 0 ) );
Line 98: $menuid = mosGetParam( $_POST, 'menuid', 0 );
C:\xampp\htdocs\mambo\administrator\components\com_menus\content_typed\content_typed.menu.php (1 hits)
Line 15: $scid = mosGetParam( $_POST, 'scid', '' );
C:\xampp\htdocs\mambo\administrator\components\com_menus\newsfeed_category_table\newsfeed_category_table.class.php (1 hits)
Line 38: $menu->parent = intval( mosGetParam( $_POST, 'parent', 0 ) );
C:\xampp\htdocs\mambo\administrator\components\com_menus\newsfeed_link\newsfeed_link.class.php (1 hits)
Line 39: $menu->parent = intval( mosGetParam( $_POST, 'parent', 0 ) );
C:\xampp\htdocs\mambo\administrator\components\com_menus\separator\separator.class.php (1 hits)
Line 41: $menu->parent = intval( mosGetParam( $_POST, 'parent', 0 ) );
C:\xampp\htdocs\mambo\administrator\components\com_menus\toolbar.menus.html.php (2 hits)
Line 61: $cid = mosGetParam( $_POST, 'cid', array(0) );
Line 64: $menutype = mosGetParam( $_REQUEST, 'menutype', 'mainmenu' );
C:\xampp\htdocs\mambo\administrator\components\com_menus\toolbar.menus.php (3 hits)
Line 30: $cid = mosGetParam( $_POST, 'cid', array(0) );
Line 52: $type = mosGetParam( $_REQUEST, 'type', null );
Line 68: $type = trim( mosGetParam( $_REQUEST, 'type', null ) );
C:\xampp\htdocs\mambo\administrator\components\com_menus\url\url.class.php (1 hits)
Line 39: $menu->parent = intval( mosGetParam( $_POST, 'parent', 0 ) );
C:\xampp\htdocs\mambo\administrator\components\com_menus\weblink_category_table\weblink_category_table.class.php (1 hits)
Line 38: $menu->parent = intval( mosGetParam( $_POST, 'parent', 0 ) );
C:\xampp\htdocs\mambo\administrator\components\com_menus\wrapper\wrapper.class.php (3 hits)
Line 37: $menu->parent = intval( mosGetParam( $_POST, 'parent', 0 ) );
Line 66: $params = mosGetParam( $_POST, 'params', '' );
Line 67: $params[url] = mosGetParam( $_POST, 'url', '' );
C:\xampp\htdocs\mambo\administrator\components\com_messages\admin.messages.php (7 hits)
Line 16: $task = trim( mosGetParam( $_REQUEST, 'task', null ) );
Line 17: $cid = mosGetParam( $_REQUEST, 'cid', array( 0 ) );
Line 34: mosGetParam( $_REQUEST, 'userid', 0 ),
Line 35: mosGetParam( $_REQUEST, 'subject', '' )
Line 80: $vars = mosGetParam( $_POST, 'vars', array() );
Line 234: $limit = intval( mosGetParam( $_REQUEST, 'limit', 10 ) );
Line 235: $limitstart = intval( mosGetParam( $_REQUEST, 'limitstart', 0 ) );
C:\xampp\htdocs\mambo\administrator\components\com_modules\admin.modules.php (7 hits)
Line 20: $client = mosGetParam( $_REQUEST, 'client', '' );
Line 21: $cid = mosGetParam( $_POST, 'cid', array(0) );
Line 22: $moduleid = mosGetParam( $_REQUEST, 'moduleid', null );
Line 220: $params = mosGetParam( $_POST, 'params', '' , _MOS_ALLOWHTML);
Line 257: $menus = mosGetParam( $_POST, 'selections', array() );
Line 540: $client = mosGetParam( $_POST, 'client', '' );
Line 597: $order = mosGetParam( $_POST, 'order', array(0) );
C:\xampp\htdocs\mambo\administrator\components\com_modules\toolbar.modules.php (2 hits)
Line 18: $cid = mosGetParam( $_POST, 'cid', 0 );
Line 20: $mid = mosGetParam( $_POST, 'id', 0 );;
C:\xampp\htdocs\mambo\administrator\components\com_mostlydbadmin\admin.mostlydbadmin.php (9 hits)
Line 26: $task = mosGetParam( $_REQUEST, "task", "" );
Line 27: $file = mosGetParam( $_POST, "file", null );
Line 28: $upfile = mosGetParam($_FILES,"upfile",null);
Line 29: $tables = mosGetParam( $_POST, "tables", null );
Line 30: $OutType = mosGetParam( $_POST, "OutType", null );
Line 31: $OutDest = mosGetParam( $_POST, "OutDest", null );
Line 32: $toBackUp = mosGetParam( $_POST, "toBackUp", null );
Line 616: $sql = trim( mosGetParam( $_POST, 'sql', '' ) );
Line 617: $batch = intval( mosGetParam( $_POST, 'batch', 0 ) );
C:\xampp\htdocs\mambo\administrator\components\com_newsfeeds\admin.newsfeeds.php (7 hits)
Line 22: $task = mosGetParam( $_REQUEST, 'task', array(0) );
Line 23: $cid = mosGetParam( $_POST, 'cid', array(0) );
Line 24: $id = mosGetParam( $_GET, 'id', 0 );
Line 129: $catid = intval( mosGetParam( $_REQUEST, 'catid', 0 ) );
Line 277: $limit = mosGetParam( $_REQUEST, 'limit', 0 );
Line 278: $limitstart = mosGetParam( $_REQUEST, 'limitstart', 0 );
Line 279: $catid = intval( mosGetParam( $_REQUEST, 'catid', 0 ) );
C:\xampp\htdocs\mambo\administrator\components\com_poll\admin.poll.php (4 hits)
Line 22: $cid = mosGetParam( $_REQUEST, 'cid', array(0) );
Line 159: $options = mosGetParam( $_POST, 'polloption', array() );
Line 177: $selections = mosGetParam( $_POST, 'selections', array() );
Line 211: $catid = mosGetParam( $_POST, 'catid', array(0) );
C:\xampp\htdocs\mambo\administrator\components\com_poll\toolbar.poll.php (2 hits)
Line 21: $cid = mosGetParam( $_REQUEST, 'cid', array(0) );
Line 35: $id = mosGetParam( $_REQUEST, 'id', 0 );
C:\xampp\htdocs\mambo\administrator\components\com_sections\admin.sections.php (13 hits)
Line 17: $scope = mosGetParam( $_REQUEST, 'scope', '' );
Line 18: $cid = mosGetParam( $_REQUEST, 'cid', array(0) );
Line 19: $section = mosGetParam( $_REQUEST, 'scope', '' );
Line 264: $menu = mosGetParam( $_POST, 'menu', 'mainmenu' );
Line 265: $menuid = mosGetParam( $_POST, 'menuid', 0 );
Line 266: $oldtitle = mosGetParam( $_POST, 'oldtitle', null );
Line 500: $title = mosGetParam( $_REQUEST, 'title', '' );
Line 501: $contentid = mosGetParam( $_REQUEST, 'content', '' );
Line 502: $categoryid = mosGetParam( $_REQUEST, 'category', '' );
Line 618: $menu = mosGetParam( $_POST, 'menuselect', '' );
Line 619: $name = mosGetParam( $_POST, 'link_name', '' );
Line 620: $type = mosGetParam( $_POST, 'link_type', '' );
Line 665: $order = mosGetParam( $_POST, 'order', array(0) );
C:\xampp\htdocs\mambo\administrator\components\com_statistics\admin.statistics.html.php (1 hits)
Line 17: $tab = mosGetParam( $_REQUEST, 'tab', 'tab1' );
C:\xampp\htdocs\mambo\administrator\components\com_statistics\admin.statistics.php (3 hits)
Line 32: $field = strtolower( mosGetParam( $_REQUEST, 'field', '' ) );
Line 38: $order = strtolower( mosGetParam( $_REQUEST, 'order', 'asc' ) );
Line 49: $tab = mosGetParam( $_REQUEST, 'tab', 'tab1' );
C:\xampp\htdocs\mambo\administrator\components\com_syndicate\admin.syndicate.php (2 hits)
Line 67: $params = mosGetParam( $_POST, 'params', '' );
Line 76: $id = mosGetParam( $_POST, 'id', '17' );
C:\xampp\htdocs\mambo\administrator\components\com_templates\admin.templates.php (16 hits)
Line 21: $task = trim( strtolower( mosGetParam( $_REQUEST, "task", "" ) ) );
Line 22: $cid = mosGetParam( $_REQUEST, "cid", array(0) );
Line 23: $client = mosGetParam( $_REQUEST, 'client', '' );
Line 263: $template = mosGetParam( $_POST, 'template', '' );
Line 264: $filecontent = mosGetParam( $_POST, 'filecontent', '', _MOS_ALLOWHTML );
Line 279: $enable_write = mosGetParam($_POST,'enable_write',0);
Line 294: if (mosGetParam($_POST,'disable_write',0))
Line 327: $template = trim( mosGetParam( $_POST, 'template', '' ) );
Line 328: $filecontent = mosGetParam( $_POST, 'filecontent', '', _MOS_ALLOWHTML );
Line 344: $enable_write = mosGetParam($_POST,'enable_write',0);
Line 359: if (mosGetParam($_POST,'disable_write',0))
Line 390: $menus = mosGetParam( $_POST, 'selections', array() );
Line 391: $template = mosGetParam( $_POST, 'template', '' );
Line 429: $positions = mosGetParam( $_POST, 'position', array() );
Line 430: $descriptions = mosGetParam( $_POST, 'description', array() );
Line 438: $description = mosGetParam( $descriptions, $id, '' );
C:\xampp\htdocs\mambo\administrator\components\com_templates\toolbar.templates.php (1 hits)
Line 15: $client = mosGetParam( $_REQUEST, 'client', '' );
C:\xampp\htdocs\mambo\administrator\components\com_trash\admin.trash.php (5 hits)
Line 22: $task = mosGetParam( $_REQUEST, 'task', array(0) );
Line 23: $cid = mosGetParam( $_POST, 'cid', array(0) );
Line 24: $mid = mosGetParam( $_POST, 'mid', array(0) );
Line 161: $type = mosGetParam( $_POST, 'type', array(0) );
Line 229: $type = mosGetParam( $_POST, 'type', array(0) );
C:\xampp\htdocs\mambo\administrator\components\com_trash\toolbar.trash.php (1 hits)
Line 16: $act = mosGetParam( $_REQUEST, 'act', '' );
C:\xampp\htdocs\mambo\administrator\components\com_typedcontent\admin.typedcontent.php (13 hits)
Line 16: $id = mosGetParam( $_REQUEST, 'id', '' );
Line 17: $cid = mosGetParam( $_POST, 'cid', array(0) );
Line 304: $menu = mosGetParam( $_POST, 'menu', 'mainmenu' );
Line 305: $menuid = mosGetParam( $_POST, 'menuid', 0 );
Line 325: $params = mosGetParam( $_POST, 'params', '' );
Line 337: $row->state = mosGetParam( $_REQUEST, 'published', 0 );
Line 352: if (mosGetParam( $_REQUEST, 'frontpage', 0 )) {
Line 532: $menu = mosGetParam( $_POST, 'menuselect', '' );
Line 533: $link = mosGetParam( $_POST, 'link_name', '' );
Line 567: $menu = mosGetParam( $_POST, 'menu', 'mainmenu' );
Line 580: $menu = mosGetParam( $_POST, 'menu', 'mainmenu' );
Line 581: $id = mosGetParam( $_POST, 'menuid', 0 );
Line 588: $order = mosGetParam( $_POST, 'order', array(0) );
C:\xampp\htdocs\mambo\administrator\components\com_users\admin.users.php (3 hits)
Line 19: $task = trim( mosGetParam( $_REQUEST, 'task', null ) );
Line 20: $cid = mosGetParam( $_REQUEST, 'cid', array( 0 ) );
Line 68: $contact_id = mosGetParam( $_POST, 'contact_id', '' );
C:\xampp\htdocs\mambo\administrator\components\com_weblinks\admin.weblinks.php (4 hits)
Line 22: $cid = mosGetParam( $_POST, 'cid', array(0) );
Line 152: $row->catid = mosGetParam( $_POST, 'catid', 0 );
Line 189: $params = mosGetParam( $_POST, 'params', '' );
Line 245: $catid = mosGetParam( $_POST, 'catid', array(0) );
C:\xampp\htdocs\mambo\administrator\includes\admin.php (10 hits)
Line 221: $type = mosGetParam ($this->paramattrs, 'TYPE', '');
Line 222: $name = mosGetParam ($this->paramattrs, 'NAME', '');
Line 223: $label = T_(mosGetParam ($this->paramattrs, 'LABEL', $name));
Line 224: $default = T_(mosGetParam ($this->paramattrs, 'DEFAULT', ''));
Line 225: if ($description = mosGetParam ($this->paramattrs, 'DESCRIPTION', '')) $tooltip = mosToolTip(T_($description), $name);
Line 239: $size = mosGetParam ($this->paramattrs, 'SIZE', 0);
Line 249: $directory = new mosDirectory (mamboCore::get('mosConfig_absolute_path').mosGetParam($this->paramattrs, 'DIRECTORY', ''));
Line 258: $rows = mosGetParam ($this->paramattrs, 'ROWS', 0);
Line 259: $cols = mosGetParam ($this->paramattrs, 'COLS', 0);
Line 402: $this->option = strtolower(mosGetParam($_REQUEST,'option','com_admin'));
C:\xampp\htdocs\mambo\administrator\includes\menubar.html.php (1 hits)
Line 371: /*$helpUrl = mosGetParam( $GLOBALS, 'mosConfig_helpurl', '' );
C:\xampp\htdocs\mambo\administrator\modules\mod_mosmsg.php (1 hits)
Line 18: $mosmsg = trim( strip_tags( mosGetParam( $_REQUEST, 'mosmsg', '' ) ) );
C:\xampp\htdocs\mambo\administrator\modules\mod_online.php (1 hits)
Line 18: $session_id = mosGetParam( $_SESSION, 'session_id', '' );
C:\xampp\htdocs\mambo\administrator\popups\contentwindow.php (1 hits)
Line 18: $css = mosGetParam( $_REQUEST, 't', '' );
C:\xampp\htdocs\mambo\administrator\popups\index3pop.php (1 hits)
Line 15: $mosmsg = strip_tags(mosGetParam($_REQUEST, 'mosmsg', ''));
C:\xampp\htdocs\mambo\administrator\popups\modulewindow.php (1 hits)
Line 18: $css = mosGetParam( $_REQUEST, 't', '');
C:\xampp\htdocs\mambo\administrator\popups\pollwindow.php (4 hits)
Line 29: $pollid = mosGetParam( $_REQUEST, 'pollid', 0 );
Line 30: $css = mosGetParam( $_REQUEST, 't', '' );
Line 82: function mosGetParam( &$arr, $name, $def=null, $mask=0 ) {
Line 84: if (is_array($arr[$name])) foreach ($arr[$name] as $key=>$element) $result[$key] = mosGetParam ($arr[$name], $key, $def, $mask);
C:\xampp\htdocs\mambo\administrator\popups\uploadimage.php (2 hits)
Line 18: $directory = mosGetParam( $_REQUEST, 'directory', '');
Line 82: $css = mosGetParam($_REQUEST,"t","");
C:\xampp\htdocs\mambo\administrator\templates\mambo_admin\index.php (1 hits)
Line 61: <?php if (!mosGetParam( $_REQUEST, 'hidemainmenu', 0 )) { ?>
C:\xampp\htdocs\mambo\administrator\templates\mambo_admin_blue\index.php (1 hits)
Line 61: <?php if (!mosGetParam( $_REQUEST, 'hidemainmenu', 0 )) { ?>
C:\xampp\htdocs\mambo\CHANGELOG.php (1 hits)
Line 1276: # Updating mosGetParam to utilize addslashes for added security
C:\xampp\htdocs\mambo\components\com_banners\banners.php (2 hits)
Line 19: $bid = intval( mosGetParam( $_REQUEST, 'bid', 0 ) );
Line 21: $task = mosGetParam( $_REQUEST, "task", "" );
C:\xampp\htdocs\mambo\components\com_contact\contact.html.php (1 hits)
Line 251: $hide_js = mosGetParam($_REQUEST,'hide_js', 0 );
C:\xampp\htdocs\mambo\components\com_contact\contact.php (11 hits)
Line 29: $this->op = mosGetParam($_REQUEST, 'op', '');
Line 30: $this->con_id = mosGetParam( $_REQUEST ,'con_id', 0 );
Line 31: $this->contact_id = mosGetParam( $_REQUEST ,'contact_id', 0 );
Line 32: $this->catid = mosGetParam( $_REQUEST ,'catid', 0 );
Line 46: $spamstop = mosGetParam( $_POST, 'spamstop', '' );
Line 62: $email = mosGetParam( $_POST, 'email', '' );
Line 63: $text = mosGetParam( $_POST, 'text', '' );
Line 64: $name = mosGetParam( $_POST, 'name', '' );
Line 65: $subject = mosGetParam( $_POST, 'subject', $default );
Line 66: $email_copy = mosGetParam( $_POST, 'email_copy', 0 );
Line 259: $pop = mosGetParam( $_REQUEST, 'pop', 0 );
C:\xampp\htdocs\mambo\components\com_content\content.html.php (3 hits)
Line 426: $no_html = mosGetParam( $_REQUEST, 'no_html', null);
Line 819: $task = mosGetParam( $_REQUEST, 'task', '' );
Line 868: $Returnid = intval( mosGetParam( $_REQUEST, 'Returnid', $Itemid ) );
C:\xampp\htdocs\mambo\components\com_content\content.php (27 hits)
Line 16: $id = intval( mosGetParam( $_REQUEST, 'id', 0 ) );
Line 17: $sectionid = intval( mosGetParam( $_REQUEST, 'sectionid', 0 ) );
Line 18: $pop = intval( mosGetParam( $_REQUEST, 'pop', 0 ) );
Line 19: $task = trim( mosGetParam( $_REQUEST, 'task', '' ) );
Line 20: $limit = intval( mosGetParam( $_REQUEST, 'limit', '' ) );
Line 21: $limitstart = intval( mosGetParam( $_REQUEST, 'limitstart', 0 ) );
Line 119: $keyref = mosGetParam( $_REQUEST, 'keyref', '' );
Line 275: $selected = mosGetParam( $_POST, 'order', '' );
Line 374: if ($filter = mosGetParam($_POST, 'filter', '')) {
Line 585: $year = mosGetParam( $_REQUEST, 'year', date( 'Y' ) );
Line 586: $month = mosGetParam( $_REQUEST, 'month', date( 'm' ) );
Line 671: $year = mosGetParam( $_REQUEST, 'year', date( 'Y' ) );
Line 672: $month = mosGetParam( $_REQUEST, 'month', date( 'm' ) );
Line 673: $module = trim( mosGetParam( $_REQUEST, 'module', '' ) );
Line 778: $limitstart = intval( mosGetParam( $_REQUEST, 'limitstart', 0 ) );
Line 1166: $page = intval( mosGetParam( $_REQUEST, 'limitstart', 0 ) );
Line 1351: if ( mosGetParam( $_REQUEST, 'frontpage', 0 ) ) {
Line 1401: $Itemid = mosGetParam( $_POST, 'Returnid', '0' );
Line 1423: $Itemid = mosGetParam( $_POST, 'Returnid', '0' );
Line 1459: $email = trim( mosGetParam( $_POST, 'email', '' ) );
Line 1460: $yourname = trim( mosGetParam( $_POST, 'yourname', '' ) );
Line 1461: $youremail = trim( mosGetParam( $_POST, 'youremail', '' ) );
Line 1463: $subject = trim( mosGetParam( $_POST, 'subject', $subject_default ) );
Line 1466: $form_check = mosGetParam( $_POST, 'form_check', '' );
Line 1503: $user_rating = mosGetParam( $_REQUEST, 'user_rating', 0 );
Line 1504: $url = mosGetParam( $_REQUEST, 'url', '' );
Line 1505: $cid = mosGetParam( $_REQUEST, 'cid', 0 );
C:\xampp\htdocs\mambo\components\com_login\login.html.php (1 hits)
Line 19: $return = mosGetParam( $_SERVER, 'REQUEST_URI', null );
C:\xampp\htdocs\mambo\components\com_login\login.php (1 hits)
Line 19: $return = mosGetParam( $_SERVER, 'REQUEST_URI', null );
C:\xampp\htdocs\mambo\components\com_newsfeeds\newsfeeds.php (2 hits)
Line 16: $feedid = intval( mosGetParam( $_REQUEST ,'feedid', 0 ) );
Line 17: $catid = intval( mosGetParam( $_REQUEST ,'catid', 0 ) );
C:\xampp\htdocs\mambo\components\com_poll\poll.php (5 hits)
Line 29: $id = intval( mosGetParam( $_REQUEST, 'id', 0 ) );
Line 30: $task = mosGetParam( $_REQUEST, 'task', '' );
Line 49: $sessioncookie = mosGetParam( $_REQUEST, $sessionCookieName, '' );
Line 65: $voted = mosGetParam( $_COOKIE, $cookiename, '0' );
Line 73: $voteid = mosGetParam( $_POST, 'voteid', 0 );
C:\xampp\htdocs\mambo\components\com_registration\registration.html.php (4 hits)
Line 43: $name = trim( mosGetParam( $_REQUEST, 'name', "" ) );
Line 44: $username = trim( mosGetParam( $_REQUEST, 'username', "" ) );
Line 45: $email = trim( mosGetParam( $_REQUEST, 'email', "" ) );
Line 46: $useractivation = trim( mosGetParam( $_REQUEST, 'useractivation', "" ) );
C:\xampp\htdocs\mambo\components\com_registration\registration.php (9 hits)
Line 18: $task = mosGetParam( $_REQUEST, 'task', "" );
Line 62: $checkusername = trim( mosGetParam( $_POST, 'checkusername', '') );
Line 64: $confirmEmail = trim( mosGetParam( $_POST, 'confirmEmail', '') );
Line 125: $name = trim( mosGetParam( $_REQUEST, 'name', "" ) );
Line 126: $username = trim( mosGetParam( $_REQUEST, 'username', "" ) );
Line 127: $password = trim( mosGetParam( $_REQUEST, 'password', "" ) );
Line 128: $email = trim( mosGetParam( $_REQUEST, 'email', "" ) );
Line 129: $useractivation = trim( mosGetParam( $_REQUEST, 'useractivation', "" ) );
Line 277: $activation = mosGetParam( $_REQUEST, 'activation', '' );
C:\xampp\htdocs\mambo\components\com_rss\rss.php (2 hits)
Line 88: $info[ 'feed' ] = mosGetParam( $_GET, 'feed', 'RSS2.0' );
Line 257: $feed = mosGetParam ($_GET, 'feed', 'RSS2.0');
C:\xampp\htdocs\mambo\components\com_search\search.php (5 hits)
Line 52: $searchword = mosGetParam( $_REQUEST, 'searchword', '' );
Line 64: $ordering = mosGetParam( $_REQUEST, 'ordering', 'newest');
Line 69: $searchphrase = mosGetParam( $_REQUEST, 'searchphrase', 'any' );
Line 109: $phrase = mosGetParam( $_REQUEST, 'searchphrase', '' );
Line 111: $ordering = mosGetParam( $_REQUEST, 'ordering', '' );
C:\xampp\htdocs\mambo\components\com_user\user.php (2 hits)
Line 25: $task = mosGetParam( $_REQUEST, 'task' );
Line 112: $user_id = intval( mosGetParam( $_POST, 'id', 0 ));
C:\xampp\htdocs\mambo\components\com_weblinks\weblinks.html.php (1 hits)
Line 236: $Returnid = intval( mosGetParam( $_REQUEST, 'Returnid', 0 ) );
C:\xampp\htdocs\mambo\components\com_weblinks\weblinks.php (6 hits)
Line 23: $task = trim( mosGetParam( $_REQUEST, 'task', "" ) );
Line 24: $id = intval( mosGetParam( $_REQUEST, 'id', 0 ) );
Line 25: $catid = intval( mosGetParam( $_REQUEST, 'catid', 0 ) );
Line 229: $row->id = intval( mosGetParam( $_POST, 'id', 0 ) );
Line 231: $Itemid = mosGetParam( $_POST, 'Returnid', '' );
Line 291: $Itemid = mosGetParam( $_POST, 'Returnid', '' );
C:\xampp\htdocs\mambo\includes\authenticator.php (5 hits)
Line 40: $username = mosGetParam($_REQUEST, 'username', '');
Line 41: $passwd = mosGetParam($_REQUEST, 'passwd', '' );
Line 45: if ($remember === null) $remember = mosGetParam($_REQUEST, 'remember', '');
Line 161: $usrname = $database->getEscaped(mosGetParam($_POST, 'usrname', ''));
Line 162: $pass = $database->getEscaped(mosGetParam($_POST, 'pass', ''));
C:\xampp\htdocs\mambo\includes\cmtclasses.php (9 hits)
Line 88: $mosmsg = mosGetParam($_REQUEST, 'mosmsg', '');
Line 313: $func = mosGetParam ($_REQUEST, $control_name, $default);
Line 385: $this->act = mosGetParam ($_REQUEST, 'act', $this->plugin_name);
Line 386: $this->task = mosGetParam($_REQUEST, 'task', 'list');
Line 389: $this->limit = intval( mosGetParam( $_REQUEST, 'limit', $default_limit ) );
Line 390: $this->limitstart = mosGetParam($_REQUEST, 'limitstart', 0 );
Line 391: $this->cfid = mosGetParam($_REQUEST, 'cfid', array(0));
Line 393: $this->order= mosGetParam($_REQUEST, 'order', array());
Line 715: $tp = mosGetParam( $_GET, 'tp', 0 );
C:\xampp\htdocs\mambo\includes\core.classes.php (22 hits)
Line 234: $this->Itemid = mosGetParam($_REQUEST, 'Itemid', 0);
Line 424: $this->mosConfig_locale = mosGetParam($_REQUEST, 'lang', $this->mosConfig_locale);
Line 485: $this->Itemid = mosGetParam($_REQUEST, 'Itemid', 0);
Line 486: if ($option = strtolower(mosGetParam($_REQUEST, 'option')));
Line 508: $this->Itemid = $handler->getItemid(mosGetParam($_REQUEST, 'id', 0 ));
Line 556: if (mosGetParam( $_POST, 'message', 0 )) {
Line 565: if ($return = mosGetParam( $_REQUEST, 'return', '' )) {
Line 621: $useragent = mosGetParam( $_SERVER, 'HTTP_USER_AGENT', '' );
Line 622: $canZip = mosGetParam( $_SERVER, 'HTTP_ACCEPT_ENCODING', '' );
Line 2050: $this->id = mosGetParam( $_SESSION, 'session_user_id', 0 );
Line 2051: $this->username = mosGetParam( $_SESSION, 'session_username', '' );
Line 2052: $this->usertype = mosGetParam( $_SESSION, 'session_usertype', '' );
Line 2053: $this->gid = mosGetParam( $_SESSION, 'session_gid', 0 );
Line 2054: $this->grp = mosGetParam( $_SESSION, 'session_grp', 0);
Line 2349: return is_array($this->_userstate) ? mosGetParam($this->_userstate, $var_name, null) : null;
Line 2416: $mos_user_template = mosGetParam( $_COOKIE, 'mos_user_template', '' );
Line 2417: $mos_change_template = mosGetParam( $_REQUEST, 'mos_change_template', $mos_user_template );
Line 2516: if (mosGetParam( $_COOKIE, 'mosvisitor', 0 )) return;
Line 2715: $session_id = mosGetParam( $_SESSION, 'session_id', '' );
Line 2716: $logintime = mosGetParam( $_SESSION, 'session_logintime', '' );
Line 2738: $sessioncookie = mosGetParam($_COOKIE, $sessionCookieName, null);
Line 2739: $usercookie = mosGetParam($_COOKIE, 'usercookie', null);
C:\xampp\htdocs\mambo\includes\pdf.php (1 hits)
Line 24: $id = intval( mosGetParam( $_REQUEST, 'id', 1 ) );
C:\xampp\htdocs\mambo\includes\sef.php (1 hits)
Line 305: if (mosGetParam($_GET, 'syndstyle', '') == 'yes') $string .= '&syndstyle=yes';
C:\xampp\htdocs\mambo\index.php (18 hits)
Line 66: * <code>$task = mosGetParam ($_GET,"task","view");</code>
Line 71: * <code>$task = mosGetParam ($_GET,"task","view",_MOS_NOTRIM+_MOS_ALLOWHTML);</code>
Line 80: function mosGetParam( &$arr, $name, $def=null, $mask=0 ) {
Line 82: if (is_array($arr[$name])) foreach ($arr[$name] as $key=>$element) $result[$key] = mosGetParam ($arr[$name], $key, $def, $mask);
Line 210: $type = mosGetParam($_REQUEST, 'type', 1);
Line 211: $act = mosGetParam( $_REQUEST, 'act', '' );
Line 212: $do_pdf = mosGetParam( $_REQUEST, 'do_pdf', 0 );
Line 213: $id = mosGetParam( $_REQUEST, 'id', 0 );
Line 214: $task = mosGetParam($_REQUEST, 'task', '');
Line 215: $act = strtolower(mosGetParam($_REQUEST, 'act', ''));
Line 216: $section = mosGetParam($_REQUEST, 'section', '');
Line 217: $no_html = strtolower(mosGetParam($_REQUEST, 'no_html', ''));
Line 218: $cid = (array) mosGetParam( $_POST, 'cid', array() );
Line 244: $option = strtolower(mosGetParam($_REQUEST,'option','com_admin'));
Line 276: else $admin_mode = mosGetParam($_SESSION, 'simple_editing', '');
Line 277: $_SESSION['simple_editing'] = mosGetParam($_POST, 'simple_editing', $admin_mode);
Line 303: $pop = mosGetParam($_REQUEST, 'pop', '');
Line 382: if (mosGetParam($_GET, 'syndstyle', '') == 'yes') mosMainBody();
C:\xampp\htdocs\mambo\installation\common.php (1 hits)
Line 51: function mosGetParam( &$arr, $name, $def=null, $mask=1 ) {
C:\xampp\htdocs\mambo\installation\index.php (1 hits)
Line 28: $lang = trim( mosGetParam( $_POST, 'lang', '' ) );
C:\xampp\htdocs\mambo\installation\install2.php (12 hits)
Line 29: //$DBverifypassword = mosGetParam( $_POST, 'DBverifypassword', '' );
Line 37: $DBhostname = mosGetParam( $_POST, 'DBhostname', '' );
Line 38: $DBuserName = mosGetParam( $_POST, 'DBuserName', '' );
Line 39: $DBpassword = mosGetParam( $_POST, 'DBpassword', '' );
Line 40: $DBverifypassword = mosGetParam( $_POST, 'DBverifypassword', '' );
Line 41: $DBname = mosGetParam( $_POST, 'DBname', '' );
Line 42: $DBPrefix = mosGetParam( $_POST, 'DBPrefix', '' );
Line 44: $DBDel = intval( mosGetParam( $_POST, 'DBDel', 0 ) );
Line 45: $DBBackup = intval( mosGetParam( $_POST, 'DBBackup', 0 ) );
Line 46: $DBSample = intval( mosGetParam( $_POST, 'DBSample', 0 ) );*/
Line 47: $DBcreated = intval( mosGetParam( $_POST, 'DBcreated', 0 ) );
Line 49: $configArray['sitename'] = trim( mosGetParam( $_POST, 'sitename', '' ) );
C:\xampp\htdocs\mambo\installation\install3.php (12 hits)
Line 25: //$DBverifypassword = mosGetParam( $_POST, 'DBverifypassword', '' );
Line 33: $DBhostname = mosGetParam( $_POST, 'DBhostname', '' );
Line 34: $DBuserName = mosGetParam( $_POST, 'DBuserName', '' );
Line 35: $DBpassword = mosGetParam( $_POST, 'DBpassword', '' );
Line 36: $DBname = mosGetParam( $_POST, 'DBname', '' );
Line 37: $DBPrefix = mosGetParam( $_POST, 'DBPrefix', '' );
Line 39: $sitename = mosGetParam( $_POST, 'sitename', '' );
Line 40: $adminEmail = mosGetParam( $_POST, 'adminEmail', '');
Line 41: $filePerms = mosGetParam( $_POST, 'filePerms', '');
Line 42: $dirPerms = mosGetParam( $_POST, 'dirPerms', '');
Line 43: $configArray['siteUrl'] = trim( mosGetParam( $_POST, 'siteUrl', '' ) );
Line 44: $configArray['absolutePath'] = trim( mosGetParam( $_POST, 'absolutePath', '' ) );
C:\xampp\htdocs\mambo\installation\install4.php (31 hits)
Line 27: //$DBverifypassword = mosGetParam( $_POST, 'DBverifypassword', '' );
Line 35: DBhostname = mosGetParam( $_POST, 'DBhostname', '' );
Line 36: $DBuserName = mosGetParam( $_POST, 'DBuserName', '' );
Line 37: $DBpassword = mosGetParam( $_POST, 'DBpassword', '' );
Line 38: $DBname = mosGetParam( $_POST, 'DBname', '' );
Line 39: $DBPrefix = mosGetParam( $_POST, 'DBPrefix', '' );
Line 41: $sitename = mosGetParam( $_POST, 'sitename', '' );
Line 42: $adminEmail = mosGetParam( $_POST, 'adminEmail', '');
Line 43: $siteUrl = mosGetParam( $_POST, 'siteUrl', '' );
Line 44: $absolutePath = mosGetParam( $_POST, 'absolutePath', '' );
Line 45: $adminPassword = mosGetParam( $_POST, 'adminPassword', '');
Line 48: if (mosGetParam($_POST,'filePermsMode',0))
Line 50: (mosGetParam($_POST,'filePermsUserRead',0) * 4 +
Line 51: mosGetParam($_POST,'filePermsUserWrite',0) * 2 +
Line 52: mosGetParam($_POST,'filePermsUserExecute',0)).
Line 53: (mosGetParam($_POST,'filePermsGroupRead',0) * 4 +
Line 54: mosGetParam($_POST,'filePermsGroupWrite',0) * 2 +
Line 55: mosGetParam($_POST,'filePermsGroupExecute',0)).
Line 56: (mosGetParam($_POST,'filePermsWorldRead',0) * 4 +
Line 57: mosGetParam($_POST,'filePermsWorldWrite',0) * 2 +
Line 58: mosGetParam($_POST,'filePermsWorldExecute',0));
Line 61: if (mosGetParam($_POST,'dirPermsMode',0))
Line 63: (mosGetParam($_POST,'dirPermsUserRead',0) * 4 +
Line 64: mosGetParam($_POST,'dirPermsUserWrite',0) * 2 +
Line 65: mosGetParam($_POST,'dirPermsUserSearch',0)).
Line 66: (mosGetParam($_POST,'dirPermsGroupRead',0) * 4 +
Line 67: mosGetParam($_POST,'dirPermsGroupWrite',0) * 2 +
Line 68: mosGetParam($_POST,'dirPermsGroupSearch',0)).
Line 69: (mosGetParam($_POST,'dirPermsWorldRead',0) * 4 +
Line 70: mosGetParam($_POST,'dirPermsWorldWrite',0) * 2 +
Line 71: mosGetParam($_POST,'dirPermsWorldSearch',0));
C:\xampp\htdocs\mambo\installation\survey.php (6 hits)
Line 26: $name = mosGetParam( $_POST, 'name', '' );
Line 27: $email = mosGetParam( $_POST, 'email', '' );
Line 28: $company = mosGetParam( $_POST, 'company', '' );
Line 29: $category = mosGetParam( $_POST, 'category', '' );
Line 30: $teammambo = mosGetParam( $_POST, 'teammambo', '' );
Line 31: $comments = mosGetParam( $_POST, 'comments', '' );
@hemiolos
Das sind alle Aufrufe der Funktion dabei werden alle möglichen Dinge übergeben.
Danke nochmal an alle, ihr habt mir sehr geholfen!
Gruß S.Brosch
Beitrag zuletzt geändert: 22.8.2011 9:14:04 von software-brosch -
software-brosch schrieb:
Hallo software-brosch,
...
Der erste Übergabeparameter ist aber schon ein Adressoperator oder etwa nicht?
...
wenn man es nicht so genau nimmt, dann kann man die Frage mit 'ja' beantworten.
Dieses '&' ist eigentlich kein Adressoperator, da Du damit ja nicht an die Speicheradresse der Variable kommst. Es entspricht eigentlich dem Referenz-Operator in C++:
http://php.net/manual/en/language.references.pass.php
D.h. dass eigentlich nicht der Wert der Variable sondern nur ein Zeiger darauf übergeben wird. Aber an den Zeiger kommt man nicht ran, weshalb man es 'Referenz' und nicht mehr 'Zeiger' oder 'Adresse' nennt.
Beitrag zuletzt geändert: 22.8.2011 12:47:35 von darkpandemic -
Diskutiere mit und stelle Fragen: Jetzt kostenlos anmelden!
lima-city: Gratis werbefreier Webspace für deine eigene Homepage