add_search.php
changeset 4 2c829de4b83c
parent 3 ad69d332e9dc
child 8 6df283b800af
equal deleted inserted replaced
3:ad69d332e9dc 4:2c829de4b83c
    49 		
    49 		
    50 		// construct message string
    50 		// construct message string
    51 		$message = "#" . $currID . "#" . $reqID . "#" . $search_term;
    51 		$message = "#" . $currID . "#" . $reqID . "#" . $search_term;
    52 		
    52 		
    53 		$host="localhost";
    53 		$host="localhost";
    54 		$port = 8080;
    54 		$port = 9090;
    55 		$timeout = 30;
    55 		$timeout = 30;
    56 	
    56 	
    57 		$sk=fsockopen($host,$port,$errnum,$errstr,$timeout);
    57 		$sk=fsockopen($host,$port,$errnum,$errstr,$timeout);
    58 		  
    58 		  
    59 		if (!is_resource($sk)) 
    59 		if (!is_resource($sk))