[geeklog-cvs] geeklog-1.3/public_html profiles.php,1.31,1.32
dhaun at iowaoutdoors.org
dhaun at iowaoutdoors.org
Tue Jul 27 03:31:56 EDT 2004
Update of /var/cvs/geeklog-1.3/public_html
In directory www:/tmp/cvs-serv9758/public_html
Modified Files:
profiles.php
Log Message:
Added parameter filtering for $what
Index: profiles.php
===================================================================
RCS file: /var/cvs/geeklog-1.3/public_html/profiles.php,v
retrieving revision 1.31
retrieving revision 1.32
diff -C2 -d -r1.31 -r1.32
*** profiles.php 10 Jun 2004 13:34:41 -0000 1.31
--- profiles.php 27 Jul 2004 07:31:54 -0000 1.32
***************
*** 329,334 ****
}
! ###############################################################################
! # MAIN
switch ($what) {
case 'contact':
--- 329,339 ----
}
!
! // MAIN
! if (isset ($HTTP_POST_VARS['what'])) {
! $what = COM_applyFilter ($HTTP_POST_VARS['what']);
! } else {
! $what = COM_applyFilter ($HTTP_GET_VARS['what']);
! }
switch ($what) {
case 'contact':
***************
*** 342,345 ****
--- 347,351 ----
}
break;
+
case 'emailstory':
$sid = COM_applyFilter ($HTTP_GET_VARS['sid']);
***************
*** 353,356 ****
--- 359,363 ----
}
break;
+
case 'sendstory':
$sid = COM_applyFilter ($HTTP_POST_VARS['sid']);
***************
*** 363,366 ****
--- 370,374 ----
}
break;
+
default:
$uid = COM_applyFilter ($HTTP_GET_VARS['uid'], true);
More information about the geeklog-cvs
mailing list