View Single Post
  #3 (permalink)  
Old 12-12-2002, 07:18 PM
Martin Martin is offline
Senior Member
 
Join Date: Oct 2002
Location: Alabama, USA
Posts: 619
I have been looking for about 2 hours and I tried several different things but nothing changed. Here is the code for the submit buttons, can you tell anything just by these?
Code:
		$line = str_replace("<FORM METHOD=GET ACTION=\"search\">",
			"<form method=get action=\"$opendir_url\"><input type=hidden name=\"name\" value=\"$name\"><input type=hidden name=\"file\" value=\"$file\"><input type=hidden name=\"op\" value=\"modload\">", $line);

		$line = str_replace("<form method=get action=\"http://search.dmoz.org/cgi-bin/search\">",
			"<form method=get action=\"$opendir_url\"><input type=hidden name=\"name\" value=\"$name\"><input type=hidden name=\"file\" value=\"$file\"><input type=hidden name=\"op\" value=\"modload\">", $line);
this might also be helpful:
Code:
$opendir_title = "opendir";
$opendir_url = "$PHP_SELF?name=$name&file=$file&op=modload&";
Reply With Quote