View Single Post
Old 12-08-2003, 01:00 PM   #2
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
Hi. In search_function.php of PhpDig 1.6.5 just add in those characters that you want to allow into the following line:
PHP Code:
$what_query_chars "[^".$phpdig_words_chars[PHPDIG_ENCODING]." -]+"
Remember to escape 'special' characters. For example, if you want to allow the _ character in searches, then change the above line to the following:
PHP Code:
$what_query_chars "[^".$phpdig_words_chars[PHPDIG_ENCODING]." \\_-]+"
__________________
Responses are offered on a voluntary if/as time is available basis, no guarantees. Double posting or bumping threads will not get your question answered any faster. No support via PM or email, responses not guaranteed. Thank you for your comprehension.
Charter is offline   Reply With Quote