Hallo!
Ich würde gern eine FAQ Site in PHP machen welche mir einfach nur ein
QuickSearch macht.
Hier mal ein auszug meiner php-site
<?php
/**
*
*/
echo "<html>
<head>
<title>Prototyp: FAQ</titel>
</head>";
echo "<body>";
echo "<h1>FAQ</h1>";
if (!isset($_REQUEST['submit'])) {
echo "<form action='$PHP_SELF' method='post'>";
echo "<table style='width: 280px; margin-top: 10px;'>
<tr>
<td width='80px'>What:</td>
<td><input type='text' name='what' /></td>
</tr>
<tr>
<td colspan=2 style='text-align: center;'>
<input type='submit' name='submit' value='send'>
</td>
</tr>
</table>";
echo "</form>";
} else {
$str = "http://myserver.com/otrs/public.pl?Action=PublicFAQ&Subaction=Search&Submit=yes&QuickSearch=1&CategoryIDs=0&What=
".$_REQUEST['what']."\n";
echo $str;
exec($str, $output);
foreach ($output as $value) {
echo $value + "\n";
}
echo "<a href='$PHP_SELF'>zurück</a>";
}
echo "</body>
</html>";
?>
Kann mir da mal wer weiterhelfen. Ich bekomme einfach keinen Output.
Lg
Andreas
_______________________________________________
OTRS-de Mailingliste: otrs-de - Webpage: http://otrs.org/
Archiv: http://lists.otrs.org/pipermail/otrs-de/
Listenabo verwalten: http://lists.otrs.org/cgi-bin/listinfo/otrs-de/
Support oder Consulting fuer Ihr OTRS System?
=> http://www.otrs.com/