View Single Post
Old 01-12-2004, 02:45 AM   #8
MonoNexo
Green Mole
 
Join Date: Jan 2004
Posts: 15
Nothing out of the ordinary. Perhaps I inserted it wrong into search.php?

PHP Code:
<?php
/*
--------------------------------------------------------------------------------
PhpDig Version 1.6.x
This program is provided under the GNU/GPL license.
See the LICENSE file for more information.
All contributors are listed in the CREDITS file provided with this package.
PhpDig Website : [url]http://www.phpdig.net/[/url]
--------------------------------------------------------------------------------
*/
$relative_script_path '.';

include 
"$relative_script_path/includes/config.php";
include 
"$relative_script_path/admin/debug_functions.php";
include 
"$relative_script_path/libs/search_function.php";

// extract vars
extract(phpdigHttpVars(
     array(
'query_string'=>'string',
           
'template_demo'=>'string',
           
'refine'=>'integer',
           
'refine_url'=>'string',
           
'site'=>'integer',
           
'limite'=>'integer',
           
'option'=>'string',
           
'search'=>'string',
           
'lim_start'=>'integer',
           
'browse'=>'integer',
           
'path'=>'string'
           
)
     ));
phpdigSearch($id_connect$query_string$option$refine,
              
$refine_url$lim_start$limite$browse,
              
$site$path$relative_script_path$template);
$my_test_array phpdigSearch($id_connect$query_string$option$refine
$refine_url$lim_start$limite$browse
$site$path$relative_script_path'array'); 
print_r($my_test_array);
?>
MonoNexo is offline   Reply With Quote