cvs: phpweb / ws.php

From: Date: Wed, 28 Feb 2007 14:28:55 +0000
Subject: cvs: phpweb / ws.php
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-34499@lists.php.net to get a copy of this message
rasmus Wed Feb 28 14:28:55 2007 UTC Modified files: /phpweb ws.php Log: Fix search http://cvs.php.net/viewvc.cgi/phpweb/ws.php?r1=1.7&r2=1.8&diff_format=u Index: phpweb/ws.php diff -u phpweb/ws.php:1.7 phpweb/ws.php:1.8 --- phpweb/ws.php:1.7 Sun Mar 5 07:16:20 2006 +++ phpweb/ws.php Wed Feb 28 14:28:55 2007 @@ -3,7 +3,7 @@ include '/local/Web/ws.conf'; apc_store('ws_config',$conf); } -$raw = input_get(INPUT_GET, 'q', FILTER_UNSAFE_RAW); +$raw = filter_input(INPUT_GET, 'q', FILTER_UNSAFE_RAW); $q = urlencode($raw); $r = isset($_REQUEST['results']) ? (int)$_REQUEST['results'] : 10; $s = isset($_REQUEST['start']) ? (int)$_REQUEST['start'] : 1;

« previous php.mirrors (#34499) next »